|
BNO08x Driver
API reference
|
Enumerations, value containers, and callback types. More...
Classes | |
| struct | Vector3 |
| Three-axis vector with sensor accuracy indicator. More... | |
| struct | Quaternion |
| Unit quaternion with sensor accuracy indicator. More... | |
| struct | TapEvent |
| Tap detector event details. More... | |
| struct | RawVector3 |
| Raw integer 3-axis sample (ADC counts) with optional metadata. More... | |
| struct | ActivityClassifierEvent |
| Personal activity classifier payload. More... | |
| struct | RawOpticalFlowEvent |
| Raw optical flow payload from SH2_RAW_OPTICAL_FLOW. More... | |
| struct | DeadReckoningPoseEvent |
| Dead reckoning position/orientation/velocity payload. More... | |
| struct | WheelEncoderEvent |
| Wheel encoder payload. More... | |
| struct | SensorEvent |
| Container for a single decoded SH-2 sensor report. More... | |
| struct | RvcSensorEvent |
| Raw RVC frame data in integer fixed-point format. More... | |
| struct | RvcSensorValue |
| Decoded RVC frame data in floating-point natural units. More... | |
| struct | DfuProgress |
| Progress sample emitted during DFU transfers. More... | |
| struct | DfuOptions |
| Controls DFU validation and transfer behavior. More... | |
| struct | DfuMemoryImage |
| Firmware image descriptor for class-aware memory DFU. More... | |
Typedefs | |
| using | SensorCallback = std::function< void(const SensorEvent &)> |
| Callback invoked when a new SH-2 sensor event is received. | |
| using | RvcCallback = std::function< void(const RvcSensorValue &)> |
| Callback invoked when a decoded RVC frame is available. | |
| using | DfuProgressCallback = std::function< void(const DfuProgress &)> |
| Callback for DFU progress updates. | |
Enumerations, value containers, and callback types.
| using DfuProgressCallback = std::function<void(const DfuProgress&)> |
Callback for DFU progress updates.
| using RvcCallback = std::function<void(const RvcSensorValue&)> |
Callback invoked when a decoded RVC frame is available.
| using SensorCallback = std::function<void(const SensorEvent&)> |
Callback invoked when a new SH-2 sensor event is received.
|
strong |
Current top-level operating state of the driver.
The class is a monolith but enforces mode-safe operations via this state:
Closed : no active session.Sh2Active : SH-2 protocol session is open.RvcActive : RVC UART parser is active.DfuInProgress : DFU transfer is running. | Enumerator | |
|---|---|
| Closed | |
| Sh2Active | |
| RvcActive | |
| DfuInProgress | |
|
strong |
Identifiers for all SH-2 sensor reports supported by the BNO08x.
Pass these to EnableSensor() / DisableSensor() / HasNewData() / GetLatest(). Values correspond to the SH-2 sensor ID bytes defined in the CEVA datasheet.