esp32_BNO08x/include/report/BNO08xRptGameRV.hpp

20 lines
533 B
C++

#pragma once
#include "BNO08xRptRVGeneric.hpp"
/**
* @brief Class to represent game rotation vector reports. (See Ref. Manual 6.5.19)
*/
class BNO08xRptGameRV : public BNO08xRptRVGeneric
{
public:
BNO08xRptGameRV(BNO08x* imu, uint8_t report_ID, uint32_t period_us, uint32_t rpt_bit)
: BNO08xRptRVGeneric(imu, report_ID, period_us, rpt_bit)
{
}
private:
void update_data(sh2_SensorValue_t* sensor_val) override;
static const constexpr char* TAG = "BNO08xRptGameRV";
};