AY

 

The AY function returns the cumulative rotation angle on the y-axis for one marker’s InertiaMarker or the cumulative rotation angle on the y-axis for two markers.

 

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

: z-direction unit vector of Marker1

: x-direction unit vector of Marker2

: z-direction unit vector of Marker2

 

 

Here, ThetaY is utilized to calculate the cumulative rotation angle on the y-axis for two markers.

 

If y-axis for two markers is deviated, ThetaY becomes inaccurate result.

 

Example

AY (body1.Marker1)

AY (body1.Marker1, body2.Marker2)

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