AttitudeReading Structure
July 26, 2012
Contains information about the orientation of the device in space.
Assembly: Microsoft.Devices.Sensors (in Microsoft.Devices.Sensors.dll)
The AttitudeReading type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Pitch | Gets the pitch of the attitude reading in radians. |
![]() | Quaternion | Gets the quaternion representation of the attitude reading. |
![]() | Roll | Gets the roll of the attitude reading in radians. |
![]() | RotationMatrix | Gets the matrix representation of the attitude reading. |
![]() | Timestamp | Gets a timestamp indicating the time at which the accelerometer reading was taken. This can be used to correlate readings across sensors and provide additional input to algorithms that process raw sensor data. |
![]() | Yaw | Gets the yaw of the attitude reading in radians. |
To obtain an AttitudeReading object, create a Motion object and call Start. Then use the Attitude property or implement a handler for the CurrentValueChanged event.
