23 bool tare(
bool x =
true,
bool y =
true,
bool z =
true);
28 void update_data(sh2_SensorValue_t* sensor_val)
override;
29 static const constexpr char*
TAG =
"BNO08xRptGameRV";
Class to represent game rotation vector reports. (See Ref. Manual 6.5.19)
Definition BNO08xRptGameRV.hpp:16
static const constexpr char * TAG
Definition BNO08xRptGameRV.hpp:29
BNO08xRptGameRV(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx)
Definition BNO08xRptGameRV.hpp:18
bool tare(bool x=true, bool y=true, bool z=true)
Tares game rotation vector axis.
Definition BNO08xRptGameRV.cpp:35
void update_data(sh2_SensorValue_t *sensor_val) override
Updates game rotation vector data from decoded sensor event.
Definition BNO08xRptGameRV.cpp:15
void tare_clear()
Clears most recent tare operation.
Definition BNO08xRptGameRV.cpp:65
bool tare_persist()
Saves most recent tare operation to BNO08x internal flash, such that it persists on reset.
Definition BNO08xRptGameRV.cpp:46
BNO08xPrivateTypes::bno08x_sync_ctx_t * sync_ctx
Definition BNO08xRpt.hpp:42
uint8_t ID
Report ID, ex. SH2_ACCELERATION.
Definition BNO08xRpt.hpp:39
EventBits_t rpt_bit
Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data.
Definition BNO08xRpt.hpp:40
Class to represent rotation vector reports.
Definition BNO08xRptRVGeneric.hpp:16
Holds context used to synchronize tasks and callback execution.
Definition BNO08xPrivateTypes.hpp:57