Class AttitudeSensorResult
- Namespace
- easyar
Attitude sensor readings. The positive direction of the x-axis points from the center of the device to the right part of the screen. The positive direction of the y-axis points from the center of the device to the upper part of the screen. The positive direction of the z-axis points vertically outward from the center of the device from the screen. The device is rotated around the axis (x, y, z) by an angle θ. The unit rotation quaternion is (cos(θ/2), xsin(θ/2), ysin(θ/2), zsin(θ/2)). (v0, v1, v2, v3) = (cos(θ/2), xsin(θ/2), ysin(θ/2), zsin(θ/2)). The reference coordinate system is defined as a set of oriented orthonormal bases, where
Z points to the sky and is parallel to the ground.
(X, Y, Z) form a right-handed system.
timestamp is in seconds.
Record AttitudeSensorResult
AttitudeSensorResult
Properties
v0
float v0
float v0
public float v0
public Float v0
@property (nonatomic) float v0
public var v0: Float
public float v0
v1
float v1
float v1
public float v1
public Float v1
@property (nonatomic) float v1
public var v1: Float
public float v1
v2
float v2
float v2
public float v2
public Float v2
@property (nonatomic) float v2
public var v2: Float
public float v2
v3
float v3
float v3
public float v3
public Float v3
@property (nonatomic) float v3
public var v3: Float
public float v3