Class BNO08x

Class Documentation

class BNO08x

Class that stores state and functions for interacting with the BNO08x 9-DOF Orientation IMU Fusion Breakout.

Public Functions

BNO08x(CommInterface *comm, std::function<void(void*, sh2_SensorValue_t*)> sensor_callback, void *cookie)
~BNO08x()
bool begin(int32_t sensor_id = 0)
void hardware_reset(void)
bool was_reset(void)
bool enable_report(sh2_SensorId_t sensor, uint32_t interval_us = 10000)
void poll(void)

Public Members

sh2_ProductIds_t prodIds

The product IDs returned by the sensor.

Protected Functions

bool init(int32_t sensor_id)

Protected Attributes

sh2_Hal_t HAL_