Implementation of the BNO085 9-axis motion processor. More...
#include <BNO085.h>
Inherits I2C::Device.
Classes | |
| struct | Euler |
| Euler angles. More... | |
| struct | GIRV |
| high-speed Gyro-Integrated Rotation Vector includes estimation of rotation velocities More... | |
| struct | Message |
| SHTP Message. More... | |
| struct | Quaternion |
| Quaternion of pose. More... | |
| struct | Rotation |
| Rotation about axes, in given Unit/s. More... | |
Public Types | |
| enum | ADDR { DEFAULT = 0b1001010 , ALT = 0b1001011 } |
| possible I2C addresses More... | |
| enum | Unit : uint8_t { RADIANS , DEGREES , NONE } |
| Enum for defining wanted Units of angles. More... | |
Public Member Functions | |
| uint8_t | sendMessage (const Message &msg) |
| simple fire & forget message sending returns the sequence of sent message | |
| void | callback (const I2C::Request &rq) override |
| callback. | |
| void | poll (uint32_t, uint32_t) |
| call this regularly to make sure we receive messages from the device when it wants to send them | |
| void | enableRotVec (uint32_t Hz=400) |
| enable high-accuracy rotation vector at given frequency | |
| void | disableRotVec () |
| disable high-accuracy rotation vector | |
| void | enableGIRV (uint32_t Hz=500) |
| enable high-speed GIRV at given frequency | |
| void | disableGIRV () |
| disable high-speed GIRV | |
| void | restart () |
| restart the device | |
| double | accuracy (Unit u=RADIANS) |
| return approximated accuracy in given Unit | |
Public Attributes | |
| Quaternion | rotvec |
| high-accuracy 9-axis sensor-fused rotation vector | |
| GIRV | girv |
| high-speed Gyro-Integrated Rotation Vector, includes estimation of rotation velocities | |
| const uint8_t | address |
| unshifted 7bit I2C device address | |
Implementation of the BNO085 9-axis motion processor.
for details, see
TODO: calibration?
| struct BNO085::GIRV |
high-speed Gyro-Integrated Rotation Vector includes estimation of rotation velocities
| Class Members | ||
|---|---|---|
| Quaternion | pose | estimation of pose |
| Rotation | rot | estimation of rotation velocities |
| enum BNO085::ADDR |
| enum BNO085::Unit : uint8_t |
|
inlineoverridevirtual |
return approximated accuracy in given Unit
is only active if enableRotVec was called