Adafruit driver converted to Mbed OS 6.x.

Dependents:   Adafruit-BNO055-test

Embed: (wiki syntax)

« Back to documentation index

sensors_vec_t Struct Reference

sensors_vec_t Struct Reference

struct sensors_vec_s is used to return a vector in a common format. More...

#include <Adafruit_Sensor.h>


Detailed Description

struct sensors_vec_s is used to return a vector in a common format.

Definition at line 59 of file Adafruit_Sensor.h.


Field Documentation

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°

Definition at line 71 of file Adafruit_Sensor.h.

float pitch

Rotation around the lateral axis (the wing span, 'Y axis').

Pitch is positive and increasing when moving upwards. -180°<=pitch<=180°)

Definition at line 70 of file Adafruit_Sensor.h.

float roll

Rotation around the longitudinal axis (the plane body, 'X axis').

Roll is positive and increasing when moving downward. -90°<=roll<=90°

Definition at line 69 of file Adafruit_Sensor.h.