Adafruit BNO08x RVC Library
Adafruit_BNO08x_RVC.h
Go to the documentation of this file.
1 
18 #ifndef _ADAFRUIT_BNO08x_RVC_H
19 #define _ADAFRUIT_BNO08x_RVC_H
20 
21 #define MILLI_G_TO_MS2 0.0098067
22 #define DEGREE_SCALE 0.01
23 
24 #include "Arduino.h"
25 
32 typedef struct BNO08xRVCData {
33  float yaw,
34  pitch,
35  roll;
36  float x_accel,
37  y_accel,
38  z_accel;
39 
41 
48 public:
51 
52  bool begin(Stream *theStream);
53  bool read(BNO08x_RVC_Data *heading);
54 
55 private:
56  Stream *serial_dev;
57 };
58 
59 #endif
float x_accel
The X acceleration value in m/s^2.
Definition: Adafruit_BNO08x_RVC.h:36
float y_accel
The Y acceleration value in m/s^2.
Definition: Adafruit_BNO08x_RVC.h:36
float yaw
Yaw in Degrees.
Definition: Adafruit_BNO08x_RVC.h:33
struct BNO08xRVCData BNO08x_RVC_Data
Class that stores state and functions for interacting with the BNO08x_RVC A simple library to use the...
Class that stores state and functions for interacting with the BNO08x_RVC A simple library to use the...
Definition: Adafruit_BNO08x_RVC.h:32
float roll
Roll in Degrees.
Definition: Adafruit_BNO08x_RVC.h:33
A class to interact with the BNO08x sensors from Hillcrest Laboritories using the UART-RVC mode...
Definition: Adafruit_BNO08x_RVC.h:47
float z_accel
The Z acceleration value in m/s^2.
Definition: Adafruit_BNO08x_RVC.h:36
float pitch
Pitch in Degrees.
Definition: Adafruit_BNO08x_RVC.h:33