esp32_BNO08x 1.3
C++ BNO08x IMU driver component for esp-idf.
Loading...
Searching...
No Matches
BNO08xRptUncalGyro.hpp
Go to the documentation of this file.
1
6#pragma once
7
8#include "BNO08xRpt.hpp"
9
16{
17 public:
22
23 void get(bno08x_gyro_t& vel, bno08x_gyro_bias_t& bias);
26
27 private:
28 void update_data(sh2_SensorValue_t* sensor_val) override;
31 static const constexpr char* TAG = "BNO08xRptUncalGyro";
32};
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
Class to represent uncalibrated gyro reports. (See Ref. Manual 6.5.14)
Definition BNO08xRptUncalGyro.hpp:16
bno08x_gyro_bias_t get_bias()
Grabs most recent uncalibrated gyroscope bias data, units are in rad/s.
Definition BNO08xRptUncalGyro.cpp:61
bno08x_gyro_t get_vel()
Grabs most recent uncalibrated gyroscope velocity data, units are in rad/s.
Definition BNO08xRptUncalGyro.cpp:48
bno08x_gyro_bias_t bias_data
Definition BNO08xRptUncalGyro.hpp:30
BNO08xRptUncalGyro(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx)
Definition BNO08xRptUncalGyro.hpp:18
static const constexpr char * TAG
Definition BNO08xRptUncalGyro.hpp:31
bno08x_gyro_t data
Definition BNO08xRptUncalGyro.hpp:29
void update_data(sh2_SensorValue_t *sensor_val) override
Updates uncalibrated gyro data from decoded sensor event.
Definition BNO08xRptUncalGyro.cpp:15
void get(bno08x_gyro_t &vel, bno08x_gyro_bias_t &bias)
Grabs most recent uncalibrated gyroscope data, units are in rad/s.
Definition BNO08xRptUncalGyro.cpp:35
Holds context used to synchronize tasks and callback execution.
Definition BNO08xPrivateTypes.hpp:57
Struct to represent gyro bias data (units in rad/s)
Definition BNO08xGlobalTypes.hpp:389
Struct to represent gyro data (units in rad/s)
Definition BNO08xGlobalTypes.hpp:353