20-sim webhelp > Library > Iconic Diagrams > Mechanical > Translation > 3DSmallRotation > threedpositionsensor


threedpositionsensor

Navigation:  Library > Iconic Diagrams > Mechanical > Translation > 3DSmallRotation >

threedpositionsensor

Previous pageReturn to chapter overviewNext page

Library

Iconic Diagrams\Mechanical\Translation\3DSmallAngles

Use

Domains: Continuous. Size: 1-D/6D. Kind: Iconic Diagrams (Translation,Rotation).

Description

This model is used to find the positions of a 3D-body model. It has a port P which can be connected to the body and an output signal pos that denotes the positions (x,y,z,qx,qy,qz) of the body.

Interface

Ports

Description

P[3]

Port with 6 degrees of freedom.

Causality

 

fixed force out P

 

Output

 

Pos(6)

Absolute positions [m].

Initial Values

 

Pos_initial[6]

Initial positions [m]

 

Note

The sensor model yields an absolute position starting at 0. Set the initial values to yield a position starting at other values.
It is not possible in 20-sim to use vector elements with mixed units. Therefore element number 4 to 6 will be displayed with units [m] although it really is [rad]!