forked from adafruit/Adafruit_Sensor
Changed .azimuth/.pitch/.roll to .roll/.pitch./heading
This commit is contained in:
@ -72,9 +72,9 @@ typedef struct {
|
||||
};
|
||||
/* Orientation sensors */
|
||||
struct {
|
||||
float azimuth; /**< Angle between the magnetic north direction and the Y axis, around the Z axis (0<=azimuth<360). 0=North, 90=East, 180=South, 270=West */
|
||||
float pitch; /**< Rotation around X axis (-180<=pitch<=180), with positive values when the z-axis moves toward the y-axis. */
|
||||
float roll; /**< Rotation around Y axis (-90<=roll<=90), with positive values when the x-axis moves towards the z-axis. */
|
||||
float roll; /**< Rotation around the longitudinal axis (the plane body, 'X axis'). Roll is positive and increasing when moving downward. -90<39><=roll<=90<39> */
|
||||
float pitch; /**< Rotation around the lateral axis (the wing span, 'Y axis'). Pitch is positive and increasing when moving upwards. -180<38><=pitch<=180<38>) */
|
||||
float heading; /**< Angle between the longitudinal axis (the plane body) and magnetic north, measured clockwise when viewing from the top of the device. 0-359<35> */
|
||||
};
|
||||
};
|
||||
int8_t status;
|
||||
|
Reference in New Issue
Block a user