26 void update_data(sh2_SensorValue_t* sensor_val)
override;
28 static const constexpr char*
TAG =
"BNO08xRptCalGyro";
Class to represent calibrated gyro reports. (See Ref. Manual 6.5.13)
Definition BNO08xRptCalGyro.hpp:16
void update_data(sh2_SensorValue_t *sensor_val) override
Updates calibrated gyro data from decoded sensor event.
Definition BNO08xRptCalGyro.cpp:15
BNO08xRptCalGyro(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx)
Definition BNO08xRptCalGyro.hpp:18
static const constexpr char * TAG
Definition BNO08xRptCalGyro.hpp:28
bno08x_gyro_t get()
Grabs most recent gyroscope data (velocity), units are in rad/s.
Definition BNO08xRptCalGyro.cpp:31
bno08x_gyro_t data
Definition BNO08xRptCalGyro.hpp:27
Class to represent and manage reports returned from BNO08x.
Definition BNO08xRpt.hpp:24
BNO08xPrivateTypes::bno08x_sync_ctx_t * sync_ctx
Definition BNO08xRpt.hpp:39
uint8_t ID
Report ID, ex. SH2_ACCELERATION.
Definition BNO08xRpt.hpp:36
EventBits_t rpt_bit
Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data.
Definition BNO08xRpt.hpp:37
Holds context used to synchronize tasks and callback execution.
Definition BNO08xPrivateTypes.hpp:57
Struct to represent gyro data (units in rad/s)
Definition BNO08xGlobalTypes.hpp:353