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 Name | Type | Description |
---|---|---|
quaternion | float[] | 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 Name | Type | Description |
---|---|---|
quaternion | float[] | A [w,x,y,z] quaternion in ENU coordinates system |
getTime()
Type: public
[Long](https://developer.android.com/reference/java/lang/Long)
Returned Value: the attitude time
setTime(Long time)
Type: public
void
Parameter Name | Type | Description |
---|---|---|
time | Long | the attitude time |
getAccuracy()
Type: public
[Float](https://developer.android.com/reference/java/lang/Float)
Returned Value: the attitude accuracy
setAccuracy(Float accuracy)
Type: public
void
Parameter Name | Type | Description |
---|---|---|
accuracy | Float | the attitude accuracy |