ROLL

 

The ROLL function expression calculates the third angle (in radians) of a 3-2-1 Euler rotation sequence between Marker1 and Marker2.

 

Format

 

Arguments definition

Marker1

The name or argument number of a marker to be calculated.

Marker2

The name or argument number of a marker to be calculated.

    If omitted, then the InertiaMarker is applied.

 

Formulation

 

 

In line with the sequentially defined rotation order, return rotation angle φ on the x-axis, which is the third rotation.

 

Example

ROLL (body1.Marker1)

ROLL (body1.Marker1, body2.Marker2)

ROLL (1,2)   <Argument: (1)body1.Marker1, (2)body2.Marker2 >