Skip to main content

Attitude

Attitude

Type: public class

A class that defines attitude (rotation between a solid and the ENU coordinates system) For instance, attitude of the device.

Attitude(float[] quaternion)

Type: public

Parameter NameTypeDescription
quaternionfloat[]A [w,x,y,z] quaternion in ENU coordinates system

getQuaternion()

Type: public

Returned Value: A [w,x,y,z] quaternion in ENU coordinates system

setQuaternion(float[] quaternion)

Type: public void

Parameter NameTypeDescription
quaternionfloat[]A [w,x,y,z] quaternion in ENU coordinates system