diff --git a/SH2/sh2.c b/SH2/sh2.c index d2f00f0..f0522ef 100644 --- a/SH2/sh2.c +++ b/SH2/sh2.c @@ -1023,38 +1023,38 @@ const static struct { sh2_SensorId_t sensorId; uint16_t recordId; } sensorToRecordMap[] = { - { SH2_RAW_ACCELEROMETER, FRS_ID_META_RAW_ACCELEROMETER }, - { SH2_ACCELEROMETER, FRS_ID_META_ACCELEROMETER }, - { SH2_LINEAR_ACCELERATION, FRS_ID_META_LINEAR_ACCELERATION }, - { SH2_GRAVITY, FRS_ID_META_GRAVITY }, - { SH2_RAW_GYROSCOPE, FRS_ID_META_RAW_GYROSCOPE }, - { SH2_GYROSCOPE_CALIBRATED, FRS_ID_META_GYROSCOPE_CALIBRATED }, - { SH2_GYROSCOPE_UNCALIBRATED, FRS_ID_META_GYROSCOPE_UNCALIBRATED }, - { SH2_RAW_MAGNETOMETER, FRS_ID_META_RAW_MAGNETOMETER }, - { SH2_MAGNETIC_FIELD_CALIBRATED, FRS_ID_META_MAGNETIC_FIELD_CALIBRATED }, - { SH2_MAGNETIC_FIELD_UNCALIBRATED, FRS_ID_META_MAGNETIC_FIELD_UNCALIBRATED }, - { SH2_ROTATION_VECTOR, FRS_ID_META_ROTATION_VECTOR }, - { SH2_GAME_ROTATION_VECTOR, FRS_ID_META_GAME_ROTATION_VECTOR }, - { SH2_GEOMAGNETIC_ROTATION_VECTOR, FRS_ID_META_GEOMAGNETIC_ROTATION_VECTOR }, - { SH2_PRESSURE, FRS_ID_META_PRESSURE }, - { SH2_AMBIENT_LIGHT, FRS_ID_META_AMBIENT_LIGHT }, - { SH2_HUMIDITY, FRS_ID_META_HUMIDITY }, - { SH2_PROXIMITY, FRS_ID_META_PROXIMITY }, - { SH2_TEMPERATURE, FRS_ID_META_TEMPERATURE }, - { SH2_TAP_DETECTOR, FRS_ID_META_TAP_DETECTOR }, - { SH2_STEP_DETECTOR, FRS_ID_META_STEP_DETECTOR }, - { SH2_STEP_COUNTER, FRS_ID_META_STEP_COUNTER }, - { SH2_SIGNIFICANT_MOTION, FRS_ID_META_SIGNIFICANT_MOTION }, - { SH2_STABILITY_CLASSIFIER, FRS_ID_META_STABILITY_CLASSIFIER }, - { SH2_SHAKE_DETECTOR, FRS_ID_META_SHAKE_DETECTOR }, - { SH2_FLIP_DETECTOR, FRS_ID_META_FLIP_DETECTOR }, - { SH2_PICKUP_DETECTOR, FRS_ID_META_PICKUP_DETECTOR }, - { SH2_STABILITY_DETECTOR, FRS_ID_META_STABILITY_DETECTOR }, - { SH2_PERSONAL_ACTIVITY_CLASSIFIER, FRS_ID_META_PERSONAL_ACTIVITY_CLASSIFIER }, - { SH2_SLEEP_DETECTOR, FRS_ID_META_SLEEP_DETECTOR }, - { SH2_TILT_DETECTOR, FRS_ID_META_TILT_DETECTOR }, - { SH2_POCKET_DETECTOR, FRS_ID_META_POCKET_DETECTOR }, - { SH2_CIRCLE_DETECTOR, FRS_ID_META_CIRCLE_DETECTOR }, + { SH2_RAW_ACCELEROMETER, SH2_FRS_ID_META_RAW_ACCELEROMETER }, + { SH2_ACCELEROMETER, SH2_FRS_ID_META_ACCELEROMETER }, + { SH2_LINEAR_ACCELERATION, SH2_FRS_ID_META_LINEAR_ACCELERATION }, + { SH2_GRAVITY, SH2_FRS_ID_META_GRAVITY }, + { SH2_RAW_GYROSCOPE, SH2_FRS_ID_META_RAW_GYROSCOPE }, + { SH2_GYROSCOPE_CALIBRATED, SH2_FRS_ID_META_GYROSCOPE_CALIBRATED }, + { SH2_GYROSCOPE_UNCALIBRATED, SH2_FRS_ID_META_GYROSCOPE_UNCALIBRATED }, + { SH2_RAW_MAGNETOMETER, SH2_FRS_ID_META_RAW_MAGNETOMETER }, + { SH2_MAGNETIC_FIELD_CALIBRATED, SH2_FRS_ID_META_MAGNETIC_FIELD_CALIBRATED }, + { SH2_MAGNETIC_FIELD_UNCALIBRATED, SH2_FRS_ID_META_MAGNETIC_FIELD_UNCALIBRATED }, + { SH2_ROTATION_VECTOR, SH2_FRS_ID_META_ROTATION_VECTOR }, + { SH2_GAME_ROTATION_VECTOR, SH2_FRS_ID_META_GAME_ROTATION_VECTOR }, + { SH2_GEOMAGNETIC_ROTATION_VECTOR, SH2_FRS_ID_META_GEOMAGNETIC_ROTATION_VECTOR }, + { SH2_PRESSURE, SH2_FRS_ID_META_PRESSURE }, + { SH2_AMBIENT_LIGHT, SH2_FRS_ID_META_AMBIENT_LIGHT }, + { SH2_HUMIDITY, SH2_FRS_ID_META_HUMIDITY }, + { SH2_PROXIMITY, SH2_FRS_ID_META_PROXIMITY }, + { SH2_TEMPERATURE, SH2_FRS_ID_META_TEMPERATURE }, + { SH2_TAP_DETECTOR, SH2_FRS_ID_META_TAP_DETECTOR }, + { SH2_STEP_DETECTOR, SH2_FRS_ID_META_STEP_DETECTOR }, + { SH2_STEP_COUNTER, SH2_FRS_ID_META_STEP_COUNTER }, + { SH2_SIGNIFICANT_MOTION, SH2_FRS_ID_META_SIGNIFICANT_MOTION }, + { SH2_STABILITY_CLASSIFIER, SH2_FRS_ID_META_STABILITY_CLASSIFIER }, + { SH2_SHAKE_DETECTOR, SH2_FRS_ID_META_SHAKE_DETECTOR }, + { SH2_FLIP_DETECTOR, SH2_FRS_ID_META_FLIP_DETECTOR }, + { SH2_PICKUP_DETECTOR, SH2_FRS_ID_META_PICKUP_DETECTOR }, + { SH2_STABILITY_DETECTOR, SH2_FRS_ID_META_STABILITY_DETECTOR }, + { SH2_PERSONAL_ACTIVITY_CLASSIFIER, SH2_FRS_ID_META_PERSONAL_ACTIVITY_CLASSIFIER }, + { SH2_SLEEP_DETECTOR, SH2_FRS_ID_META_SLEEP_DETECTOR }, + { SH2_TILT_DETECTOR, SH2_FRS_ID_META_TILT_DETECTOR }, + { SH2_POCKET_DETECTOR, SH2_FRS_ID_META_POCKET_DETECTOR }, + { SH2_CIRCLE_DETECTOR, SH2_FRS_ID_META_CIRCLE_DETECTOR }, }; static void stuffMetadata(sh2_SensorMetadata_t *pData, uint32_t *frsData) diff --git a/SH2/sh2.h b/SH2/sh2.h index ec556ed..aa5630b 100644 --- a/SH2/sh2.h +++ b/SH2/sh2.h @@ -276,79 +276,79 @@ typedef enum { } sh2_CalStatus_t; // FRS Record Ids -#define STATIC_CALIBRATION_AGM (0x7979) -#define NOMINAL_CALIBRATION (0x4D4D) -#define STATIC_CALIBRATION_SRA (0x8A8A) -#define NOMINAL_CALIBRATION_SRA (0x4E4E) -#define DYNAMIC_CALIBRATION (0x1F1F) -#define ME_POWER_MGMT (0xD3E2) -#define SYSTEM_ORIENTATION (0x2D3E) -#define ACCEL_ORIENTATION (0x2D41) -#define SCREEN_ACCEL_ORIENTATION (0x2D43) -#define GYROSCOPE_ORIENTATION (0x2D46) -#define MAGNETOMETER_ORIENTATION (0x2D4C) -#define ARVR_STABILIZATION_RV (0x3E2D) -#define ARVR_STABILIZATION_GRV (0x3E2E) -#define TAP_DETECT_CONFIG (0xC269) -#define SIG_MOTION_DETECT_CONFIG (0xC274) -#define SHAKE_DETECT_CONFIG (0x7D7D) -#define MAX_FUSION_PERIOD (0xD7D7) -#define SERIAL_NUMBER (0x4B4B) -#define ES_PRESSURE_CAL (0x39AF) -#define ES_TEMPERATURE_CAL (0x4D20) -#define ES_HUMIDITY_CAL (0x1AC9) -#define ES_AMBIENT_LIGHT_CAL (0x39B1) -#define ES_PROXIMITY_CAL (0x4DA2) -#define ALS_CAL (0xD401) -#define PROXIMITY_SENSOR_CAL (0xD402) -#define PICKUP_DETECTOR_CONFIG (0x1B2A) -#define FLIP_DETECTOR_CONFIG (0xFC94) -#define STABILITY_DETECTOR_CONFIG (0xED85) -#define ACTIVITY_TRACKER_CONFIG (0xED88) -#define SLEEP_DETECTOR_CONFIG (0xED87) -#define TILT_DETECTOR_CONFIG (0xED89) -#define POCKET_DETECTOR_CONFIG (0xEF27) -#define CIRCLE_DETECTOR_CONFIG (0xEE51) -#define USER_RECORD (0x74B4) -#define ME_TIME_SOURCE_SELECT (0xD403) -#define UART_FORMAT (0xA1A1) -#define GYRO_INTEGRATED_RV_CONFIG (0xA1A2) -#define FRS_ID_META_RAW_ACCELEROMETER (0xE301) -#define FRS_ID_META_ACCELEROMETER (0xE302) -#define FRS_ID_META_LINEAR_ACCELERATION (0xE303) -#define FRS_ID_META_GRAVITY (0xE304) -#define FRS_ID_META_RAW_GYROSCOPE (0xE305) -#define FRS_ID_META_GYROSCOPE_CALIBRATED (0xE306) -#define FRS_ID_META_GYROSCOPE_UNCALIBRATED (0xE307) -#define FRS_ID_META_RAW_MAGNETOMETER (0xE308) -#define FRS_ID_META_MAGNETIC_FIELD_CALIBRATED (0xE309) -#define FRS_ID_META_MAGNETIC_FIELD_UNCALIBRATED (0xE30A) -#define FRS_ID_META_ROTATION_VECTOR (0xE30B) -#define FRS_ID_META_GAME_ROTATION_VECTOR (0xE30C) -#define FRS_ID_META_GEOMAGNETIC_ROTATION_VECTOR (0xE30D) -#define FRS_ID_META_PRESSURE (0xE30E) -#define FRS_ID_META_AMBIENT_LIGHT (0xE30F) -#define FRS_ID_META_HUMIDITY (0xE310) -#define FRS_ID_META_PROXIMITY (0xE311) -#define FRS_ID_META_TEMPERATURE (0xE312) -#define FRS_ID_META_TAP_DETECTOR (0xE313) -#define FRS_ID_META_STEP_DETECTOR (0xE314) -#define FRS_ID_META_STEP_COUNTER (0xE315) -#define FRS_ID_META_SIGNIFICANT_MOTION (0xE316) -#define FRS_ID_META_STABILITY_CLASSIFIER (0xE317) -#define FRS_ID_META_SHAKE_DETECTOR (0xE318) -#define FRS_ID_META_FLIP_DETECTOR (0xE319) -#define FRS_ID_META_PICKUP_DETECTOR (0xE31A) -#define FRS_ID_META_STABILITY_DETECTOR (0xE31B) -#define FRS_ID_META_PERSONAL_ACTIVITY_CLASSIFIER (0xE31C) -#define FRS_ID_META_SLEEP_DETECTOR (0xE31D) -#define FRS_ID_META_TILT_DETECTOR (0xE31E) -#define FRS_ID_META_POCKET_DETECTOR (0xE31F) -#define FRS_ID_META_CIRCLE_DETECTOR (0xE320) -#define FRS_ID_META_HEART_RATE_MONITOR (0xE321) -#define FRS_ID_META_ARVR_STABILIZED_RV (0xE322) -#define FRS_ID_META_ARVR_STABILIZED_GRV (0xE323) -#define FRS_ID_META_GYRO_INTEGRATED_RV (0xE324) +#define SH2_STATIC_CALIBRATION_AGM (0x7979) +#define SH2_NOMINAL_CALIBRATION (0x4D4D) +#define SH2_STATIC_CALIBRATION_SRA (0x8A8A) +#define SH2_NOMINAL_CALIBRATION_SRA (0x4E4E) +#define SH2_DYNAMIC_CALIBRATION (0x1F1F) +#define SH2_ME_POWER_MGMT (0xD3E2) +#define SH2_SYSTEM_ORIENTATION (0x2D3E) +#define SH2_ACCEL_ORIENTATION (0x2D41) +#define SH2_SCREEN_ACCEL_ORIENTATION (0x2D43) +#define SH2_GYROSCOPE_ORIENTATION (0x2D46) +#define SH2_MAGNETOMETER_ORIENTATION (0x2D4C) +#define SH2_ARVR_STABILIZATION_RV (0x3E2D) +#define SH2_ARVR_STABILIZATION_GRV (0x3E2E) +#define SH2_TAP_DETECT_CONFIG (0xC269) +#define SH2_SIG_MOTION_DETECT_CONFIG (0xC274) +#define SH2_SHAKE_DETECT_CONFIG (0x7D7D) +#define SH2_MAX_FUSION_PERIOD (0xD7D7) +#define SH2_SERIAL_NUMBER (0x4B4B) +#define SH2_ES_PRESSURE_CAL (0x39AF) +#define SH2_ES_TEMPERATURE_CAL (0x4D20) +#define SH2_ES_HUMIDITY_CAL (0x1AC9) +#define SH2_ES_AMBIENT_LIGHT_CAL (0x39B1) +#define SH2_ES_PROXIMITY_CAL (0x4DA2) +#define SH2_ALS_CAL (0xD401) +#define SH2_PROXIMITY_SENSOR_CAL (0xD402) +#define SH2_PICKUP_DETECTOR_CONFIG (0x1B2A) +#define SH2_FLIP_DETECTOR_CONFIG (0xFC94) +#define SH2_STABILITY_DETECTOR_CONFIG (0xED85) +#define SH2_ACTIVITY_TRACKER_CONFIG (0xED88) +#define SH2_SLEEP_DETECTOR_CONFIG (0xED87) +#define SH2_TILT_DETECTOR_CONFIG (0xED89) +#define SH2_POCKET_DETECTOR_CONFIG (0xEF27) +#define SH2_CIRCLE_DETECTOR_CONFIG (0xEE51) +#define SH2_USER_RECORD (0x74B4) +#define SH2_ME_TIME_SOURCE_SELECT (0xD403) +#define SH2_UART_FORMAT (0xA1A1) +#define SH2_GYRO_INTEGRATED_RV_CONFIG (0xA1A2) +#define SH2_FRS_ID_META_RAW_ACCELEROMETER (0xE301) +#define SH2_FRS_ID_META_ACCELEROMETER (0xE302) +#define SH2_FRS_ID_META_LINEAR_ACCELERATION (0xE303) +#define SH2_FRS_ID_META_GRAVITY (0xE304) +#define SH2_FRS_ID_META_RAW_GYROSCOPE (0xE305) +#define SH2_FRS_ID_META_GYROSCOPE_CALIBRATED (0xE306) +#define SH2_FRS_ID_META_GYROSCOPE_UNCALIBRATED (0xE307) +#define SH2_FRS_ID_META_RAW_MAGNETOMETER (0xE308) +#define SH2_FRS_ID_META_MAGNETIC_FIELD_CALIBRATED (0xE309) +#define SH2_FRS_ID_META_MAGNETIC_FIELD_UNCALIBRATED (0xE30A) +#define SH2_FRS_ID_META_ROTATION_VECTOR (0xE30B) +#define SH2_FRS_ID_META_GAME_ROTATION_VECTOR (0xE30C) +#define SH2_FRS_ID_META_GEOMAGNETIC_ROTATION_VECTOR (0xE30D) +#define SH2_FRS_ID_META_PRESSURE (0xE30E) +#define SH2_FRS_ID_META_AMBIENT_LIGHT (0xE30F) +#define SH2_FRS_ID_META_HUMIDITY (0xE310) +#define SH2_FRS_ID_META_PROXIMITY (0xE311) +#define SH2_FRS_ID_META_TEMPERATURE (0xE312) +#define SH2_FRS_ID_META_TAP_DETECTOR (0xE313) +#define SH2_FRS_ID_META_STEP_DETECTOR (0xE314) +#define SH2_FRS_ID_META_STEP_COUNTER (0xE315) +#define SH2_FRS_ID_META_SIGNIFICANT_MOTION (0xE316) +#define SH2_FRS_ID_META_STABILITY_CLASSIFIER (0xE317) +#define SH2_FRS_ID_META_SHAKE_DETECTOR (0xE318) +#define SH2_FRS_ID_META_FLIP_DETECTOR (0xE319) +#define SH2_FRS_ID_META_PICKUP_DETECTOR (0xE31A) +#define SH2_FRS_ID_META_STABILITY_DETECTOR (0xE31B) +#define SH2_FRS_ID_META_PERSONAL_ACTIVITY_CLASSIFIER (0xE31C) +#define SH2_FRS_ID_META_SLEEP_DETECTOR (0xE31D) +#define SH2_FRS_ID_META_TILT_DETECTOR (0xE31E) +#define SH2_FRS_ID_META_POCKET_DETECTOR (0xE31F) +#define SH2_FRS_ID_META_CIRCLE_DETECTOR (0xE320) +#define SH2_FRS_ID_META_HEART_RATE_MONITOR (0xE321) +#define SH2_FRS_ID_META_ARVR_STABILIZED_RV (0xE322) +#define SH2_FRS_ID_META_ARVR_STABILIZED_GRV (0xE323) +#define SH2_FRS_ID_META_GYRO_INTEGRATED_RV (0xE324) /** * @brief Interactive ZRO Motion Intent diff --git a/documentation/html/_b_n_o08x_8cpp.html b/documentation/html/_b_n_o08x_8cpp.html index f92bfc5..2d7342b 100644 --- a/documentation/html/_b_n_o08x_8cpp.html +++ b/documentation/html/_b_n_o08x_8cpp.html @@ -1,20 +1,18 @@ - +
- + -




















Macros | |
| #define | TAP_DETECTED_X_AXIS(tap) ((tap) & (1U << 0U) ? 1 : 0) |
| #define | TAP_DETECTED_X_AXIS(tap) ((tap) & (1U << 0U) ? 1 : 0) |
| #define | TAP_DETECTED_X_AXIS_POSITIVE(tap) ((tap) & (1U << 1U) ? 1 : 0) |
| #define | TAP_DETECTED_X_AXIS_POSITIVE(tap) ((tap) & (1U << 1U) ? 1 : 0) |
| #define | TAP_DETECTED_Y_AXIS(tap) ((tap) & (1U << 2U) ? 1 : 0) |
| #define | TAP_DETECTED_Y_AXIS(tap) ((tap) & (1U << 2U) ? 1 : 0) |
| #define | TAP_DETECTED_Y_AXIS_POSITIVE(tap) ((tap) & (1U << 3U) ? 1 : 0) |
| #define | TAP_DETECTED_Y_AXIS_POSITIVE(tap) ((tap) & (1U << 3U) ? 1 : 0) |
| #define | TAP_DETECTED_Z_AXIS(tap) ((tap) & (1U << 4U) ? 1 : 0) |
| #define | TAP_DETECTED_Z_AXIS(tap) ((tap) & (1U << 4U) ? 1 : 0) |
| #define | TAP_DETECTED_Z_AXIS_POSITIVE(tap) ((tap) & (1U << 5U) ? 1 : 0) |
| #define | TAP_DETECTED_Z_AXIS_POSITIVE(tap) ((tap) & (1U << 5U) ? 1 : 0) |
| #define | TAP_DETECTED_DOUBLE(tap) ((tap) & (1U << 6U) ? 1 : 0) |
| #define | TAP_DETECTED_DOUBLE(tap) ((tap) & (1U << 6U) ? 1 : 0) |
| #define | SHAKE_DETECTED_X(tap) ((tap) & (1U << 0U) ? 1 : 0) |
| #define | SHAKE_DETECTED_X(tap) ((tap) & (1U << 0U) ? 1 : 0) |
| #define | SHAKE_DETECTED_Y(tap) ((tap) & (1U << 1U) ? 1 : 0) |
| #define | SHAKE_DETECTED_Y(tap) ((tap) & (1U << 1U) ? 1 : 0) |
| #define | SHAKE_DETECTED_Z(tap) ((tap) & (1U << 2U) ? 1 : 0) |
| #define | SHAKE_DETECTED_Z(tap) ((tap) & (1U << 2U) ? 1 : 0) |
Typedefs | |
| typedef struct bno08x_config_t | bno08x_config_t |
| IMU configuration settings passed into constructor. | |
| typedef struct bno08x_config_t | bno08x_config_t |
| IMU configuration settings passed into constructor. More... | |
| typedef bno08x_config_t | imu_config_t |
| typedef bno08x_config_t | imu_config_t |
| using | IMUAccuracy = BNO08xAccuracy |
| using | IMUAccuracy = BNO08xAccuracy |
| typedef struct bno08x_quat_t | bno08x_quat_t |
| Struct to represent unit quaternion. | |
| typedef struct bno08x_quat_t | bno08x_quat_t |
| Struct to represent unit quaternion. More... | |
| typedef struct bno08x_euler_angle_t | bno08x_euler_angle_t |
| Struct to represent euler angle (units in degrees or rads) | |
| typedef struct bno08x_euler_angle_t | bno08x_euler_angle_t |
| Struct to represent euler angle (units in degrees or rads) More... | |
| typedef struct bno08x_ang_vel_t | bno08x_ang_vel_t |
| Struct to represent angular velocity (units in rad/s) | |
| typedef struct bno08x_ang_vel_t | bno08x_ang_vel_t |
| Struct to represent angular velocity (units in rad/s) More... | |
| typedef struct bno08x_magf_t | bno08x_magf_t |
| Struct to represent magnetic field data (units in uTesla) | |
| typedef struct bno08x_magf_t | bno08x_magf_t |
| Struct to represent magnetic field data (units in uTesla) More... | |
| typedef struct bno08x_magf_bias_t | bno08x_magf_bias_t |
| Struct to represent magnetic field bias data (units in uTesla) | |
| typedef struct bno08x_magf_bias_t | bno08x_magf_bias_t |
| Struct to represent magnetic field bias data (units in uTesla) More... | |
| typedef struct bno08x_gyro_t | bno08x_gyro_t |
| Struct to represent gyro data (units in rad/s) | |
| typedef struct bno08x_gyro_t | bno08x_gyro_t |
| Struct to represent gyro data (units in rad/s) More... | |
| typedef struct bno08x_gyro_bias_t | bno08x_gyro_bias_t |
| Struct to represent gyro bias data (units in rad/s) | |
| typedef struct bno08x_gyro_bias_t | bno08x_gyro_bias_t |
| Struct to represent gyro bias data (units in rad/s) More... | |
| typedef struct bno08x_activity_classifier_t | bno08x_activity_classifier_t |
| Struct to represent activity classifier data. | |
| typedef struct bno08x_activity_classifier_t | bno08x_activity_classifier_t |
| Struct to represent activity classifier data. More... | |
| typedef struct bno08x_tap_detector_t | bno08x_tap_detector_t |
| Struct to represent tap detector data (flag meaning: 0 = no tap, 1 = positive tap on axis, -1 = negative tap on axis) | |
| typedef struct bno08x_tap_detector_t | bno08x_tap_detector_t |
| Struct to represent tap detector data (flag meaning: 0 = no tap, 1 = positive tap on axis, -1 = negative tap on axis) More... | |
| typedef struct bno08x_shake_detector_t | bno08x_shake_detector_t |
| Struct to represent shake detector data (flag meaning: 0 = no shake 1 = shake detected) | |
| typedef struct bno08x_shake_detector_t | bno08x_shake_detector_t |
| Struct to represent shake detector data (flag meaning: 0 = no shake 1 = shake detected) More... | |
| typedef struct bno08x_accel_t | bno08x_accel_t |
| Struct to represent acceleration data from acceleration, linear acceleration, and gravity reports. | |
| typedef struct bno08x_accel_t | bno08x_accel_t |
| Struct to represent acceleration data from acceleration, linear acceleration, and gravity reports. More... | |
| typedef struct bno08x_step_counter_t | bno08x_step_counter_t |
| Struct to represent step counter data from step counter reports. | |
| typedef struct bno08x_step_counter_t | bno08x_step_counter_t |
| Struct to represent step counter data from step counter reports. More... | |
| typedef struct bno08x_raw_gyro_t | bno08x_raw_gyro_t |
| Struct to represent raw mems gyro data from raw gyro reports (units in ADC counts). | |
| typedef struct bno08x_raw_gyro_t | bno08x_raw_gyro_t |
| Struct to represent raw mems gyro data from raw gyro reports (units in ADC counts). More... | |
| typedef struct bno08x_raw_accel_t | bno08x_raw_accel_t |
| Struct to represent raw mems accelerometer data from raw accelerometer reports (units in ADC counts). | |
| typedef struct bno08x_raw_accel_t | bno08x_raw_accel_t |
| Struct to represent raw mems accelerometer data from raw accelerometer reports (units in ADC counts). More... | |
| typedef struct bno08x_raw_magf_t | bno08x_raw_magf_t |
| Struct to represent raw mems magnetometer data from raw magnetometer reports (units in ADC counts). | |
| typedef struct bno08x_raw_magf_t | bno08x_raw_magf_t |
| Struct to represent raw mems magnetometer data from raw magnetometer reports (units in ADC counts). More... | |
| typedef struct bno08x_stability_classifier_t | bno08x_stability_classifier_t |
| Struct to represent stability classifier data from stability classifier reports. | |
| typedef struct bno08x_stability_classifier_t | bno08x_stability_classifier_t |
| Struct to represent stability classifier data from stability classifier reports. More... | |
| typedef struct bno08x_sample_counts_t | bno08x_sample_counts_t |
| Struct to represent sample counts, returned from BNO08xRpt::get_sample_counts() | |
| typedef struct bno08x_sample_counts_t | bno08x_sample_counts_t |
| Struct to represent sample counts, returned from BNO08xRpt::get_sample_counts() More... | |
| typedef struct bno08x_meta_data_t | bno08x_meta_data_t |
| Struct to represent sensor/report meta data, returned from BNO08xRpt::get_meta_data() | |
| typedef struct bno08x_meta_data_t | bno08x_meta_data_t |
| Struct to represent sensor/report meta data, returned from BNO08xRpt::get_meta_data() More... | |
Enumerations | |
| enum class | BNO08xCalSel { - accelerometer = SH2_CAL_ACCEL -, gyro = SH2_CAL_GYRO -, magnetometer = SH2_CAL_MAG -, planar_accelerometer = SH2_CAL_PLANAR + |
| enum class | BNO08xCalSel : uint8_t { + accelerometer = SH2_CAL_ACCEL +, gyro = SH2_CAL_GYRO +, magnetometer = SH2_CAL_MAG +, planar_accelerometer = SH2_CAL_PLANAR , - all = (SH2_CAL_ACCEL | SH2_CAL_GYRO | SH2_CAL_MAG | SH2_CAL_PLANAR) + all = (SH2_CAL_ACCEL | SH2_CAL_GYRO | SH2_CAL_MAG | SH2_CAL_PLANAR) } |
| enum class | BNO08xResetReason { - UNDEFINED -, POR -, INT_RST -, WTD + |
| enum class | BNO08xResetReason : uint8_t { + UNDEFINED +, POR +, INT_RST +, WTD , - EXT_RST -, OTHER + EXT_RST +, OTHER } |
| Reason for previous IMU reset (returned by get_reset_reason()) More... | |
| enum class | BNO08xAccuracy { - UNRELIABLE -, LOW -, MED -, HIGH + |
| Reason for previous IMU reset (returned by get_reset_reason()) More... | |
| enum class | BNO08xAccuracy : uint8_t { + UNRELIABLE +, LOW +, MED +, HIGH , - UNDEFINED + UNDEFINED } |
| Sensor accuracy returned from input reports, corresponds to status bits (see ref. manual 6.5.1) More... | |
| enum class | BNO08xActivityEnable { - UNKNOWN = (1U << 0U) -, IN_VEHICLE = (1U << 1U) -, ON_BICYCLE = (1U << 2U) -, ON_FOOT = (1U << 3U) + |
| Sensor accuracy returned from input reports, corresponds to status bits (see ref. manual 6.5.1) More... | |
| enum class | BNO08xActivityEnable : uint32_t { + UNKNOWN = (1U << 0U) +, IN_VEHICLE = (1U << 1U) +, ON_BICYCLE = (1U << 2U) +, ON_FOOT = (1U << 3U) , - STILL = (1U << 4U) -, TILTING = (1U << 5U) -, WALKING = (1U << 6U) -, RUNNING = (1U << 7U) + STILL = (1U << 4U) +, TILTING = (1U << 5U) +, WALKING = (1U << 6U) +, RUNNING = (1U << 7U) , - ON_STAIRS = (1U << 8U) -, ALL = 0x1FU + ON_STAIRS = (1U << 8U) +, ALL = (UNKNOWN | IN_VEHICLE | ON_BICYCLE | ON_FOOT | STILL | TILTING | WALKING | RUNNING | ON_STAIRS) } |
| BNO08xActivity Classifier enable bits passed to enable_activity_classifier() More... | |
| enum class | BNO08xActivity { - UNKNOWN = 0 -, IN_VEHICLE = 1 -, ON_BICYCLE = 2 -, ON_FOOT = 3 + |
| BNO08xActivity Classifier enable bits passed to enable_activity_classifier() See ref manual 6.5.36.1. More... | |
| enum class | BNO08xActivity : uint8_t { + UNKNOWN = 0 +, IN_VEHICLE = 1 +, ON_BICYCLE = 2 +, ON_FOOT = 3 , - STILL = 4 -, TILTING = 5 -, WALKING = 6 -, RUNNING = 7 + STILL = 4 +, TILTING = 5 +, WALKING = 6 +, RUNNING = 7 , - ON_STAIRS = 8 -, UNDEFINED = 9 + ON_STAIRS = 8 +, UNDEFINED = 9 } |
| BNO08xActivity states returned from BNO08x::activity_classifier.get() More... | |
| enum class | BNO08xStability { - UNKNOWN = 0 -, ON_TABLE = 1 -, STATIONARY = 2 -, STABLE = 3 + |
| BNO08xActivity states returned from BNO08x::activity_classifier.get() More... | |
| enum class | BNO08xStability : uint8_t { + UNKNOWN = 0 +, ON_TABLE = 1 +, STATIONARY = 2 +, STABLE = 3 , - MOTION = 4 -, RESERVED = 5 -, UNDEFINED = 6 + MOTION = 4 +, RESERVED = 5 +, UNDEFINED = 6 } |
| BNO08xStability states returned from BNO08x::stability_classifier.get() More... | |
| BNO08xStability states returned from BNO08x::stability_classifier.get() More... | |
| enum class | BNO08xFrsID : uint16_t { + STATIC_CALIBRATION_AGM = 0x7979 +, NOMINAL_CALIBRATION = 0x4D4D +, STATIC_CALIBRATION_SRA = 0x8A8A +, NOMINAL_CALIBRATION_SRA = 0x4E4E +, + DYNAMIC_CALIBRATION = 0x1F1F +, ME_POWER_MGMT = 0xD3E2 +, SYSTEM_ORIENTATION = 0x2D3E +, ACCEL_ORIENTATION = 0x2D41 +, + SCREEN_ACCEL_ORIENTATION = 0x2D43 +, GYROSCOPE_ORIENTATION = 0x2D46 +, MAGNETOMETER_ORIENTATION = 0x2D4C +, ARVR_STABILIZATION_RV = 0x3E2D +, + ARVR_STABILIZATION_GRV = 0x3E2E +, TAP_DETECT_CONFIG = 0xC269 +, SIG_MOTION_DETECT_CONFIG = 0xC274 +, SHAKE_DETECT_CONFIG = 0x7D7D +, + MAX_FUSION_PERIOD = 0xD7D7 +, SERIAL_NUMBER = 0x4B4B +, ES_PRESSURE_CAL = 0x39AF +, ES_TEMPERATURE_CAL = 0x4D20 +, + ES_HUMIDITY_CAL = 0x1AC9 +, ES_AMBIENT_LIGHT_CAL = 0x39B1 +, ES_PROXIMITY_CAL = 0x4DA2 +, ALS_CAL = 0xD401 +, + PROXIMITY_SENSOR_CAL = 0xD402 +, PICKUP_DETECTOR_CONFIG = 0x1B2A +, FLIP_DETECTOR_CONFIG = 0xFC94 +, STABILITY_DETECTOR_CONFIG = 0xED85 +, + ACTIVITY_TRACKER_CONFIG = 0xED88 +, SLEEP_DETECTOR_CONFIG = 0xED87 +, TILT_DETECTOR_CONFIG = 0xED89 +, POCKET_DETECTOR_CONFIG = 0xEF27 +, + CIRCLE_DETECTOR_CONFIG = 0xEE51 +, USER_RECORD = 0x74B4 +, ME_TIME_SOURCE_SELECT = 0xD403 +, UART_FORMAT = 0xA1A1 +, + GYRO_INTEGRATED_RV_CONFIG = 0xA1A2 +, META_RAW_ACCELEROMETER = 0xE301 +, META_ACCELEROMETER = 0xE302 +, META_LINEAR_ACCELERATION = 0xE303 +, + META_GRAVITY = 0xE304 +, META_RAW_GYROSCOPE = 0xE305 +, META_GYROSCOPE_CALIBRATED = 0xE306 +, META_GYROSCOPE_UNCALIBRATED = 0xE307 +, + META_RAW_MAGNETOMETER = 0xE308 +, META_MAGNETIC_FIELD_CALIBRATED = 0xE309 +, META_MAGNETIC_FIELD_UNCALIBRATED = 0xE30A +, META_ROTATION_VECTOR = 0xE30B +, + META_GAME_ROTATION_VECTOR = 0xE30C +, META_GEOMAGNETIC_ROTATION_VECTOR = 0xE30D +, META_PRESSURE = 0xE30E +, META_AMBIENT_LIGHT = 0xE30F +, + META_HUMIDITY = 0xE310 +, META_PROXIMITY = 0xE311 +, META_TEMPERATURE = 0xE312 +, META_TAP_DETECTOR = 0xE313 +, + META_STEP_DETECTOR = 0xE314 +, META_STEP_COUNTER = 0xE315 +, META_SIGNIFICANT_MOTION = 0xE316 +, META_STABILITY_CLASSIFIER = 0xE317 +, + META_SHAKE_DETECTOR = 0xE318 +, META_FLIP_DETECTOR = 0xE319 +, META_PICKUP_DETECTOR = 0xE31A +, META_STABILITY_DETECTOR = 0xE31B +, + META_PERSONAL_ACTIVITY_CLASSIFIER = 0xE31C +, META_SLEEP_DETECTOR = 0xE31D +, META_TILT_DETECTOR = 0xE31E +, META_POCKET_DETECTOR = 0xE31F +, + META_CIRCLE_DETECTOR = 0xE320 +, META_HEART_RATE_MONITOR = 0xE321 +, META_ARVR_STABILIZED_RV = 0xE322 +, META_ARVR_STABILIZED_GRV = 0xE323 +, + META_GYRO_INTEGRATED_RV = 0xE324 + + } |
-Variables | |
| static const constexpr uint8_t | TOTAL_RPT_COUNT = 38 |
| Amount of possible reports returned from BNO08x. | |
+Functions | |
| const constexpr char * | BNO08xAccuracy_to_str (BNO08xAccuracy accuracy) |
| const constexpr char * | BNO08xActivity_to_str (BNO08xActivity activity) |
| Converts a BNO08xActivity enum to string. More... | |
| const constexpr char * | BNO08xStability_to_str (BNO08xStability stability) |
| Converts a BNO08xStability enum to string. More... | |
| const constexpr char * | BNO08xFrsID_to_str (BNO08xFrsID id) |
| typedef struct bno08x_accel_t bno08x_accel_t | +typedef struct bno08x_accel_t bno08x_accel_t |
| typedef struct bno08x_activity_classifier_t bno08x_activity_classifier_t | +typedef struct bno08x_activity_classifier_t bno08x_activity_classifier_t |
| typedef struct bno08x_ang_vel_t bno08x_ang_vel_t | +typedef struct bno08x_ang_vel_t bno08x_ang_vel_t |
| typedef struct bno08x_config_t bno08x_config_t | +typedef struct bno08x_config_t bno08x_config_t |
| typedef struct bno08x_euler_angle_t bno08x_euler_angle_t | +typedef struct bno08x_euler_angle_t bno08x_euler_angle_t |
| typedef struct bno08x_gyro_bias_t bno08x_gyro_bias_t | +typedef struct bno08x_gyro_bias_t bno08x_gyro_bias_t |
| typedef struct bno08x_gyro_t bno08x_gyro_t | +typedef struct bno08x_gyro_t bno08x_gyro_t |
| typedef struct bno08x_magf_bias_t bno08x_magf_bias_t | +typedef struct bno08x_magf_bias_t bno08x_magf_bias_t |
| typedef struct bno08x_magf_t bno08x_magf_t | +typedef struct bno08x_magf_t bno08x_magf_t |
| typedef struct bno08x_meta_data_t bno08x_meta_data_t | +typedef struct bno08x_meta_data_t bno08x_meta_data_t |
| typedef struct bno08x_quat_t bno08x_quat_t | +typedef struct bno08x_quat_t bno08x_quat_t |
| typedef struct bno08x_raw_accel_t bno08x_raw_accel_t | +typedef struct bno08x_raw_accel_t bno08x_raw_accel_t |
| typedef struct bno08x_raw_gyro_t bno08x_raw_gyro_t | +typedef struct bno08x_raw_gyro_t bno08x_raw_gyro_t |
| typedef struct bno08x_raw_magf_t bno08x_raw_magf_t | +typedef struct bno08x_raw_magf_t bno08x_raw_magf_t |
| typedef struct bno08x_sample_counts_t bno08x_sample_counts_t | +typedef struct bno08x_sample_counts_t bno08x_sample_counts_t |
| typedef struct bno08x_shake_detector_t bno08x_shake_detector_t | +typedef struct bno08x_shake_detector_t bno08x_shake_detector_t |
| typedef struct bno08x_stability_classifier_t bno08x_stability_classifier_t | +typedef struct bno08x_stability_classifier_t bno08x_stability_classifier_t |
| typedef struct bno08x_step_counter_t bno08x_step_counter_t | +typedef struct bno08x_step_counter_t bno08x_step_counter_t |
| typedef struct bno08x_tap_detector_t bno08x_tap_detector_t | +typedef struct bno08x_tap_detector_t bno08x_tap_detector_t |
| typedef bno08x_config_t imu_config_t | +typedef bno08x_config_t imu_config_t |
| using IMUAccuracy = BNO08xAccuracy | +using IMUAccuracy = BNO08xAccuracy |
| enum class BNO08xAccuracy | +enum class BNO08xAccuracy : uint8_t |
Sensor accuracy returned from input reports, corresponds to status bits (see ref. manual 6.5.1)
| Enumerator | |
|---|---|
| UNRELIABLE | |
| LOW | |
| MED | |
| HIGH | |
| UNDEFINED | |
| Enumerator | |
| UNRELIABLE | |
| LOW | |
| MED | |
| HIGH | |
| UNDEFINED | |
| enum class BNO08xActivity | +enum class BNO08xActivity : uint8_t |
BNO08xActivity states returned from BNO08x::activity_classifier.get()
| enum class BNO08xActivityEnable | +enum class BNO08xActivityEnable : uint32_t |
BNO08xActivity Classifier enable bits passed to enable_activity_classifier()
+BNO08xActivity Classifier enable bits passed to enable_activity_classifier() See ref manual 6.5.36.1.
| enum class BNO08xCalSel | +enum class BNO08xCalSel : uint8_t |
| enum class BNO08xResetReason | +enum class BNO08xFrsID : uint16_t | +
+
|
@@ -1165,24 +1282,24 @@ Variables
|
@@ -1203,20 +1320,20 @@ Variables
|||||
| Enumerator | |
|---|---|
| UNKNOWN | |
| ON_TABLE | |
| STATIONARY | |
| STABLE | |
| MOTION | |
| RESERVED | |
| UNDEFINED | |
| Enumerator | |
| UNKNOWN | |
| ON_TABLE | |
| STATIONARY | |
| STABLE | |
| MOTION | |
| RESERVED | |
| UNDEFINED | |
| const constexpr uint8_t TOTAL_RPT_COUNT = 38 | +const constexpr char * BNO08xAccuracy_to_str | +( | +BNO08xAccuracy | +accuracy | ) | +

+
|
+ +constexpr |
Amount of possible reports returned from BNO08x.
+Converts a BNO08xActivity enum to string.
+
+
|
+ +constexpr | +

+
|
+ +constexpr | +
Converts a BNO08xStability enum to string.
+



Namespaces | |
| namespace | BNO08xPrivateTypes |
| namespace | BNO08xPrivateTypes |
Typedefs | |
| using | BNO08xPrivateTypes::bno08x_cb_list_t |
| Alias for vector type to contain both cb flavors. | |
| typedef struct BNO08xPrivateTypes::bno08x_init_status_t | BNO08xPrivateTypes::bno08x_init_status_t |
| Holds info about which functionality has been successfully initialized (used by deconstructor during cleanup). | |
| using | BNO08xPrivateTypes::bno08x_cb_list_t = etl::vector< etl::variant< BNO08xCbParamVoid, BNO08xCbParamRptID >, CONFIG_ESP32_BNO08X_CB_MAX > |
| Alias for vector type to contain both cb flavors. More... | |
| typedef struct BNO08xPrivateTypes::bno08x_init_status_t | BNO08xPrivateTypes::bno08x_init_status_t |
| Holds info about which functionality has been successfully initialized (used by deconstructor during cleanup). More... | |
| typedef struct BNO08xPrivateTypes::bno08x_sync_ctx_t | BNO08xPrivateTypes::bno08x_sync_ctx_t |
| Holds context used to synchronize tasks and callback execution. | |
| typedef struct BNO08xPrivateTypes::bno08x_sync_ctx_t | BNO08xPrivateTypes::bno08x_sync_ctx_t |
| Holds context used to synchronize tasks and callback execution. More... | |
Enumerations | |
| enum | BNO08xPrivateTypes::bno08x_rpt_bit_t : EventBits_t { + |
| enum | BNO08xPrivateTypes::bno08x_rpt_bit_t : EventBits_t { BNO08xPrivateTypes::EVT_GRP_RPT_RV_BIT = (1UL << 0U) , BNO08xPrivateTypes::EVT_GRP_RPT_RV_GAME_BIT = (1UL << 1U) , BNO08xPrivateTypes::EVT_GRP_RPT_RV_ARVR_S_BIT = (1UL << 2U) @@ -349,18 +246,13 @@ Enumerations |
| Bits for evt_grp_rpt_en & evt_grp_rpt_data_available. More... | |
| enum | BNO08xPrivateTypes::bno08x_tsk_bit_t : EventBits_t { BNO08xPrivateTypes::EVT_GRP_BNO08x_TASKS_RUNNING + |
| enum | BNO08xPrivateTypes::bno08x_tsk_bit_t : EventBits_t { BNO08xPrivateTypes::EVT_GRP_BNO08x_TASKS_RUNNING , BNO08xPrivateTypes::EVT_GRP_BNO08x_TASK_HINT_ASSRT_BIT , BNO08xPrivateTypes::EVT_GRP_BNO08x_TASK_RESET_OCCURRED , BNO08xPrivateTypes::EVT_GRP_BNO08x_TASK_DATA_AVAILABLE } |
| Bits for evt_grp_bno08x_task. More... | |
-Variables | |
| static sh2_SensorConfig | BNO08xPrivateTypes::default_sensor_cfg |




















































































































































Macros | |
| #define | UINT16_CLR_MSB(val_16bit) ((val_16bit) & 0x00FFU) |
| Clears the most significant byte of a 16-bit value. | |
| #define | UINT16_CLR_MSB(val_16bit) ((val_16bit) & 0x00FFU) |
| Clears the most significant byte of a 16-bit value. More... | |
| #define | UINT16_CLR_LSB(val_16bit) ((val_16bit) & 0xFF00U) |
| Clears the least significant byte of a 16-bit value. | |
| #define | UINT16_CLR_LSB(val_16bit) ((val_16bit) & 0xFF00U) |
| Clears the least significant byte of a 16-bit value. More... | |
| #define | UINT32_CLR_BYTE(val_32bit, byte2clear) ((val_32bit) & ~(0xFFUL << (byte2clear * 8UL))) |
| Clears a specified byte in a 32-bit value. | |
| #define | UINT32_CLR_BYTE(val_32bit, byte2clear) ((val_32bit) & ~(0xFFUL << (byte2clear * 8UL))) |
| Clears a specified byte in a 32-bit value. More... | |
| #define | UINT32_MSK_BYTE(val_32bit, byte2mask) ((val_32bit) & (0xFFUL << (byte2mask * 8UL))) |
| Masks a specified byte in a 32-bit value. | |
| #define | UINT32_MSK_BYTE(val_32bit, byte2mask) ((val_32bit) & (0xFFUL << (byte2mask * 8UL))) |
| Masks a specified byte in a 32-bit value. More... | |
| #define | PARSE_PACKET_LENGTH(header) (UINT16_CLR_LSB(static_cast<uint16_t>(header[1]) << 8U) | UINT16_CLR_MSB(static_cast<uint16_t>(header[0]))) |
| Parse length from SHTP packet header. | |
| #define | PARSE_PACKET_LENGTH(header) (UINT16_CLR_LSB(static_cast<uint16_t>(header[1]) << 8U) | UINT16_CLR_MSB(static_cast<uint16_t>(header[0]))) |
| Parse length from SHTP packet header. More... | |






|
- esp32_BNO08x 1.31
-
- C++ BNO08x IMU driver component for esp-idf.
- |
-

-Functions | |
| TEST_CASE ("BNO08x Driver Creation for [CallbackAllReportVoidInputParam] Tests", "[CallbackAllReportVoidInputParam]") | |
| TEST_CASE ("Void Input Param Flavor Cb", "[CallbackAllReportVoidInputParam]") | |
| TEST_CASE ("BNO08x Driver Cleanup for [CallbackAllReportVoidInputParam] Tests", "[CallbackAllReportVoidInputParam]") | |
| TEST_CASE ("BNO08x Driver Creation for [CallbackAllReportIDInputParam] Tests", "[CallbackAllReportIDInputParam]") | |
| TEST_CASE ("Report ID Input Param Flavor Cb", "[CallbackAllReportIDInputParam]") | |
| TEST_CASE ("BNO08x Driver Cleanup for [CallbackAllReportIDInputParam] Tests", "[CallbackAllReportIDInputParam]") | |
| TEST_CASE ("BNO08x Driver Creation for [CallbackSingleReportVoidInputParam] Tests", "[CallbackSingleReportVoidInputParam]") | |
| TEST_CASE ("Single Report Void Input Param Flavor Cb", "[CallbackSingleReportVoidInputParam]") | |
| TEST_CASE ("BNO08x Driver Cleanup for [CallbackSingleReportVoidInputParam] Tests", "[CallbackSingleReportVoidInputParam]") | |
| TEST_CASE | -( | -"BNO08x Driver Cleanup for Tests" | [CallbackAllReportIDInputParam], | -
| - | - | "" | [CallbackAllReportIDInputParam] ) | -

| TEST_CASE | -( | -"BNO08x Driver Cleanup for Tests" | [CallbackAllReportVoidInputParam], | -
| - | - | "" | [CallbackAllReportVoidInputParam] ) | -

| TEST_CASE | -( | -"BNO08x Driver Cleanup for Tests" | [CallbackSingleReportVoidInputParam], | -
| - | - | "" | [CallbackSingleReportVoidInputParam] ) | -

| TEST_CASE | -( | -"BNO08x Driver Creation for Tests" | [CallbackAllReportIDInputParam], | -
| - | - | "" | [CallbackAllReportIDInputParam] ) | -

| TEST_CASE | -( | -"BNO08x Driver Creation for Tests" | [CallbackAllReportVoidInputParam], | -
| - | - | "" | [CallbackAllReportVoidInputParam] ) | -

| TEST_CASE | -( | -"BNO08x Driver Creation for Tests" | [CallbackSingleReportVoidInputParam], | -
| - | - | "" | [CallbackSingleReportVoidInputParam] ) | -

| TEST_CASE | -( | -"Report ID Input Param Flavor Cb" | , | -
| - | - | "" | [CallbackAllReportIDInputParam] ) | -

| TEST_CASE | -( | -"Single Report Void Input Param Flavor Cb" | , | -
| - | - | "" | [CallbackSingleReportVoidInputParam] ) | -

| TEST_CASE | -( | -"Void Input Param Flavor Cb" | , | -
| - | - | "" | [CallbackAllReportVoidInputParam] ) | -

|
- esp32_BNO08x 1.31
-
- C++ BNO08x IMU driver component for esp-idf.
- |
-

-Functions | |
| TEST_CASE ("BNO08x Driver Creation for [FeatureTests] Tests", "[FeatureTests]") | |
| TEST_CASE ("Hard Reset", "[FeatureTests]") | |
| TEST_CASE ("Soft Reset", "[FeatureTests]") | |
| TEST_CASE ("Sleep", "[FeatureTests]") | |
| TEST_CASE ("Get Metadata", "[FeatureTests]") | |
| TEST_CASE ("Get Sample Counts", "[FeatureTests]") | |
| TEST_CASE ("Enable Dynamic Calibration", "[FeatureTests]") | |
| TEST_CASE ("Save Dynamic Calibration", "[FeatureTests]") | |
| TEST_CASE ("Autosave Dynamic Calibration", "[FeatureTests]") | |
| TEST_CASE ("Disable Dynamic Calibration", "[FeatureTests]") | |
| TEST_CASE ("Clear Dynamic Calibration", "[FeatureTests]") | |
| TEST_CASE ("BNO08x Driver Cleanup for [FeatureTests] Tests", "[FeatureTests]") | |
| TEST_CASE | -( | -"Autosave Dynamic Calibration" | , | -
| - | - | "" | [FeatureTests] ) | -

| TEST_CASE | -( | -"BNO08x Driver Cleanup for Tests" | [FeatureTests], | -
| - | - | "" | [FeatureTests] ) | -

| TEST_CASE | -( | -"BNO08x Driver Creation for Tests" | [FeatureTests], | -
| - | - | "" | [FeatureTests] ) | -

| TEST_CASE | -( | -"Clear Dynamic Calibration" | , | -
| - | - | "" | [FeatureTests] ) | -

| TEST_CASE | -( | -"Disable Dynamic Calibration" | , | -
| - | - | "" | [FeatureTests] ) | -

| TEST_CASE | -( | -"Enable Dynamic Calibration" | , | -
| - | - | "" | [FeatureTests] ) | -

| TEST_CASE | -( | -"Get Metadata" | , | -
| - | - | "" | [FeatureTests] ) | -

| TEST_CASE | -( | -"Get Sample Counts" | , | -
| - | - | "" | [FeatureTests] ) | -

| TEST_CASE | -( | -"Hard Reset" | , | -
| - | - | "" | [FeatureTests] ) | -

| TEST_CASE | -( | -"Save Dynamic Calibration" | , | -
| - | - | "" | [FeatureTests] ) | -

| TEST_CASE | -( | -"Sleep" | , | -
| - | - | "" | [FeatureTests] ) | -

| TEST_CASE | -( | -"Soft Reset" | , | -
| - | - | "" | [FeatureTests] ) | -

|
- esp32_BNO08x 1.31
-
- C++ BNO08x IMU driver component for esp-idf.
- |
-

-Functions | |
| TEST_CASE ("InitComprehensive Config Args", "[InitComprehensive]") | |
| TEST_CASE ("InitComprehensive GPIO", "[InitComprehensive]") | |
| TEST_CASE ("InitComprehensive HINT ISR", "[InitComprehensive]") | |
| TEST_CASE ("InitComprehensive SPI", "[InitComprehensive]") | |
| TEST_CASE ("InitComprehensive sh2 HAL", "[InitComprehensive]") | |
| TEST_CASE ("InitComprehensive Tasks", "[InitComprehensive]") | |
| TEST_CASE ("DeinitComprehensive Tasks", "[DeinitComprehensive]") | |
| TEST_CASE ("DeinitComprehensive sh2 HAL", "[DeinitComprehensive]") | |
| TEST_CASE ("DeinitComprehensive HINT ISR", "[DeinitComprehensive]") | |
| TEST_CASE ("DeinitComprehensive SPI", "[DeinitComprehensive]") | |
| TEST_CASE ("DeinitComprehensive GPIO", "[DeinitComprehensive]") | |
| TEST_CASE ("Init and Deinit", "[InitDenit]") | |
| TEST_CASE | -( | -"DeinitComprehensive GPIO" | , | -
| - | - | "" | [DeinitComprehensive] ) | -

| TEST_CASE | -( | -"DeinitComprehensive HINT ISR" | , | -
| - | - | "" | [DeinitComprehensive] ) | -

| TEST_CASE | -( | -"DeinitComprehensive sh2 HAL" | , | -
| - | - | "" | [DeinitComprehensive] ) | -

| TEST_CASE | -( | -"DeinitComprehensive SPI" | , | -
| - | - | "" | [DeinitComprehensive] ) | -

| TEST_CASE | -( | -"DeinitComprehensive Tasks" | , | -
| - | - | "" | [DeinitComprehensive] ) | -

| TEST_CASE | -( | -"Init and Deinit" | , | -
| - | - | "" | [InitDenit] ) | -

| TEST_CASE | -( | -"InitComprehensive Config Args" | , | -
| - | - | "" | [InitComprehensive] ) | -

| TEST_CASE | -( | -"InitComprehensive GPIO" | , | -
| - | - | "" | [InitComprehensive] ) | -

| TEST_CASE | -( | -"InitComprehensive HINT ISR" | , | -
| - | - | "" | [InitComprehensive] ) | -

| TEST_CASE | -( | -"InitComprehensive sh2 HAL" | , | -
| - | - | "" | [InitComprehensive] ) | -

| TEST_CASE | -( | -"InitComprehensive SPI" | , | -
| - | - | "" | [InitComprehensive] ) | -

| TEST_CASE | -( | -"InitComprehensive Tasks" | , | -
| - | - | "" | [InitComprehensive] ) | -

|
- esp32_BNO08x 1.31
-
- C++ BNO08x IMU driver component for esp-idf.
- |
-

-Functions | |
| TEST_CASE ("BNO08x Driver Creation for [MultiReportEnableDisable] Tests", "[MultiReportEnableDisable]") | |
| TEST_CASE ("Enable/Disable Dual Report", "[MultiReportEnableDisable]") | |
| TEST_CASE ("Enable/Disable Quad Report", "[MultiReportEnableDisable]") | |
| TEST_CASE ("Enable/Disable Octo Report", "[MultiReportEnableDisable]") | |
| TEST_CASE ("BNO08x Driver Cleanup for [MultiReportEnableDisable] Tests", "[MultiReportEnableDisable]") | |
| TEST_CASE | -( | -"BNO08x Driver Cleanup for Tests" | [MultiReportEnableDisable], | -
| - | - | "" | [MultiReportEnableDisable] ) | -

| TEST_CASE | -( | -"BNO08x Driver Creation for Tests" | [MultiReportEnableDisable], | -
| - | - | "" | [MultiReportEnableDisable] ) | -

| TEST_CASE | -( | -"Enable/Disable Dual Report" | , | -
| - | - | "" | [MultiReportEnableDisable] ) | -

| TEST_CASE | -( | -"Enable/Disable Octo Report" | , | -
| - | - | "" | [MultiReportEnableDisable] ) | -

| TEST_CASE | -( | -"Enable/Disable Quad Report" | , | -
| - | - | "" | [MultiReportEnableDisable] ) | -

|
- esp32_BNO08x 1.31
-
- C++ BNO08x IMU driver component for esp-idf.
- |
-
|
- esp32_BNO08x 1.31
-
- C++ BNO08x IMU driver component for esp-idf.
- |
-

-Functions | |
| TEST_CASE ("BNO08x Driver Creation for [SingleReportEnableDisable] Tests", "[SingleReportEnableDisable]") | |
| TEST_CASE ("Enable Incorrect Report", "[SingleReportEnableDisable]") | |
| TEST_CASE ("Enable/Disable Accelerometer", "[SingleReportEnableDisable]") | |
| TEST_CASE ("Enable/Disable Linear Accelerometer", "[SingleReportEnableDisable]") | |
| TEST_CASE ("Enable/Disable Gravity", "[SingleReportEnableDisable]") | |
| TEST_CASE ("Enable/Disable Cal Magnetometer", "[SingleReportEnableDisable]") | |
| TEST_CASE ("Enable/Disable Uncal Magnetometer", "[SingleReportEnableDisable]") | |
| TEST_CASE ("Enable/Disable Cal Gyro", "[SingleReportEnableDisable]") | |
| TEST_CASE ("Enable/Disable Uncal Gyro", "[SingleReportEnableDisable]") | |
| TEST_CASE ("Enable/Disable RV", "[SingleReportEnableDisable]") | |
| TEST_CASE ("Enable/Disable Game RV", "[SingleReportEnableDisable]") | |
| TEST_CASE ("Enable/Disable ARVR Stabilized RV", "[SingleReportEnableDisable]") | |
| TEST_CASE ("Enable/Disable ARVR Stabilized Game RV", "[SingleReportEnableDisable]") | |
| TEST_CASE ("Enable/Disable Gyro Integrated RV", "[SingleReportEnableDisable]") | |
| TEST_CASE ("Enable/Disable Geomagnetic RV", "[SingleReportEnableDisable]") | |
| TEST_CASE ("BNO08x Driver Cleanup for [SingleReportEnableDisable] Tests", "[SingleReportEnableDisable]") | |
| TEST_CASE | -( | -"BNO08x Driver Cleanup for Tests" | [SingleReportEnableDisable], | -
| - | - | "" | [SingleReportEnableDisable] ) | -

| TEST_CASE | -( | -"BNO08x Driver Creation for Tests" | [SingleReportEnableDisable], | -
| - | - | "" | [SingleReportEnableDisable] ) | -

| TEST_CASE | -( | -"Enable Incorrect Report" | , | -
| - | - | "" | [SingleReportEnableDisable] ) | -

| TEST_CASE | -( | -"Enable/Disable Accelerometer" | , | -
| - | - | "" | [SingleReportEnableDisable] ) | -

| TEST_CASE | -( | -"Enable/Disable ARVR Stabilized Game RV" | , | -
| - | - | "" | [SingleReportEnableDisable] ) | -

| TEST_CASE | -( | -"Enable/Disable ARVR Stabilized RV" | , | -
| - | - | "" | [SingleReportEnableDisable] ) | -

| TEST_CASE | -( | -"Enable/Disable Cal Gyro" | , | -
| - | - | "" | [SingleReportEnableDisable] ) | -

| TEST_CASE | -( | -"Enable/Disable Cal Magnetometer" | , | -
| - | - | "" | [SingleReportEnableDisable] ) | -

| TEST_CASE | -( | -"Enable/Disable Game RV" | , | -
| - | - | "" | [SingleReportEnableDisable] ) | -

| TEST_CASE | -( | -"Enable/Disable Geomagnetic RV" | , | -
| - | - | "" | [SingleReportEnableDisable] ) | -

| TEST_CASE | -( | -"Enable/Disable Gravity" | , | -
| - | - | "" | [SingleReportEnableDisable] ) | -

| TEST_CASE | -( | -"Enable/Disable Gyro Integrated RV" | , | -
| - | - | "" | [SingleReportEnableDisable] ) | -

| TEST_CASE | -( | -"Enable/Disable Linear Accelerometer" | , | -
| - | - | "" | [SingleReportEnableDisable] ) | -

| TEST_CASE | -( | -"Enable/Disable RV" | , | -
| - | - | "" | [SingleReportEnableDisable] ) | -

| TEST_CASE | -( | -"Enable/Disable Uncal Gyro" | , | -
| - | - | "" | [SingleReportEnableDisable] ) | -

| TEST_CASE | -( | -"Enable/Disable Uncal Magnetometer" | , | -
| - | - | "" | [SingleReportEnableDisable] ) | -

| ▼NBNO08xPrivateTypes | |
| Cbno08x_init_status_t | Holds info about which functionality has been successfully initialized (used by deconstructor during cleanup) |
| ▼NBNO08xPrivateTypes | |
| Cbno08x_init_status_t | Holds info about which functionality has been successfully initialized (used by deconstructor during cleanup) |
| Cbno08x_sync_ctx_t | Holds context used to synchronize tasks and callback execution |
| ▼CBNO08x | BNO08x IMU driver class |
| ▼CBNO08x | BNO08x IMU driver class |
| Cbno08x_reports_t | Contains report implementations |
| Cbno08x_accel_t | Struct to represent acceleration data from acceleration, linear acceleration, and gravity reports |
| Cbno08x_accel_t | Struct to represent acceleration data from acceleration, linear acceleration, and gravity reports |
| Cbno08x_activity_classifier_t | Struct to represent activity classifier data |
| Cbno08x_ang_vel_t | Struct to represent angular velocity (units in rad/s) |
| Cbno08x_ang_vel_t | Struct to represent angular velocity (units in rad/s) |
| Cbno08x_config_t | IMU configuration settings passed into constructor |
| Cbno08x_euler_angle_t | Struct to represent euler angle (units in degrees or rads) |
| Cbno08x_euler_angle_t | Struct to represent euler angle (units in degrees or rads) |
| Cbno08x_gyro_bias_t | Struct to represent gyro bias data (units in rad/s) |
| Cbno08x_gyro_t | Struct to represent gyro data (units in rad/s) |
| Cbno08x_gyro_t | Struct to represent gyro data (units in rad/s) |
| Cbno08x_magf_bias_t | Struct to represent magnetic field bias data (units in uTesla) |
| Cbno08x_magf_t | Struct to represent magnetic field data (units in uTesla) |
| Cbno08x_magf_t | Struct to represent magnetic field data (units in uTesla) |
| Cbno08x_meta_data_t | Struct to represent sensor/report meta data, returned from BNO08xRpt::get_meta_data() |
| Cbno08x_quat_t | Struct to represent unit quaternion |
| Cbno08x_quat_t | Struct to represent unit quaternion |
| Cbno08x_raw_accel_t | Struct to represent raw mems accelerometer data from raw accelerometer reports (units in ADC counts) |
| Cbno08x_raw_gyro_t | Struct to represent raw mems gyro data from raw gyro reports (units in ADC counts) |
| Cbno08x_raw_gyro_t | Struct to represent raw mems gyro data from raw gyro reports (units in ADC counts) |
| Cbno08x_raw_magf_t | Struct to represent raw mems magnetometer data from raw magnetometer reports (units in ADC counts) |
| Cbno08x_sample_counts_t | Struct to represent sample counts, returned from BNO08xRpt::get_sample_counts() |
| Cbno08x_sample_counts_t | Struct to represent sample counts, returned from BNO08xRpt::get_sample_counts() |
| Cbno08x_shake_detector_t | Struct to represent shake detector data (flag meaning: 0 = no shake 1 = shake detected) |
| Cbno08x_stability_classifier_t | Struct to represent stability classifier data from stability classifier reports |
| Cbno08x_stability_classifier_t | Struct to represent stability classifier data from stability classifier reports |
| Cbno08x_step_counter_t | Struct to represent step counter data from step counter reports |
| Cbno08x_tap_detector_t | Struct to represent tap detector data (flag meaning: 0 = no tap, 1 = positive tap on axis, -1 = negative tap on axis) |
| Cbno08x_tap_detector_t | Struct to represent tap detector data (flag meaning: 0 = no tap, 1 = positive tap on axis, -1 = negative tap on axis) |
| CBNO08xCbGeneric | Parent class to represent callback functions as generic type such that all flavors can be invoked by single type |
| CBNO08xCbParamRptID | Class to hold callback functions which are passed report ID as input parameter |
| CBNO08xCbParamRptID | Class to hold callback functions which are passed report ID as input parameter |
| CBNO08xCbParamVoid | |
| CBNO08xRpt | Class to represent and manage reports returned from BNO08x |
| CBNO08xRpt | Class to represent and manage reports returned from BNO08x |
| CBNO08xRptAcceleration | Class to represent accelerometer reports. (See Ref. Manual 6.5.9) |
| CBNO08xRptActivityClassifier | Class to represent activity classifier reports. (See Ref. Manual 6.5.36) |
| CBNO08xRptActivityClassifier | Class to represent activity classifier reports. (See Ref. Manual 6.5.36) |
| CBNO08xRptARVRStabilizedGameRV | Class to represent ARVR stabilized rotation vector reports. (See Ref. Manual 6.5.43) |
| CBNO08xRptARVRStabilizedRV | Class to represent ARVR stabilized rotation vector reports. (See Ref. Manual 6.5.42) |
| CBNO08xRptARVRStabilizedRV | Class to represent ARVR stabilized rotation vector reports. (See Ref. Manual 6.5.42) |
| CBNO08xRptCalGyro | Class to represent calibrated gyro reports. (See Ref. Manual 6.5.13) |
| CBNO08xRptCalMagnetometer | Class to represent calibrated magnetometer reports. (See Ref. Manual 6.5.16) |
| CBNO08xRptCalMagnetometer | Class to represent calibrated magnetometer reports. (See Ref. Manual 6.5.16) |
| CBNO08xRptGameRV | Class to represent game rotation vector reports. (See Ref. Manual 6.5.19) |
| CBNO08xRptGravity | Class to represent gravity reports. (See Ref. Manual 6.5.11) |
| CBNO08xRptGravity | Class to represent gravity reports. (See Ref. Manual 6.5.11) |
| CBNO08xRptIGyroRV | Class to represent integrated gyro rotation vector reports. (See Ref. Manual 6.5.44) |
| CBNO08xRptLinearAcceleration | Class to represent linear accelerometer reports. (See Ref. Manual 6.5.10) |
| CBNO08xRptLinearAcceleration | Class to represent linear accelerometer reports. (See Ref. Manual 6.5.10) |
| CBNO08xRptRawMEMSAccelerometer | Class to represent raw accelerometer reports. (See Ref. Manual 6.5.8) |
| CBNO08xRptRawMEMSGyro | Class to represent raw gyro reports. (See Ref. Manual 6.5.12) |
| CBNO08xRptRawMEMSGyro | Class to represent raw gyro reports. (See Ref. Manual 6.5.12) |
| CBNO08xRptRawMEMSMagnetometer | Class to represent raw magnetometer reports. (See Ref. Manual 6.5.15) |
| CBNO08xRptRV | Class to represent rotation vector reports. (See Ref. Manual 6.5.18) |
| CBNO08xRptRV | Class to represent rotation vector reports. (See Ref. Manual 6.5.18) |
| CBNO08xRptRVGeneric | Class to represent rotation vector reports |
| CBNO08xRptRVGeomag | Class to represent geomagnetic rotation vector reports. (See Ref. Manual 6.5.20) |
| CBNO08xRptRVGeomag | Class to represent geomagnetic rotation vector reports. (See Ref. Manual 6.5.20) |
| CBNO08xRptShakeDetector | Class to represent shake detector reports. (See Ref. Manual 6.5.32) |
| CBNO08xRptStabilityClassifier | Class to represent stability classifier reports. (See Ref. Manual 6.5.31) |
| CBNO08xRptStabilityClassifier | Class to represent stability classifier reports. (See Ref. Manual 6.5.31) |
| CBNO08xRptStepCounter | Class to represent step counter reports. (See Ref. Manual 6.5.29) |
| CBNO08xRptTapDetector | Class to represent tap detector reports. (See Ref. Manual 6.5.27) |
| CBNO08xRptTapDetector | Class to represent tap detector reports. (See Ref. Manual 6.5.27) |
| CBNO08xRptUncalGyro | Class to represent uncalibrated gyro reports. (See Ref. Manual 6.5.14) |
| CBNO08xRptUncalMagnetometer | Class to represent uncalibrated magnetometer reports. (See Ref. Manual 6.5.17) |
| CBNO08xRptUncalMagnetometer | Class to represent uncalibrated magnetometer reports. (See Ref. Manual 6.5.17) |
| CBNO08xSH2HAL | Fully static class containing callback implementations for sh2 HAL lib |
| CBNO08xTestHelper | BNO08x unit test helper class |
| CBNO08xTestHelper | BNO08x unit test helper class |
| CBNO08xTestSuite | BNO08x unit test launch point class |
This is the complete list of members for BNO08x, including all inherited members.
BNO08x IMU driver class. - More...
+ More...#include <BNO08x.hpp>

Public Types | |
| typedef struct BNO08x::bno08x_reports_t | bno08x_reports_t |
| Contains report implementations. | |
| typedef struct BNO08x::bno08x_reports_t | bno08x_reports_t |
| Contains report implementations. More... | |
Public Member Functions | |
| BNO08x (bno08x_config_t imu_config=bno08x_config_t()) | |
| BNO08x imu constructor. | |
| BNO08x (bno08x_config_t imu_config=bno08x_config_t()) | |
| BNO08x imu constructor. More... | |
| ~BNO08x () | |
| BNO08x imu deconstructor. | |
| ~BNO08x () | |
| BNO08x imu deconstructor. More... | |
| bool | initialize () |
| Initializes BNO08x sensor. | |
| bool | initialize () |
| Initializes BNO08x sensor. More... | |
| bool | hard_reset () |
| Hard resets BNO08x device. | |
| bool | hard_reset () |
| Hard resets BNO08x device. More... | |
| bool | soft_reset () |
| Soft resets BNO08x device by sending RESET (1) command on "device" channel. | |
| bool | soft_reset () |
| Soft resets BNO08x device by sending RESET (1) command on "device" channel. More... | |
| bool | disable_all_reports () |
| Disables all currently enabled reports. | |
| bool | disable_all_reports () |
| Disables all currently enabled reports. More... | |
| BNO08xResetReason | get_reset_reason () |
| Returns reason for previous reset via product ID report. | |
| BNO08xResetReason | get_reset_reason () |
| Returns reason for previous reset via product ID report. More... | |
| bool | on () |
| Places BNO08x device in on state by sending ON (2) command on "device" channel. | |
| bool | on () |
| Places BNO08x device in on state by sending ON (2) command on "device" channel. More... | |
| bool | sleep () |
| Places BNO08x device in sleep state by sending SLEEP (3) command on "device" channel. | |
| bool | sleep () |
| Places BNO08x device in sleep state by sending SLEEP (3) command on "device" channel. More... | |
| bool | calibration_start (uint32_t period_us) |
| Starts simple calibration, see ref. manual 6.4.10.1. | |
| bool | calibration_end (sh2_CalStatus_t &status) |
| Ends turn-table calibration, see ref. manual 6.4.10.2. | |
| bool | dynamic_calibration_enable (BNO08xCalSel sensor) |
| Enables dynamic/motion engine calibration for specified sensor(s), see ref. manual 6.4.6.1. | |
| bool | dynamic_calibration_enable (BNO08xCalSel sensor) |
| Starts simple calibration, see ref. manual 6.4.10.1. More... | |
| bool | dynamic_calibration_disable (BNO08xCalSel sensor) |
| Disables dynamic/motion engine calibration for specified sensor(s), see ref. manual 6.4.6.1. | |
| bool | dynamic_calibration_disable (BNO08xCalSel sensor) |
| Disables dynamic/motion engine calibration for specified sensor(s), see ref. manual 6.4.6.1. More... | |
| bool | dynamic_calibration_autosave_enable () |
| Enables the automatic saving of dynamic/ME calibration data to BNO08x internal flash See ref manual 6.4.7.1. | |
| bool | dynamic_calibration_autosave_enable () |
| Enables the automatic saving of dynamic/ME calibration data to BNO08x internal flash See ref manual 6.4.7.1. More... | |
| bool | dynamic_calibration_autosave_disable () |
| Disables the automatic saving of dynamic/ME calibration data to BNO08x internal flash See ref manual 6.4.7.1. | |
| bool | dynamic_calibration_autosave_disable () |
| Disables the automatic saving of dynamic/ME calibration data to BNO08x internal flash See ref manual 6.4.7.1. More... | |
| bool | save_dynamic_calibration () |
| Saves dynamic/motion engine calibration data to BNO08x internal flash immediately. See ref manual 6.4.5.1. | |
| bool | clear_dynamic_calibration () |
| Clears dynamic/motion engine calibration data and resets BNO08x device. See ref manual 6.4.9.1. | |
| bool | get_frs (uint16_t frs_ID, uint32_t(&data)[16], uint16_t &rx_data_sz) |
| Retrieves a record from flash record system (if your goal is to retrieve meta data use the BNO08xRpt:get_meta_data() method instead) | |
| sh2_ProductIds_t | get_product_IDs () |
| Returns product ID info sent by IMU at initialization. | |
| bool | dynamic_calibration_save () |
| Saves dynamic/motion engine calibration data to BNO08x internal flash immediately. See ref manual 6.4.5.1. More... | |
| bool | dynamic_calibration_data_clear_ram () |
| Clears dynamic/motion engine calibration data from ram and resets BNO08x device. See ref manual 6.4.9.1. More... | |
| bool | dynamic_calibration_data_delete () |
| Deletes dynamic calibration data from BNO08x internal flash and resets the device. Follows the steps outlined in ref. manual 6.4.9. More... | |
| bool | dynamic_calibration_run_routine () |
| Example calibration routine using dynamic/ME calibration commands. More... | |
| bool | set_system_orientation (float w, float x, float y, float z) |
| Sets the system orientation of the BNO08x device and persist it in flash (FRS). More... | |
| bool | get_system_orientation (float &w, float &x, float &y, float &z) |
| Retrieves the system orientation of the BNO08x device and converts to float. More... | |
| bool | get_frs (BNO08xFrsID frs_ID, uint32_t(&data)[16], uint16_t &rx_data_sz) |
| Retrieves a record from flash record system (if your goal is to retrieve sensor specific meta data use the BNO08xRpt:get_meta_data() method instead) More... | |
| bool | write_frs (BNO08xFrsID frs_ID, uint32_t *data, const uint16_t tx_data_sz) |
| Writes a record to flash record system. More... | |
| sh2_ProductIds_t | get_product_IDs () |
| Returns product ID info sent by IMU at initialization. More... | |
| bool | data_available () |
| Polls for new data/report to become available. | |
| bool | data_available () |
| Polls for new data/report to become available. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a report is received. More... | |
| bool | register_cb (std::function< void(uint8_t report_ID)> cb_fxn) |
| Registers a callback to execute when new data from a report is received, overloaded with callback param for most recent report ID. | |
| bool | register_cb (std::function< void(uint8_t report_ID)> cb_fxn) |
| Registers a callback to execute when new data from a report is received, overloaded with callback param for most recent report ID. More... | |
| void | print_product_ids () |
| Prints product IDs received at initialization. | |
| void | print_product_ids () |
| Prints product IDs received at initialization. More... | |
-Static Public Member Functions | |
| static const char * | activity_to_str (BNO08xActivity activity) |
| Converts a BNO08xActivity enum to string. | |
| static const char * | stability_to_str (BNO08xStability stability) |
| Converts a BNO08xStability enum to string. | |
| static const char * | accuracy_to_str (BNO08xAccuracy accuracy) |
| void | print_system_orientation () |
| Retrieves and prints system orientation. More... | |
Public Attributes | |
| bno08x_reports_t | rpt |
| bno08x_reports_t | rpt |
-Private Member Functions | |
| void | data_proc_task () |
| Task responsible for parsing/handling sensor events sent by SH2 HAL and updating data that is returned to user. | |
| void | sh2_HAL_service_task () |
| Task responsible for calling shtp_service() when HINT is asserted to dispatch any sh2 HAL lib callbacks. | |
| void | cb_task () |
| Task responsible for executing callbacks registered with register_cb(). | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | handle_sensor_report (sh2_SensorValue_t *sensor_val) |
| Parses receieved report and updates uer data with it. | |
| void | handle_cb (uint8_t rpt_ID, BNO08xCbGeneric *cb_entry) |
| Determines the flavor of a passed callback and executes it appropriately. | |
| esp_err_t | init_config_args () |
| Initializes required esp-idf SPI data structures with values from user passed bno08x_config_t struct. | |
| esp_err_t | init_gpio () |
| Initializes required gpio. | |
| esp_err_t | init_gpio_inputs () |
| Initializes required gpio inputs. | |
| esp_err_t | init_gpio_outputs () |
| Initializes required gpio outputs. | |
| esp_err_t | init_hint_isr () |
| Initializes host interrupt ISR. | |
| esp_err_t | init_spi () |
| Initializes SPI. | |
| esp_err_t | init_tasks () |
| Initializes data_proc_task. | |
| esp_err_t | init_sh2_HAL () |
| Initializes sh2 HAL. | |
| esp_err_t | deinit_gpio () |
| Deinitializes GPIO, called from deconstructor. | |
| esp_err_t | deinit_gpio_inputs () |
| Deinitializes GPIO inputs, called from deconstructor. | |
| esp_err_t | deinit_gpio_outputs () |
| Deinitializes GPIO outputs, called from deconstructor. | |
| esp_err_t | deinit_hint_isr () |
| Deinitializes host interrupt ISR, called from deconstructor. | |
| esp_err_t | deinit_spi () |
| Deinitializes SPI. | |
| esp_err_t | deinit_tasks () |
| Deinitializes tasks used by BNO08x driver. | |
| esp_err_t | deinit_sh2_HAL () |
| Deinitializes sh2 HAL. | |
| esp_err_t | wait_for_hint () |
| Waits for HINT pin assertion or HOST_INT_TIMEOUT_DEFAULT_MS to elapse. | |
| esp_err_t | wait_for_reset () |
| Waits for SH2 HAL lib to detect reset or HOST_INT_TIMEOUT_DEFAULT_MS to elapse. | |
| void | toggle_reset () |
| Toggles reset gpio pin for hard reset of BNO08x device. | |
| esp_err_t | re_enable_reports () |
| Re-enables all reports enabled by user (called when BNO08x reset is detected by sh2 HAL lib). | |
-Static Private Member Functions | |
| static void | data_proc_task_trampoline (void *arg) |
| Static function used to launch data processing task. | |
| static void | sh2_HAL_service_task_trampoline (void *arg) |
| Static function used to launch sh2 HAL service task. | |
| static void | cb_task_trampoline (void *arg) |
| Static function used to launch cb_task task. | |
| static void IRAM_ATTR | hint_handler (void *arg) |
| HINT interrupt service routine, handles falling edge of BNO08x HINT pin. | |
-Private Attributes | |
| TaskHandle_t | data_proc_task_hdl |
| data_proc_task() task handle | |
| TaskHandle_t | sh2_HAL_service_task_hdl |
| sh2_HAL_service_task() task handle | |
| TaskHandle_t | cb_task_hdl |
| sh2_HAL_service_task() task handle | |
| SemaphoreHandle_t | sem_kill_tasks |
| Counting Semaphore to count amount of killed tasks. | |
| sh2_Hal_t | sh2_HAL |
| sh2 hardware abstraction layer struct for use with sh2 HAL lib. | |
| QueueHandle_t | queue_rx_sensor_event |
| Queue to send sensor events from sh2 HAL sensor event callback (BNO08xSH2HAL::sensor_event_cb()) to data_proc_task() | |
| QueueHandle_t | queue_cb_report_id |
| Queue to send report ID of most recent report to cb_task() | |
| bno08x_config_t | imu_config {} |
| IMU configuration settings. | |
| spi_bus_config_t | bus_config {} |
| SPI bus GPIO configuration settings. | |
| spi_device_interface_config_t | imu_spi_config {} |
| SPI slave device settings. | |
| spi_device_handle_t | spi_hdl {} |
| SPI device handle. | |
| spi_transaction_t | spi_transaction {} |
| SPI transaction handle. | |
| BNO08xPrivateTypes::bno08x_init_status_t | init_status |
| Initialization status of various functionality, used by deconstructor during cleanup, set during initialization. | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t | sync_ctx |
| Holds context used to synchronize tasks and callback execution. | |
| sh2_ProductIds_t | product_IDs |
| Product ID info returned IMU at initialization, can be viewed with print_product_ids() | |
| etl::map< uint8_t, BNO08xRpt *, TOTAL_RPT_COUNT, etl::less< uint8_t > > | usr_reports |
-Static Private Attributes | |
| static const constexpr configSTACK_DEPTH_TYPE | DATA_PROC_TASK_SZ |
| Size of data_proc_task() stack in bytes. | |
| static const constexpr configSTACK_DEPTH_TYPE | SH2_HAL_SERVICE_TASK_SZ |
| Size of sh2_HAL_service_task() stack in bytes. | |
| static const constexpr configSTACK_DEPTH_TYPE | CB_TASK_SZ |
| Size of sh2_HAL_service_task() stack in bytes. | |
| static const constexpr uint16_t | RX_DATA_LENGTH = 300U |
| length buffer containing data received over spi | |
| static const constexpr TickType_t | HOST_INT_TIMEOUT_DEFAULT_MS |
| Max wait between HINT being asserted by BNO08x before transaction is considered failed (in miliseconds). | |
| static const constexpr TickType_t | DATA_AVAILABLE_TIMEOUT_MS |
| Max wait between data_available() being called and no new data/report being detected. | |
| static const constexpr TickType_t | HARD_RESET_DELAY_MS |
| How long RST pin is held low during hard reset (min 10ns according to datasheet, but should be longer for stable operation) | |
| static const constexpr uint32_t | SCLK_MAX_SPEED = 3000000UL |
| Max SPI SCLK speed BNO08x is capable of. | |
| static const constexpr char * | TAG = "BNO08x" |
| Class tag used for serial print statements. | |
+Static Public Attributes | |
| static constexpr float | SQRT2OVER2 = 0.7071067811865476f |
Friends | |
| class | BNO08xSH2HAL |
| class | BNO08xSH2HAL |
| class | BNO08xTestHelper |
| class | BNO08xTestHelper |
BNO08x IMU driver class.
+BNO08x IMU driver class.
| typedef struct BNO08x::bno08x_reports_t BNO08x::bno08x_reports_t | +typedef struct BNO08x::bno08x_reports_t BNO08x::bno08x_reports_t |
bno08x_config_t()BNO08x imu constructor.
-Construct a BNO08x object for managing a BNO08x sensor.
+Construct a BNO08x object for managing a BNO08x sensor.
| imu_config | Configuration settings (optional), default settings can be seen in bno08x_config_t | |||||
| BNO08x::~BNO08x | ( | -) | +) |
-
|
- -static | -

-
|
- -static | -
Converts a BNO08xActivity enum to string.
-| bool BNO08x::calibration_end | -( | -sh2_CalStatus_t & | status | ) | -- |
Ends turn-table calibration, see ref. manual 6.4.10.2.
-| status | Returned status bits indicating result of turntable calibration. |

| bool BNO08x::calibration_start | -( | -uint32_t | period_us | ) | -- |
Starts simple calibration, see ref. manual 6.4.10.1.
-| period_us | This interval should be set to whatever rate the sensor hub is expected to run at after calibration. |
After the calibration is started, the IMU should be rotated 180 degrees. After the IMU has been rotated call calibration_end(). See ref. manual 6.4.10 for more detailed instructions.
-
-
|
- -private | -
Task responsible for executing callbacks registered with register_cb().
-

-
|
- -staticprivate | -
Static function used to launch cb_task task.
-Used such that cb_task() can be non-static class member.
-| arg | void pointer to BNO08x imu object |


| bool BNO08x::clear_dynamic_calibration | -( | -) | -- |
Clears dynamic/motion engine calibration data and resets BNO08x device. See ref manual 6.4.9.1.
-


-
|
- -private | -
Task responsible for parsing/handling sensor events sent by SH2 HAL and updating data that is returned to user.
-

-
|
- -staticprivate | -
Static function used to launch data processing task.
-Used such that data_proc_task() can be non-static class member.
-| arg | void pointer to BNO08x imu object |


-
|
- -private | -
Deinitializes GPIO, called from deconstructor.
-

-
|
- -private | -
Deinitializes GPIO inputs, called from deconstructor.
-
-
|
- -private | -
Deinitializes GPIO outputs, called from deconstructor.
-
-
|
- -private | -
Deinitializes host interrupt ISR, called from deconstructor.
-
-
|
- -private | -
Deinitializes sh2 HAL.
-
-
|
- -private | -
Deinitializes SPI.
-
-
|
- -private | -
Deinitializes tasks used by BNO08x driver.
-

Disables the automatic saving of dynamic/ME calibration data to BNO08x internal flash See ref manual 6.4.7.1.


Enables the automatic saving of dynamic/ME calibration data to BNO08x internal flash See ref manual 6.4.7.1.
| bool BNO08x::dynamic_calibration_data_clear_ram | +( | +) | ++ |
Clears dynamic/motion engine calibration data from ram and resets BNO08x device. See ref manual 6.4.9.1.
+



| bool BNO08x::dynamic_calibration_data_delete | +( | +) | ++ |
Deletes dynamic calibration data from BNO08x internal flash and resets the device. Follows the steps outlined in ref. manual 6.4.9.
+


Enables dynamic/motion engine calibration for specified sensor(s), see ref. manual 6.4.6.1.
+Starts simple calibration, see ref. manual 6.4.10.1.
+| period_us | This interval should be set to whatever rate the sensor hub is expected to run at after calibration. |
After the calibration is started, the IMU should be rotated 180 degrees. After the IMU has been rotated call calibration_end(). See ref. manual 6.4.10 for more detailed instructions.
+Ends turn-table calibration, see ref. manual 6.4.10.2
+| status | Returned status bits indicating result of turntable calibration. |
Enables dynamic/motion engine calibration for specified sensor(s), see ref. manual 6.4.6.1
| sensor | The sensor(s) to enable dynamic/ME calibration for. |
| bool BNO08x::dynamic_calibration_run_routine | +( | +) | ++ |
Example calibration routine using dynamic/ME calibration commands.
+Routine does the following:alignas
+1) disables all enabled reports 2) sends a command to enable dynamic/motion engine calibration for all possible options (SH2_CAL_ACCEL | SH2_CAL_GYRO | SH2_CAL_MAG | SH2_CAL_PLANAR) 3) enables game rotation vector reports and calibrated magnetic field reports 4) moving window average for accuracy received through reports 5) deems calibration accuracy threshold met when magf accuracy avg is >=2 (MED) and quat accuracy avg >=3 (HIGH) for longer than 5 seconds 6) sends command to save dynamic calibration data 7) disables all enabled reports
+Note the DCD commands don't have to be used this way, this is just an example, but the dynamic_calibration_autosave_enable() allows calibration to be run and saved constantly even while data is used for other operations.
+
| bool BNO08x::dynamic_calibration_save | +( | +) | ++ |
Saves dynamic/motion engine calibration data to BNO08x internal flash immediately. See ref manual 6.4.5.1.
+
Retrieves a record from flash record system (if your goal is to retrieve meta data use the BNO08xRpt:get_meta_data() method instead)
-For more details on returned and data and frs_ID see ref. manual 6.3.7 & 4.3
+Retrieves a record from flash record system (if your goal is to retrieve sensor specific meta data use the BNO08xRpt:get_meta_data() method instead)
+For more details on returned and data and frs_IDs see ref. manual 6.3.7 & 4.3
| frs_ID | The ID of the desired record to retrieve from flash. | |||||
| sh2_ProductIds_t BNO08x::get_product_IDs | ( | -) | +) |
| BNO08xResetReason BNO08x::get_reset_reason | +BNO08xResetReason BNO08x::get_reset_reason | ( | -) | +) |
Returns reason for previous reset via product ID report.
-

|
- -private | -
Determines the flavor of a passed callback and executes it appropriately.
-Retrieves the system orientation of the BNO08x device and converts to float.
+| Qw | Reference to save real component of mapping quaternion. |
| Qx | Reference to save X (i) component of mapping quaternion. |
| Qy | Reference to save Y (j) component of mapping quaternion. |
| Qz | Reference to save Z (k) component of mapping quaternion. |



-
|
- -private | -
Parses receieved report and updates uer data with it.
-



-
|
- -staticprivate | -
HINT interrupt service routine, handles falling edge of BNO08x HINT pin.
-ISR that launches SPI task to perform transaction upon assertion of BNO08x interrupt pin.
-
-
|
- -private | -
Initializes required esp-idf SPI data structures with values from user passed bno08x_config_t struct.
-
-
|
- -private | -
Initializes required gpio.
-

-
|
- -private | -
Initializes required gpio inputs.
-
-
|
- -private | -
Initializes required gpio outputs.
-
-
|
- -private | -
Initializes host interrupt ISR.
-

-
|
- -private | -
Initializes sh2 HAL.
-

-
|
- -private | -
Initializes SPI.
-
-
|
- -private | -
Initializes data_proc_task.
-

Initializes BNO08x sensor.
-Resets sensor and goes through initialization process. Configures GPIO, required ISRs, and launches two tasks, one to manage SPI transactions, another to process any received data.
+Resets sensor and goes through initialization process. Configures GPIO, required ISRs, and launches two tasks, one to manage SPI transactions, another to process any received data.


-
|
- -private | -
Locks sh2 HAL lib to only allow the calling task to call its APIs.
-
-
|
- -private | -
Locks locks user data to only allow the calling task to read/modify it.
-Places BNO08x device in on state by sending ON (2) command on "device" channel.


Prints product IDs received at initialization.

|
- -private | -
Re-enables all reports enabled by user (called when BNO08x reset is detected by sh2 HAL lib).
-Retrieves and prints system orientation.
+


| bool BNO08x::save_dynamic_calibration | +bool BNO08x::set_system_orientation | ( | -) | -+ | float | +Qw, |
Saves dynamic/motion engine calibration data to BNO08x internal flash immediately. See ref manual 6.4.5.1.
-

-
|
- -private | -
Task responsible for calling shtp_service() when HINT is asserted to dispatch any sh2 HAL lib callbacks.
-

-
|
- -staticprivate | -
Static function used to launch sh2 HAL service task.
-Used such that sh2_HAL_service_task() can be non-static class member.
+Sets the system orientation of the BNO08x device and persist it in flash (FRS).
+| arg | void pointer to BNO08x imu object |
| Qw | Real component of mapping quaternion. |
| Qx | X (i) component of mapping quaternion. |
| Qy | Y (j) component of mapping quaternion. |
| Qz | Z (k) component of mapping quaternion. |


Places BNO08x device in sleep state by sending SLEEP (3) command on "device" channel.



| bool BNO08x::write_frs | +( | +BNO08xFrsID | +frs_ID, | +
| + | + | uint32_t * | +data, | +
| + | + | const uint16_t | +tx_data_sz | +
| + | ) | ++ |
Writes a record to flash record system.
+For more details on flash records and frs_IDs see ref. manual 6.3.6 & 4.3
+| frs_ID | The ID of the desired to write to flash. |
| data | Buffer of 16 uint32_t to store data to send. |
| tx_data_sz | Length of data, amount of 32 bit words to write to flash. |



-
|
- -static | -
Converts a BNO08xStability enum to string.
-
-
|
- -private | -
Toggles reset gpio pin for hard reset of BNO08x device.
-
-
|
- -private | -
Unlocks sh2 HAL lib to allow other tasks to call its APIs.
-
-
|
- -private | -
Unlocks user data to allow other tasks to read/modify it.
-
-
|
- -private | -
Waits for HINT pin assertion or HOST_INT_TIMEOUT_DEFAULT_MS to elapse.
-
-
|
- -private | -
Waits for SH2 HAL lib to detect reset or HOST_INT_TIMEOUT_DEFAULT_MS to elapse.
-
-
|
- -private | -
SPI bus GPIO configuration settings.
- -
-
|
- -private | -
sh2_HAL_service_task() task handle
- -
-
|
- -staticconstexprprivate | -
Size of sh2_HAL_service_task() stack in bytes.
- -
-
|
- -staticconstexprprivate | -
Max wait between data_available() being called and no new data/report being detected.
- -
-
|
- -private | -
data_proc_task() task handle
- -
-
|
- -staticconstexprprivate | -
Size of data_proc_task() stack in bytes.
- -
-
|
- -staticconstexprprivate | -
How long RST pin is held low during hard reset (min 10ns according to datasheet, but should be longer for stable operation)
- -
-
|
- -staticconstexprprivate | -
Max wait between HINT being asserted by BNO08x before transaction is considered failed (in miliseconds).
- -
-
|
- -private | -
IMU configuration settings.
- -
-
|
- -private | -
SPI slave device settings.
- -
-
|
- -private | -
Initialization status of various functionality, used by deconstructor during cleanup, set during initialization.
- -
-
|
- -private | -
Product ID info returned IMU at initialization, can be viewed with print_product_ids()
- -
-
|
- -private | -
Queue to send report ID of most recent report to cb_task()
- -
-
|
- -private | -
Queue to send sensor events from sh2 HAL sensor event callback (BNO08xSH2HAL::sensor_event_cb()) to data_proc_task()
- -| const constexpr uint16_t BNO08x::RX_DATA_LENGTH = 300U | +constexpr float BNO08x::SQRT2OVER2 = 0.7071067811865476f |
length buffer containing data received over spi
- -
-
|
- -staticconstexprprivate | -
Max SPI SCLK speed BNO08x is capable of.
- -
-
|
- -private | -
Counting Semaphore to count amount of killed tasks.
- -
-
|
- -private | -
sh2 hardware abstraction layer struct for use with sh2 HAL lib.
- -
-
|
- -private | -
sh2_HAL_service_task() task handle
- -
-
|
- -staticconstexprprivate | -
Size of sh2_HAL_service_task() stack in bytes.
- -
-
|
- -private | -
SPI device handle.
- -
-
|
- -private | -
SPI transaction handle.
- -
-
|
- -private | -
Holds context used to synchronize tasks and callback execution.
- -
-
|
- -staticconstexprprivate | -
Class tag used for serial print statements.
- -
-
|
- -private | +staticconstexpr
Parent class to represent callback functions as generic type such that all flavors can be invoked by single type. - More...
+ More... -#include <BNO08xCbGeneric.hpp>
#include <callback/BNO08xCbGeneric.hpp>
Public Member Functions | |
| virtual void | invoke (uint8_t rpt_ID)=0 |
| virtual void | invoke (uint8_t rpt_ID)=0 |
| virtual | ~BNO08xCbGeneric ()=default |
| virtual | ~BNO08xCbGeneric ()=default |
Public Attributes | |
| uint8_t | rpt_ID |
| uint8_t | rpt_ID |
Protected Member Functions | |
| BNO08xCbGeneric (uint8_t rpt_ID) | |
| BNO08xCbGeneric (uint8_t rpt_ID) | |
Parent class to represent callback functions as generic type such that all flavors can be invoked by single type.
+Parent class to represent callback functions as generic type such that all flavors can be invoked by single type.
Implemented in BNO08xCbParamRptID, and BNO08xCbParamVoid.
-
| BNO08xCbGeneric(uint8_t rpt_ID) | BNO08xCbGeneric | inlineprotected |
| BNO08xCbParamRptID(std::function< void(uint8_t)> cb_fxn, uint8_t rpt_ID) | BNO08xCbParamRptID | inline |
| cb_fxn | BNO08xCbParamRptID | private |
| invoke(uint8_t rpt_ID) override | BNO08xCbParamRptID | inlinevirtual |
| rpt_ID | BNO08xCbGeneric | |
| ~BNO08xCbGeneric()=default | BNO08xCbGeneric | virtual |
| invoke(uint8_t rpt_ID) override | BNO08xCbParamRptID | inlinevirtual |
| rpt_ID | BNO08xCbGeneric | |
| ~BNO08xCbGeneric()=default | BNO08xCbGeneric | virtual |
Class to hold callback functions which are passed report ID as input parameter. - More...
+ More... -#include <BNO08xCbParamRptID.hpp>
#include <callback/BNO08xCbParamRptID.hpp>
Public Member Functions | |
| BNO08xCbParamRptID (std::function< void(uint8_t)> cb_fxn, uint8_t rpt_ID) | |
| BNO08xCbParamRptID (std::function< void(uint8_t)> cb_fxn, uint8_t rpt_ID) | |
| void | invoke (uint8_t rpt_ID) override |
| Invokes contained callback function. | |
| void | invoke (uint8_t rpt_ID) override |
| Invokes contained callback function. More... | |
Public Member Functions inherited from BNO08xCbGeneric | |
| virtual | ~BNO08xCbGeneric ()=default |
Public Member Functions inherited from BNO08xCbGeneric | |
| virtual void | invoke (uint8_t rpt_ID)=0 |
| virtual | ~BNO08xCbGeneric ()=default |
-Private Attributes | |
| std::function< void(uint8_t)> | cb_fxn |
| Wrapped callback function passed at register_cb(). | |
Additional Inherited Members | |
Public Attributes inherited from BNO08xCbGeneric | |
| uint8_t | rpt_ID |
Public Attributes inherited from BNO08xCbGeneric | |
| uint8_t | rpt_ID |
Protected Member Functions inherited from BNO08xCbGeneric | |
| BNO08xCbGeneric (uint8_t rpt_ID) | |
Protected Member Functions inherited from BNO08xCbGeneric | |
| BNO08xCbGeneric (uint8_t rpt_ID) | |
Class to hold callback functions which are passed report ID as input parameter.
-Class to hold callback functions with void input parameters.
+Class to hold callback functions which are passed report ID as input parameter.
+Class to hold callback functions with void input parameters.
Implements BNO08xCbGeneric.
-
-
|
- -private | -
Wrapped callback function passed at register_cb().
-| BNO08xCbGeneric(uint8_t rpt_ID) | BNO08xCbGeneric | inlineprotected |
| BNO08xCbParamVoid(std::function< void(void)> cb_fxn, uint8_t rpt_ID) | BNO08xCbParamVoid | inline |
| cb_fxn | BNO08xCbParamVoid | private |
| invoke(uint8_t rpt_ID) override | BNO08xCbParamVoid | inlinevirtual |
| rpt_ID | BNO08xCbGeneric | |
| ~BNO08xCbGeneric()=default | BNO08xCbGeneric | virtual |
| invoke(uint8_t rpt_ID) override | BNO08xCbParamVoid | inlinevirtual |
| rpt_ID | BNO08xCbGeneric | |
| ~BNO08xCbGeneric()=default | BNO08xCbGeneric | virtual |
#include <BNO08xCbParamVoid.hpp>
#include <callback/BNO08xCbParamVoid.hpp>
Public Member Functions | |
| BNO08xCbParamVoid (std::function< void(void)> cb_fxn, uint8_t rpt_ID) | |
| BNO08xCbParamVoid (std::function< void(void)> cb_fxn, uint8_t rpt_ID) | |
| void | invoke (uint8_t rpt_ID) override |
| Invokes contained callback function. | |
| void | invoke (uint8_t rpt_ID) override |
| Invokes contained callback function. More... | |
Public Member Functions inherited from BNO08xCbGeneric | |
| virtual | ~BNO08xCbGeneric ()=default |
Public Member Functions inherited from BNO08xCbGeneric | |
| virtual void | invoke (uint8_t rpt_ID)=0 |
| virtual | ~BNO08xCbGeneric ()=default |
-Private Attributes | |
| std::function< void(void)> | cb_fxn |
| Wrapped callback function passed at register_cb(). | |
Additional Inherited Members | |
Public Attributes inherited from BNO08xCbGeneric | |
| uint8_t | rpt_ID |
Public Attributes inherited from BNO08xCbGeneric | |
| uint8_t | rpt_ID |
Protected Member Functions inherited from BNO08xCbGeneric | |
| BNO08xCbGeneric (uint8_t rpt_ID) | |
Protected Member Functions inherited from BNO08xCbGeneric | |
| BNO08xCbGeneric (uint8_t rpt_ID) | |
Implements BNO08xCbGeneric.
-
-
|
- -private | -
Wrapped callback function passed at register_cb().
-Class to represent and manage reports returned from BNO08x. - More...
+ More... -#include <BNO08xRpt.hpp>
#include <report/BNO08xRpt.hpp>

Public Member Functions | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Protected Member Functions | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
Friends | |
| class | BNO08x |
| class | BNO08x |
BNO08xRpt report constructor.
-Construct a BNO08xRpt object for managing a BNO08x sensor report.
+Construct a BNO08xRpt object for managing a BNO08x sensor report.

BNO08xPrivateTypes::default_sensor_cfg

BNO08xPrivateTypes::default_sensor_cfg 
Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system).
-Can be used to retrieve the minimum period, maximum period, actual Q points, resolution, and other info for a given sensor.
+Can be used to retrieve the minimum period, maximum period, actual Q points, resolution, and other info for a given sensor.








BNO08xPrivateTypes::default_sensor_cfg | report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |


Signals to BNO08x::data_available() that a new report has arrived.



Implemented in BNO08xRptAcceleration, BNO08xRptActivityClassifier, BNO08xRptARVRStabilizedGameRV, BNO08xRptARVRStabilizedRV, BNO08xRptCalGyro, BNO08xRptCalMagnetometer, BNO08xRptGameRV, BNO08xRptGravity, BNO08xRptIGyroRV, BNO08xRptLinearAcceleration, BNO08xRptRawMEMSAccelerometer, BNO08xRptRawMEMSGyro, BNO08xRptRawMEMSMagnetometer, BNO08xRptRV, BNO08xRptRVGeomag, BNO08xRptShakeDetector, BNO08xRptStabilityClassifier, BNO08xRptStepCounter, BNO08xRptTapDetector, BNO08xRptUncalGyro, and BNO08xRptUncalMagnetometer.
-Class to represent ARVR stabilized rotation vector reports. (See Ref. Manual 6.5.43) - More...
+ More... -#include <BNO08xRptARVRStabilizedGameRV.hpp>
#include <report/BNO08xRptARVRStabilizedGameRV.hpp>
Public Member Functions | |
| BNO08xRptARVRStabilizedGameRV (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptARVRStabilizedGameRV (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
Public Member Functions inherited from BNO08xRptRVGeneric | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables a rotation vector report such that the BNO08x begins it. | |
Public Member Functions inherited from BNO08xRptRVGeneric | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables a rotation vector report such that the BNO08x begins it. More... | |
| bno08x_quat_t | get_quat () |
| Grabs most recent rotation vector data in form of unit quaternion, rad accuracy units in radians (if available, else constant 0.0f). | |
| bno08x_quat_t | get_quat () |
| Grabs most recent rotation vector data in form of unit quaternion, rad accuracy units in radians (if available, else constant 0.0f). More... | |
| bno08x_euler_angle_t | get_euler (bool in_degrees=true) |
| Grabs most recent rotation vector data in form of an euler angle, units are in degrees or rads. | |
| bno08x_euler_angle_t | get_euler (bool in_degrees=true) |
| Grabs most recent rotation vector data in form of an euler angle, units are in degrees or rads. More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
-Private Member Functions | |
| void | update_data (sh2_SensorValue_t *sensor_val) override |
| Updates ARVR stabilized game rotation vector data from decoded sensor event. | |
-Static Private Attributes | |
| static const constexpr char * | TAG = "BNO08xRptARVRStabilizedGameRV" |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from BNO08xRptRVGeneric | |
| BNO08xRptRVGeneric (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
Protected Member Functions inherited from BNO08xRptRVGeneric | |
| BNO08xRptRVGeneric (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | tare (bool x, bool y, bool z, sh2_TareBasis_t basis) |
| Tares vector basis according to axis flags. | |
| bool | tare (bool x, bool y, bool z, sh2_TareBasis_t basis) |
| Tares vector basis according to axis flags. More... | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes inherited from BNO08xRptRVGeneric | |
| bno08x_quat_t | data |
Protected Attributes inherited from BNO08xRptRVGeneric | |
| bno08x_quat_t | data |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes inherited from BNO08xRptRVGeneric | |
| static const constexpr char * | TAG = "BNO08xRptRVGeneric" |
Static Protected Attributes inherited from BNO08xRptRVGeneric | |
| static const constexpr char * | TAG = "BNO08xRptRVGeneric" |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent ARVR stabilized rotation vector reports. (See Ref. Manual 6.5.43)
+Class to represent ARVR stabilized rotation vector reports. (See Ref. Manual 6.5.43)
-
|
- -overrideprivatevirtual | -
Updates ARVR stabilized game rotation vector data from decoded sensor event.
-| sensor_val | The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call. |
Implements BNO08xRpt.
-
-
|
- -staticconstexprprivate | -
Class to represent ARVR stabilized rotation vector reports. (See Ref. Manual 6.5.42) - More...
+ More... -#include <BNO08xRptARVRStabilizedRV.hpp>
#include <report/BNO08xRptARVRStabilizedRV.hpp>
Public Member Functions | |
| BNO08xRptARVRStabilizedRV (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptARVRStabilizedRV (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
Public Member Functions inherited from BNO08xRptRVGeneric | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables a rotation vector report such that the BNO08x begins it. | |
Public Member Functions inherited from BNO08xRptRVGeneric | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables a rotation vector report such that the BNO08x begins it. More... | |
| bno08x_quat_t | get_quat () |
| Grabs most recent rotation vector data in form of unit quaternion, rad accuracy units in radians (if available, else constant 0.0f). | |
| bno08x_quat_t | get_quat () |
| Grabs most recent rotation vector data in form of unit quaternion, rad accuracy units in radians (if available, else constant 0.0f). More... | |
| bno08x_euler_angle_t | get_euler (bool in_degrees=true) |
| Grabs most recent rotation vector data in form of an euler angle, units are in degrees or rads. | |
| bno08x_euler_angle_t | get_euler (bool in_degrees=true) |
| Grabs most recent rotation vector data in form of an euler angle, units are in degrees or rads. More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
-Private Member Functions | |
| void | update_data (sh2_SensorValue_t *sensor_val) override |
| Updates ARVR stabilized rotation vector data from decoded sensor event. | |
-Static Private Attributes | |
| static const constexpr char * | TAG = "BNO08xRptARVRStabilizedRV" |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from BNO08xRptRVGeneric | |
| BNO08xRptRVGeneric (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
Protected Member Functions inherited from BNO08xRptRVGeneric | |
| BNO08xRptRVGeneric (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | tare (bool x, bool y, bool z, sh2_TareBasis_t basis) |
| Tares vector basis according to axis flags. | |
| bool | tare (bool x, bool y, bool z, sh2_TareBasis_t basis) |
| Tares vector basis according to axis flags. More... | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes inherited from BNO08xRptRVGeneric | |
| bno08x_quat_t | data |
Protected Attributes inherited from BNO08xRptRVGeneric | |
| bno08x_quat_t | data |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes inherited from BNO08xRptRVGeneric | |
| static const constexpr char * | TAG = "BNO08xRptRVGeneric" |
Static Protected Attributes inherited from BNO08xRptRVGeneric | |
| static const constexpr char * | TAG = "BNO08xRptRVGeneric" |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent ARVR stabilized rotation vector reports. (See Ref. Manual 6.5.42)
+Class to represent ARVR stabilized rotation vector reports. (See Ref. Manual 6.5.42)
-
|
- -overrideprivatevirtual | -
Updates ARVR stabilized rotation vector data from decoded sensor event.
-| sensor_val | The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call. |
Implements BNO08xRpt.
-
-
|
- -staticconstexprprivate | -
Class to represent accelerometer reports. (See Ref. Manual 6.5.9) - More...
+ More... -#include <BNO08xRptAcceleration.hpp>
#include <report/BNO08xRptAcceleration.hpp>
Public Member Functions | |
| BNO08xRptAcceleration (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptAcceleration (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables acceleration reports such that the BNO08x begins sending them. | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables acceleration reports such that the BNO08x begins sending them. More... | |
| bno08x_accel_t | get () |
| Grabs most recent acceleration data (including gravity), units are in m/s^2. | |
| bno08x_accel_t | get () |
| Grabs most recent acceleration data (including gravity), units are in m/s^2. More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
-Private Member Functions | |
| void | update_data (sh2_SensorValue_t *sensor_val) override |
| Updates accelerometer data from decoded sensor event. | |
-Private Attributes | |
| bno08x_accel_t | data |
-Static Private Attributes | |
| static const constexpr char * | TAG = "BNO08xRptAcceleration" |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
BNO08xPrivateTypes::default_sensor_cfg | report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |




-
|
- -overrideprivatevirtual | -
Updates accelerometer data from decoded sensor event.
-| sensor_val | The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call. |
Implements BNO08xRpt.
-
-
|
- -private | -
-
|
- -staticconstexprprivate | -
This is the complete list of members for BNO08xRptActivityClassifier, including all inherited members.
| activities_to_enable | BNO08xRptActivityClassifier | private |
| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptActivityClassifier(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptActivityClassifier | inline |
| clear_sample_counts() | BNO08xRpt | |
| data | BNO08xRptActivityClassifier | private |
| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptActivityClassifier(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptActivityClassifier | inline |
| clear_sample_counts() | BNO08xRpt | |
| disable(sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) | BNO08xRpt | |
| enable(uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override | BNO08xRptActivityClassifier | virtual |
| flush() | BNO08xRpt | |
| set_activities_to_enable(BNO08xActivityEnable activities_to_enable) | BNO08xRptActivityClassifier | |
| signal_data_available() | BNO08xRpt | protected |
| sync_ctx | BNO08xRpt | protected |
| TAG | BNO08xRptActivityClassifier | privatestatic |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
| update_data(sh2_SensorValue_t *sensor_val) override | BNO08xRptActivityClassifier | privatevirtual |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
Class to represent activity classifier reports. (See Ref. Manual 6.5.36) - More...
+ More... -#include <BNO08xRptActivityClassifier.hpp>
#include <report/BNO08xRptActivityClassifier.hpp>
Public Member Functions | |
| BNO08xRptActivityClassifier (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptActivityClassifier (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables activity classifier reports such that the BNO08x begins sending them. | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables activity classifier reports such that the BNO08x begins sending them. More... | |
| bno08x_activity_classifier_t | get () |
| Grabs most recent activity classifier data. | |
| bno08x_activity_classifier_t | get () |
| Grabs most recent activity classifier data. More... | |
| BNO08xActivity | get_most_likely_activity () |
| Grabs most the most likely activity from most recent activity classifier data. | |
| BNO08xActivity | get_most_likely_activity () |
| Grabs most the most likely activity from most recent activity classifier data. More... | |
| void | set_activities_to_enable (BNO08xActivityEnable activities_to_enable) |
| Sets the activities to be monitored for with ActivityClassifier reports, all enable after setting. | |
| void | set_activities_to_enable (BNO08xActivityEnable activities_to_enable) |
| Sets the activities to be monitored for with ActivityClassifier reports, all enable after setting. More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
-Private Member Functions | |
| void | update_data (sh2_SensorValue_t *sensor_val) override |
| Updates activity classifier data from decoded sensor event. | |
-Private Attributes | |
| bno08x_activity_classifier_t | data |
| Most recent report data, doesn't account for step rollover. | |
| BNO08xActivityEnable | activities_to_enable |
| Activities to be monitored, call enable after setting. | |
-Static Private Attributes | |
| static const constexpr char * | TAG = "BNO08xRptActivityClassifier" |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent activity classifier reports. (See Ref. Manual 6.5.36)
+Class to represent activity classifier reports. (See Ref. Manual 6.5.36)
BNO08xPrivateTypes::default_sensor_cfg | report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |


| BNO08xActivity BNO08xRptActivityClassifier::get_most_likely_activity | +BNO08xActivity BNO08xRptActivityClassifier::get_most_likely_activity | ( | -) | +) |

-
|
- -overrideprivatevirtual | -
Updates activity classifier data from decoded sensor event.
-| sensor_val | The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call. |
Implements BNO08xRpt.
-
-
|
- -private | -
Activities to be monitored, call enable after setting.
- -
-
|
- -private | -
Most recent report data, doesn't account for step rollover.
- -
-
|
- -staticconstexprprivate | -
Class to represent calibrated gyro reports. (See Ref. Manual 6.5.13) - More...
+ More... -#include <BNO08xRptCalGyro.hpp>
#include <report/BNO08xRptCalGyro.hpp>
Public Member Functions | |
| BNO08xRptCalGyro (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptCalGyro (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables calibrated gyro reports such that the BNO08x begins sending them. | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables calibrated gyro reports such that the BNO08x begins sending them. More... | |
| bno08x_gyro_t | get () |
| Grabs most recent gyroscope data (velocity), units are in rad/s. | |
| bno08x_gyro_t | get () |
| Grabs most recent gyroscope data (velocity), units are in rad/s. More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
-Private Member Functions | |
| void | update_data (sh2_SensorValue_t *sensor_val) override |
| Updates calibrated gyro data from decoded sensor event. | |
-Private Attributes | |
| bno08x_gyro_t | data |
-Static Private Attributes | |
| static const constexpr char * | TAG = "BNO08xRptCalGyro" |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
BNO08xPrivateTypes::default_sensor_cfg | report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |




-
|
- -overrideprivatevirtual | -
Updates calibrated gyro data from decoded sensor event.
-| sensor_val | The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call. |
Implements BNO08xRpt.
-
-
|
- -private | -
-
|
- -staticconstexprprivate | -
Class to represent calibrated magnetometer reports. (See Ref. Manual 6.5.16) - More...
+ More... -#include <BNO08xRptCalMagnetometer.hpp>
#include <report/BNO08xRptCalMagnetometer.hpp>
Public Member Functions | |
| BNO08xRptCalMagnetometer (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptCalMagnetometer (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables calibrated magnetometer reports such that the BNO08x begins sending them. | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables calibrated magnetometer reports such that the BNO08x begins sending them. More... | |
| bno08x_magf_t | get () |
| Grabs most recent calibrated magnetometer data, units are in uTesla. | |
| bno08x_magf_t | get () |
| Grabs most recent calibrated magnetometer data, units are in uTesla. More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
-Private Member Functions | |
| void | update_data (sh2_SensorValue_t *sensor_val) override |
| Updates calibrated magnetometer data from decoded sensor event. | |
-Private Attributes | |
| bno08x_magf_t | data |
-Static Private Attributes | |
| static const constexpr char * | TAG = "BNO08xRptCalMagnetometer" |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent calibrated magnetometer reports. (See Ref. Manual 6.5.16)
+Class to represent calibrated magnetometer reports. (See Ref. Manual 6.5.16)
BNO08xPrivateTypes::default_sensor_cfg | report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |




-
|
- -overrideprivatevirtual | -
Updates calibrated magnetometer data from decoded sensor event.
-| sensor_val | The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call. |
Implements BNO08xRpt.
-
-
|
- -private | -
-
|
- -staticconstexprprivate | -
Class to represent game rotation vector reports. (See Ref. Manual 6.5.19) - More...
+ More... -#include <BNO08xRptGameRV.hpp>
#include <report/BNO08xRptGameRV.hpp>
Public Member Functions | |
| BNO08xRptGameRV (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptGameRV (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | tare (bool x=true, bool y=true, bool z=true) |
| Tares game rotation vector axis. | |
| bool | tare (bool x=true, bool y=true, bool z=true) |
| Tares game rotation vector axis. More... | |
| bool | tare_persist () |
| Saves most recent tare operation to BNO08x internal flash, such that it persists on reset. | |
| bool | tare_persist () |
| Saves most recent tare operation to BNO08x internal flash, such that it persists on reset. More... | |
| void | tare_clear () |
| Clears most recent tare operation. | |
| void | tare_clear () |
| Clears most recent tare operation. More... | |
Public Member Functions inherited from BNO08xRptRVGeneric | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables a rotation vector report such that the BNO08x begins it. | |
Public Member Functions inherited from BNO08xRptRVGeneric | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables a rotation vector report such that the BNO08x begins it. More... | |
| bno08x_quat_t | get_quat () |
| Grabs most recent rotation vector data in form of unit quaternion, rad accuracy units in radians (if available, else constant 0.0f). | |
| bno08x_quat_t | get_quat () |
| Grabs most recent rotation vector data in form of unit quaternion, rad accuracy units in radians (if available, else constant 0.0f). More... | |
| bno08x_euler_angle_t | get_euler (bool in_degrees=true) |
| Grabs most recent rotation vector data in form of an euler angle, units are in degrees or rads. | |
| bno08x_euler_angle_t | get_euler (bool in_degrees=true) |
| Grabs most recent rotation vector data in form of an euler angle, units are in degrees or rads. More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
-Private Member Functions | |
| void | update_data (sh2_SensorValue_t *sensor_val) override |
| Updates game rotation vector data from decoded sensor event. | |
-Static Private Attributes | |
| static const constexpr char * | TAG = "BNO08xRptGameRV" |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from BNO08xRptRVGeneric | |
| BNO08xRptRVGeneric (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
Protected Member Functions inherited from BNO08xRptRVGeneric | |
| BNO08xRptRVGeneric (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | tare (bool x, bool y, bool z, sh2_TareBasis_t basis) |
| Tares vector basis according to axis flags. | |
| bool | tare (bool x, bool y, bool z, sh2_TareBasis_t basis) |
| Tares vector basis according to axis flags. More... | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes inherited from BNO08xRptRVGeneric | |
| bno08x_quat_t | data |
Protected Attributes inherited from BNO08xRptRVGeneric | |
| bno08x_quat_t | data |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes inherited from BNO08xRptRVGeneric | |
| static const constexpr char * | TAG = "BNO08xRptRVGeneric" |
Static Protected Attributes inherited from BNO08xRptRVGeneric | |
| static const constexpr char * | TAG = "BNO08xRptRVGeneric" |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
true, true, true 


-
|
- -overrideprivatevirtual | -
Updates game rotation vector data from decoded sensor event.
-| sensor_val | The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call. |
Implements BNO08xRpt.
-
-
|
- -staticconstexprprivate | -
Class to represent gravity reports. (See Ref. Manual 6.5.11) - More...
+ More... -#include <BNO08xRptGravity.hpp>
#include <report/BNO08xRptGravity.hpp>
Public Member Functions | |
| BNO08xRptGravity (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptGravity (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables gravity reports such that the BNO08x begins sending them. | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables gravity reports such that the BNO08x begins sending them. More... | |
| bno08x_accel_t | get () |
| Grabs most recent gravity data, units are in m/s^2. | |
| bno08x_accel_t | get () |
| Grabs most recent gravity data, units are in m/s^2. More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
-Private Member Functions | |
| void | update_data (sh2_SensorValue_t *sensor_val) override |
| Updates gravity data from decoded sensor event. | |
-Private Attributes | |
| bno08x_accel_t | data |
-Static Private Attributes | |
| static const constexpr char * | TAG = "BNO08xRptGravity" |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
BNO08xPrivateTypes::default_sensor_cfg | report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |




-
|
- -overrideprivatevirtual | -
Updates gravity data from decoded sensor event.
-| sensor_val | The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call. |
Implements BNO08xRpt.
-
-
|
- -private | -
-
|
- -staticconstexprprivate | -
Class to represent integrated gyro rotation vector reports. (See Ref. Manual 6.5.44) - More...
+ More... -#include <BNO08xRptIGyroRV.hpp>
#include <report/BNO08xRptIGyroRV.hpp>
Public Member Functions | |
| BNO08xRptIGyroRV (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptIGyroRV (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| void | get (bno08x_quat_t &quat, bno08x_ang_vel_t &vel) |
| Grabs most recent gyro integrated rotation vector data. | |
| void | get (bno08x_quat_t &quat, bno08x_ang_vel_t &vel) |
| Grabs most recent gyro integrated rotation vector data. More... | |
| bno08x_ang_vel_t | get_vel () |
| Grabs most recent gyro integrated rotation vector angular velocity data, units are in rad/s. | |
| bno08x_ang_vel_t | get_vel () |
| Grabs most recent gyro integrated rotation vector angular velocity data, units are in rad/s. More... | |
Public Member Functions inherited from BNO08xRptRVGeneric | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables a rotation vector report such that the BNO08x begins it. | |
Public Member Functions inherited from BNO08xRptRVGeneric | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables a rotation vector report such that the BNO08x begins it. More... | |
| bno08x_quat_t | get_quat () |
| Grabs most recent rotation vector data in form of unit quaternion, rad accuracy units in radians (if available, else constant 0.0f). | |
| bno08x_quat_t | get_quat () |
| Grabs most recent rotation vector data in form of unit quaternion, rad accuracy units in radians (if available, else constant 0.0f). More... | |
| bno08x_euler_angle_t | get_euler (bool in_degrees=true) |
| Grabs most recent rotation vector data in form of an euler angle, units are in degrees or rads. | |
| bno08x_euler_angle_t | get_euler (bool in_degrees=true) |
| Grabs most recent rotation vector data in form of an euler angle, units are in degrees or rads. More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
-Private Member Functions | |
| void | update_data (sh2_SensorValue_t *sensor_val) override |
| Updates gyro integrated rotation vector data from decoded sensor event. | |
-Private Attributes | |
| bno08x_ang_vel_t | data_vel |
-Static Private Attributes | |
| static const constexpr char * | TAG = "BNO08xRptIGyroRV" |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from BNO08xRptRVGeneric | |
| BNO08xRptRVGeneric (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
Protected Member Functions inherited from BNO08xRptRVGeneric | |
| BNO08xRptRVGeneric (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | tare (bool x, bool y, bool z, sh2_TareBasis_t basis) |
| Tares vector basis according to axis flags. | |
| bool | tare (bool x, bool y, bool z, sh2_TareBasis_t basis) |
| Tares vector basis according to axis flags. More... | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes inherited from BNO08xRptRVGeneric | |
| bno08x_quat_t | data |
Protected Attributes inherited from BNO08xRptRVGeneric | |
| bno08x_quat_t | data |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes inherited from BNO08xRptRVGeneric | |
| static const constexpr char * | TAG = "BNO08xRptRVGeneric" |
Static Protected Attributes inherited from BNO08xRptRVGeneric | |
| static const constexpr char * | TAG = "BNO08xRptRVGeneric" |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent integrated gyro rotation vector reports. (See Ref. Manual 6.5.44)
+Class to represent integrated gyro rotation vector reports. (See Ref. Manual 6.5.44)


-
|
- -overrideprivatevirtual | -
Updates gyro integrated rotation vector data from decoded sensor event.
-| sensor_val | The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call. |
Implements BNO08xRpt.
-
-
|
- -private | -
-
|
- -staticconstexprprivate | -
Class to represent linear accelerometer reports. (See Ref. Manual 6.5.10) - More...
+ More... -#include <BNO08xRptLinearAcceleration.hpp>
#include <report/BNO08xRptLinearAcceleration.hpp>
Public Member Functions | |
| BNO08xRptLinearAcceleration (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptLinearAcceleration (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables linear acceleration reports such that the BNO08x begins sending them. | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables linear acceleration reports such that the BNO08x begins sending them. More... | |
| bno08x_accel_t | get () |
| Grabs most recent acceleration data (including gravity), units are in m/s^2. | |
| bno08x_accel_t | get () |
| Grabs most recent acceleration data (including gravity), units are in m/s^2. More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
-Private Member Functions | |
| void | update_data (sh2_SensorValue_t *sensor_val) override |
| Updates accelerometer data from decoded sensor event. | |
-Private Attributes | |
| bno08x_accel_t | data |
-Static Private Attributes | |
| static const constexpr char * | TAG = "BNO08xRptLinearAcceleration" |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent linear accelerometer reports. (See Ref. Manual 6.5.10)
+Class to represent linear accelerometer reports. (See Ref. Manual 6.5.10)
BNO08xPrivateTypes::default_sensor_cfg | report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |




-
|
- -overrideprivatevirtual | -
Updates accelerometer data from decoded sensor event.
-| sensor_val | The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call. |
Implements BNO08xRpt.
-
-
|
- -private | -
-
|
- -staticconstexprprivate | -
Class to represent rotation vector reports. (See Ref. Manual 6.5.18) - More...
+ More... -#include <BNO08xRptRV.hpp>
#include <report/BNO08xRptRV.hpp>
Public Member Functions | |
| BNO08xRptRV (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptRV (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | tare (bool x=true, bool y=true, bool z=true) |
| Tares rotation vector axis. | |
| bool | tare (bool x=true, bool y=true, bool z=true) |
| Tares rotation vector axis. More... | |
| bool | tare_persist () |
| Saves most recent tare operation to BNO08x internal flash, such that it persists on reset. | |
| bool | tare_persist () |
| Saves most recent tare operation to BNO08x internal flash, such that it persists on reset. More... | |
| void | tare_clear () |
| Clears most recent tare operation. | |
| void | tare_clear () |
| Clears most recent tare operation. More... | |
Public Member Functions inherited from BNO08xRptRVGeneric | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables a rotation vector report such that the BNO08x begins it. | |
Public Member Functions inherited from BNO08xRptRVGeneric | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables a rotation vector report such that the BNO08x begins it. More... | |
| bno08x_quat_t | get_quat () |
| Grabs most recent rotation vector data in form of unit quaternion, rad accuracy units in radians (if available, else constant 0.0f). | |
| bno08x_quat_t | get_quat () |
| Grabs most recent rotation vector data in form of unit quaternion, rad accuracy units in radians (if available, else constant 0.0f). More... | |
| bno08x_euler_angle_t | get_euler (bool in_degrees=true) |
| Grabs most recent rotation vector data in form of an euler angle, units are in degrees or rads. | |
| bno08x_euler_angle_t | get_euler (bool in_degrees=true) |
| Grabs most recent rotation vector data in form of an euler angle, units are in degrees or rads. More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
-Private Member Functions | |
| void | update_data (sh2_SensorValue_t *sensor_val) override |
| Updates rotation vector data from decoded sensor event. | |
-Static Private Attributes | |
| static const constexpr char * | TAG = "BNO08xRptRV" |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from BNO08xRptRVGeneric | |
| BNO08xRptRVGeneric (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
Protected Member Functions inherited from BNO08xRptRVGeneric | |
| BNO08xRptRVGeneric (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | tare (bool x, bool y, bool z, sh2_TareBasis_t basis) |
| Tares vector basis according to axis flags. | |
| bool | tare (bool x, bool y, bool z, sh2_TareBasis_t basis) |
| Tares vector basis according to axis flags. More... | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes inherited from BNO08xRptRVGeneric | |
| bno08x_quat_t | data |
Protected Attributes inherited from BNO08xRptRVGeneric | |
| bno08x_quat_t | data |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes inherited from BNO08xRptRVGeneric | |
| static const constexpr char * | TAG = "BNO08xRptRVGeneric" |
Static Protected Attributes inherited from BNO08xRptRVGeneric | |
| static const constexpr char * | TAG = "BNO08xRptRVGeneric" |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
true, true, true 


-
|
- -overrideprivatevirtual | -
Updates rotation vector data from decoded sensor event.
-| sensor_val | The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call. |
Implements BNO08xRpt.
-
-
|
- -staticconstexprprivate | -
Class to represent rotation vector reports. - More...
+ More... -#include <BNO08xRptRVGeneric.hpp>
#include <report/BNO08xRptRVGeneric.hpp>
Public Member Functions | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables a rotation vector report such that the BNO08x begins it. | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables a rotation vector report such that the BNO08x begins it. More... | |
| bno08x_quat_t | get_quat () |
| Grabs most recent rotation vector data in form of unit quaternion, rad accuracy units in radians (if available, else constant 0.0f). | |
| bno08x_quat_t | get_quat () |
| Grabs most recent rotation vector data in form of unit quaternion, rad accuracy units in radians (if available, else constant 0.0f). More... | |
| bno08x_euler_angle_t | get_euler (bool in_degrees=true) |
| Grabs most recent rotation vector data in form of an euler angle, units are in degrees or rads. | |
| bno08x_euler_angle_t | get_euler (bool in_degrees=true) |
| Grabs most recent rotation vector data in form of an euler angle, units are in degrees or rads. More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Protected Member Functions | |
| BNO08xRptRVGeneric (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptRVGeneric (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | tare (bool x, bool y, bool z, sh2_TareBasis_t basis) |
| Tares vector basis according to axis flags. | |
| bool | tare (bool x, bool y, bool z, sh2_TareBasis_t basis) |
| Tares vector basis according to axis flags. More... | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes | |
| bno08x_quat_t | data |
| bno08x_quat_t | data |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes | |
| static const constexpr char * | TAG = "BNO08xRptRVGeneric" |
| static const constexpr char * | TAG = "BNO08xRptRVGeneric" |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
BNO08xPrivateTypes::default_sensor_cfg | report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |


true
Grabs most recent rotation vector data in form of unit quaternion, rad accuracy units in radians (if available, else constant 0.0f).
-The following RV reports have rad accuracy data:
+The following RV reports have rad accuracy data:




Class to represent geomagnetic rotation vector reports. (See Ref. Manual 6.5.20) - More...
+ More... -#include <BNO08xRptRVGeomag.hpp>
#include <report/BNO08xRptRVGeomag.hpp>
Public Member Functions | |
| BNO08xRptRVGeomag (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptRVGeomag (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | tare (bool x=true, bool y=true, bool z=true) |
| Tares geomagnetic rotation vector. | |
| bool | tare (bool x=true, bool y=true, bool z=true) |
| Tares geomagnetic rotation vector. More... | |
| bool | tare_persist () |
| Saves most recent tare operation to BNO08x internal flash, such that it persists on reset. | |
| bool | tare_persist () |
| Saves most recent tare operation to BNO08x internal flash, such that it persists on reset. More... | |
| void | tare_clear () |
| Clears most recent tare operation. | |
| void | tare_clear () |
| Clears most recent tare operation. More... | |
Public Member Functions inherited from BNO08xRptRVGeneric | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables a rotation vector report such that the BNO08x begins it. | |
Public Member Functions inherited from BNO08xRptRVGeneric | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables a rotation vector report such that the BNO08x begins it. More... | |
| bno08x_quat_t | get_quat () |
| Grabs most recent rotation vector data in form of unit quaternion, rad accuracy units in radians (if available, else constant 0.0f). | |
| bno08x_quat_t | get_quat () |
| Grabs most recent rotation vector data in form of unit quaternion, rad accuracy units in radians (if available, else constant 0.0f). More... | |
| bno08x_euler_angle_t | get_euler (bool in_degrees=true) |
| Grabs most recent rotation vector data in form of an euler angle, units are in degrees or rads. | |
| bno08x_euler_angle_t | get_euler (bool in_degrees=true) |
| Grabs most recent rotation vector data in form of an euler angle, units are in degrees or rads. More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
-Private Member Functions | |
| void | update_data (sh2_SensorValue_t *sensor_val) override |
| Updates geomagnetic rotation vector data from decoded sensor event. | |
-Static Private Attributes | |
| static const constexpr char * | TAG = "BNO08xRptRVGeomag" |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from BNO08xRptRVGeneric | |
| BNO08xRptRVGeneric (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
Protected Member Functions inherited from BNO08xRptRVGeneric | |
| BNO08xRptRVGeneric (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | tare (bool x, bool y, bool z, sh2_TareBasis_t basis) |
| Tares vector basis according to axis flags. | |
| bool | tare (bool x, bool y, bool z, sh2_TareBasis_t basis) |
| Tares vector basis according to axis flags. More... | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes inherited from BNO08xRptRVGeneric | |
| bno08x_quat_t | data |
Protected Attributes inherited from BNO08xRptRVGeneric | |
| bno08x_quat_t | data |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes inherited from BNO08xRptRVGeneric | |
| static const constexpr char * | TAG = "BNO08xRptRVGeneric" |
Static Protected Attributes inherited from BNO08xRptRVGeneric | |
| static const constexpr char * | TAG = "BNO08xRptRVGeneric" |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
true, true, true 


-
|
- -overrideprivatevirtual | -
Updates geomagnetic rotation vector data from decoded sensor event.
-| sensor_val | The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call. |
Implements BNO08xRpt.
-
-
|
- -staticconstexprprivate | -
Class to represent raw accelerometer reports. (See Ref. Manual 6.5.8) - More...
+ More... -#include <BNO08xRptRawMEMSAccelerometer.hpp>
#include <report/BNO08xRptRawMEMSAccelerometer.hpp>
Public Member Functions | |
| BNO08xRptRawMEMSAccelerometer (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptRawMEMSAccelerometer (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables raw accelerometer reports such that the BNO08x begins sending them. | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables raw accelerometer reports such that the BNO08x begins sending them. More... | |
| bno08x_raw_accel_t | get () |
| Grabs most recent raw accelerometer data, units are ADC counts, time_stamp in microseconds. | |
| bno08x_raw_accel_t | get () |
| Grabs most recent raw accelerometer data, units are ADC counts, time_stamp in microseconds. More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
-Private Member Functions | |
| void | update_data (sh2_SensorValue_t *sensor_val) override |
| Updates raw accelerometer data from decoded sensor event. | |
-Private Attributes | |
| bno08x_raw_accel_t | data |
-Static Private Attributes | |
| static const constexpr char * | TAG = "BNO08xRptRawMEMSAccelerometer" |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent raw accelerometer reports. (See Ref. Manual 6.5.8)
+Class to represent raw accelerometer reports. (See Ref. Manual 6.5.8)
BNO08xPrivateTypes::default_sensor_cfg | report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |


-
|
- -overrideprivatevirtual | -
Updates raw accelerometer data from decoded sensor event.
-| sensor_val | The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call. |
Implements BNO08xRpt.
-
-
|
- -private | -
-
|
- -staticconstexprprivate | -
Class to represent raw gyro reports. (See Ref. Manual 6.5.12) - More...
+ More... -#include <BNO08xRptRawMEMSGyro.hpp>
#include <report/BNO08xRptRawMEMSGyro.hpp>
Public Member Functions | |
| BNO08xRptRawMEMSGyro (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptRawMEMSGyro (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables raw gyro reports such that the BNO08x begins sending them. | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables raw gyro reports such that the BNO08x begins sending them. More... | |
| bno08x_raw_gyro_t | get () |
| Grabs most recent raw mems gyro report (units in ADC counts, time_stamp in microseconds) | |
| bno08x_raw_gyro_t | get () |
| Grabs most recent raw mems gyro report (units in ADC counts, time_stamp in microseconds) More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
-Private Member Functions | |
| void | update_data (sh2_SensorValue_t *sensor_val) override |
| Updates raw mems gyro data from decoded sensor event. | |
-Private Attributes | |
| bno08x_raw_gyro_t | data |
-Static Private Attributes | |
| static const constexpr char * | TAG = "BNO08xRptRawMEMSGyro" |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
BNO08xPrivateTypes::default_sensor_cfg | report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |


-
|
- -overrideprivatevirtual | -
Updates raw mems gyro data from decoded sensor event.
-| sensor_val | The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call. |
Implements BNO08xRpt.
-
-
|
- -private | -
-
|
- -staticconstexprprivate | -
Class to represent raw magnetometer reports. (See Ref. Manual 6.5.15) - More...
+ More... -#include <BNO08xRptRawMEMSMagnetometer.hpp>
#include <report/BNO08xRptRawMEMSMagnetometer.hpp>
Public Member Functions | |
| BNO08xRptRawMEMSMagnetometer (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptRawMEMSMagnetometer (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables raw magnetometer such that the BNO08x begins sending them. | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables raw magnetometer such that the BNO08x begins sending them. More... | |
| bno08x_raw_magf_t | get () |
| Grabs most recent raw magnetometer data, units are ADC counts, time_stamp in microseconds. | |
| bno08x_raw_magf_t | get () |
| Grabs most recent raw magnetometer data, units are ADC counts, time_stamp in microseconds. More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
-Private Member Functions | |
| void | update_data (sh2_SensorValue_t *sensor_val) override |
| Updates raw magnetometer data from decoded sensor event. | |
-Private Attributes | |
| bno08x_raw_magf_t | data |
-Static Private Attributes | |
| static const constexpr char * | TAG = "BNO08xRptRawMEMSMagnetometer" |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
BNO08xPrivateTypes::default_sensor_cfg | report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |


-
|
- -overrideprivatevirtual | -
Updates raw magnetometer data from decoded sensor event.
-| sensor_val | The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call. |
Implements BNO08xRpt.
-
-
|
- -private | -
-
|
- -staticconstexprprivate | -
Class to represent shake detector reports. (See Ref. Manual 6.5.32) - More...
+ More... -#include <BNO08xRptShakeDetector.hpp>
#include <report/BNO08xRptShakeDetector.hpp>
Public Member Functions | |
| BNO08xRptShakeDetector (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptShakeDetector (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables shake detector reports such that the BNO08x begins sending them (only sends reports when a shake is detected). | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables shake detector reports such that the BNO08x begins sending them (only sends reports when a shake is detected). More... | |
| bno08x_shake_detector_t | get () |
| Grabs most recent shake detector detector data. | |
| bno08x_shake_detector_t | get () |
| Grabs most recent shake detector detector data. More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
-Private Member Functions | |
| void | update_data (sh2_SensorValue_t *sensor_val) override |
| Updates shake detector data from decoded sensor event. | |
-Private Attributes | |
| bno08x_shake_detector_t | data |
-Static Private Attributes | |
| static const constexpr char * | TAG = "BNO08xRptShakeDetector" |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
BNO08xPrivateTypes::default_sensor_cfg | report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |


-
|
- -overrideprivatevirtual | -
Updates shake detector data from decoded sensor event.
-| sensor_val | The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call. |
Implements BNO08xRpt.
-
-
|
- -private | -
-
|
- -staticconstexprprivate | -
Class to represent stability classifier reports. (See Ref. Manual 6.5.31) - More...
+ More... -#include <BNO08xRptStabilityClassifier.hpp>
#include <report/BNO08xRptStabilityClassifier.hpp>
Public Member Functions | |
| BNO08xRptStabilityClassifier (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptStabilityClassifier (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables stability classifier reports such that the BNO08x begins sending them. | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables stability classifier reports such that the BNO08x begins sending them. More... | |
| bno08x_stability_classifier_t | get () |
| Grabs most recent stability classifier data. | |
| bno08x_stability_classifier_t | get () |
| Grabs most recent stability classifier data. More... | |
| BNO08xStability | get_stability () |
| Grabs most recent stability classifier reading (excludes accuracy) | |
| BNO08xStability | get_stability () |
| Grabs most recent stability classifier reading (excludes accuracy) More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
-Private Member Functions | |
| void | update_data (sh2_SensorValue_t *sensor_val) override |
| Updates stability classifier data from decoded sensor event. | |
-Private Attributes | |
| bno08x_stability_classifier_t | data |
-Static Private Attributes | |
| static const constexpr char * | TAG = "BNO08xRptStabilityClassifier" |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent stability classifier reports. (See Ref. Manual 6.5.31)
+Class to represent stability classifier reports. (See Ref. Manual 6.5.31)
BNO08xPrivateTypes::default_sensor_cfg | report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |


| BNO08xStability BNO08xRptStabilityClassifier::get_stability | +BNO08xStability BNO08xRptStabilityClassifier::get_stability | ( | -) | +) |

-
|
- -overrideprivatevirtual | -
Updates stability classifier data from decoded sensor event.
-| sensor_val | The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call. |
Implements BNO08xRpt.
-
-
|
- -private | -
-
|
- -staticconstexprprivate | -
Class to represent step counter reports. (See Ref. Manual 6.5.29) - More...
+ More... -#include <BNO08xRptStepCounter.hpp>
#include <report/BNO08xRptStepCounter.hpp>
Public Member Functions | |
| BNO08xRptStepCounter (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptStepCounter (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables step counter reports such that the BNO08x begins sending them. | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables step counter reports such that the BNO08x begins sending them. More... | |
| bno08x_step_counter_t | get () |
| Grabs most recent step counter data (rollover not accounted for in step count, just most recent report data). | |
| bno08x_step_counter_t | get () |
| Grabs most recent step counter data (rollover not accounted for in step count, just most recent report data). More... | |
| uint32_t | get_total_steps () |
| Grabs the total step count since boot, accounts for rollover in report data. | |
| uint32_t | get_total_steps () |
| Grabs the total step count since boot, accounts for rollover in report data. More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
-Private Member Functions | |
| void | update_data (sh2_SensorValue_t *sensor_val) override |
| Updates step counter data from decoded sensor event. | |
-Private Attributes | |
| bno08x_step_counter_t | data |
| Most recent report data, doesn't account for step rollover. | |
| uint32_t | step_accumulator |
| Every time step count rolls over, the previous steps are accumulated here such that the total steps can always be calculated. | |
-Static Private Attributes | |
| static const constexpr char * | TAG = "BNO08xRptStepCounter" |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
BNO08xPrivateTypes::default_sensor_cfg | report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |



-
|
- -overrideprivatevirtual | -
Updates step counter data from decoded sensor event.
-| sensor_val | The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call. |
Implements BNO08xRpt.
-
-
|
- -private | -
Most recent report data, doesn't account for step rollover.
- -
-
|
- -private | -
Every time step count rolls over, the previous steps are accumulated here such that the total steps can always be calculated.
- -
-
|
- -staticconstexprprivate | -
Class to represent tap detector reports. (See Ref. Manual 6.5.27) - More...
+ More... -#include <BNO08xRptTapDetector.hpp>
#include <report/BNO08xRptTapDetector.hpp>
Public Member Functions | |
| BNO08xRptTapDetector (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptTapDetector (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables tap detector reports such that the BNO08x begins sending them (only sends reports when a tap is detected). | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables tap detector reports such that the BNO08x begins sending them (only sends reports when a tap is detected). More... | |
| bno08x_tap_detector_t | get () |
| Grabs most recent tap detector detector data. | |
| bno08x_tap_detector_t | get () |
| Grabs most recent tap detector detector data. More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
-Private Member Functions | |
| void | update_data (sh2_SensorValue_t *sensor_val) override |
| Updates tap detector data from decoded sensor event. | |
-Private Attributes | |
| bno08x_tap_detector_t | data |
-Static Private Attributes | |
| static const constexpr char * | TAG = "BNO08xRptTapDetector" |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
BNO08xPrivateTypes::default_sensor_cfg | time_between_reports | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |


-
|
- -overrideprivatevirtual | -
Updates tap detector data from decoded sensor event.
-| sensor_val | The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call. |
Implements BNO08xRpt.
-
-
|
- -private | -
-
|
- -staticconstexprprivate | -
This is the complete list of members for BNO08xRptUncalGyro, including all inherited members.
| bias_data | BNO08xRptUncalGyro | private |
| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptUncalGyro(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptUncalGyro | inline |
| clear_sample_counts() | BNO08xRpt | |
| data | BNO08xRptUncalGyro | private |
| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptUncalGyro(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptUncalGyro | inline |
| clear_sample_counts() | BNO08xRpt | |
| disable(sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) | BNO08xRpt | |
| enable(uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override | BNO08xRptUncalGyro | virtual |
| flush() | BNO08xRpt | |
| rpt_enable(uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) | BNO08xRpt | protected |
| signal_data_available() | BNO08xRpt | protected |
| sync_ctx | BNO08xRpt | protected |
| TAG | BNO08xRptUncalGyro | privatestatic |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
| update_data(sh2_SensorValue_t *sensor_val) override | BNO08xRptUncalGyro | privatevirtual |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
Class to represent uncalibrated gyro reports. (See Ref. Manual 6.5.14) - More...
+ More... -#include <BNO08xRptUncalGyro.hpp>
#include <report/BNO08xRptUncalGyro.hpp>
Public Member Functions | |
| BNO08xRptUncalGyro (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptUncalGyro (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables uncalibrated gyro reports such that the BNO08x begins sending them. | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables uncalibrated gyro reports such that the BNO08x begins sending them. More... | |
| void | get (bno08x_gyro_t &vel, bno08x_gyro_bias_t &bias) |
| Grabs most recent uncalibrated gyroscope data, units are in rad/s. | |
| void | get (bno08x_gyro_t &vel, bno08x_gyro_bias_t &bias) |
| Grabs most recent uncalibrated gyroscope data, units are in rad/s. More... | |
| bno08x_gyro_t | get_vel () |
| Grabs most recent uncalibrated gyroscope velocity data, units are in rad/s. | |
| bno08x_gyro_t | get_vel () |
| Grabs most recent uncalibrated gyroscope velocity data, units are in rad/s. More... | |
| bno08x_gyro_bias_t | get_bias () |
| Grabs most recent uncalibrated gyroscope bias data, units are in rad/s. | |
| bno08x_gyro_bias_t | get_bias () |
| Grabs most recent uncalibrated gyroscope bias data, units are in rad/s. More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
-Private Member Functions | |
| void | update_data (sh2_SensorValue_t *sensor_val) override |
| Updates uncalibrated gyro data from decoded sensor event. | |
-Private Attributes | |
| bno08x_gyro_t | data |
| bno08x_gyro_bias_t | bias_data |
-Static Private Attributes | |
| static const constexpr char * | TAG = "BNO08xRptUncalGyro" |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
BNO08xPrivateTypes::default_sensor_cfg | report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |






-
|
- -overrideprivatevirtual | -
Updates uncalibrated gyro data from decoded sensor event.
-| sensor_val | The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call. |
Implements BNO08xRpt.
-
-
|
- -private | -
-
|
- -private | -
-
|
- -staticconstexprprivate | -
This is the complete list of members for BNO08xRptUncalMagnetometer, including all inherited members.
| bias_data | BNO08xRptUncalMagnetometer | private |
| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptUncalMagnetometer(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptUncalMagnetometer | inline |
| clear_sample_counts() | BNO08xRpt | |
| data | BNO08xRptUncalMagnetometer | private |
| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptUncalMagnetometer(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptUncalMagnetometer | inline |
| clear_sample_counts() | BNO08xRpt | |
| disable(sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) | BNO08xRpt | |
| enable(uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override | BNO08xRptUncalMagnetometer | virtual |
| flush() | BNO08xRpt | |
| rpt_enable(uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) | BNO08xRpt | protected |
| signal_data_available() | BNO08xRpt | protected |
| sync_ctx | BNO08xRpt | protected |
| TAG | BNO08xRptUncalMagnetometer | privatestatic |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
| update_data(sh2_SensorValue_t *sensor_val) override | BNO08xRptUncalMagnetometer | privatevirtual |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
Class to represent uncalibrated magnetometer reports. (See Ref. Manual 6.5.17) - More...
+ More... -#include <BNO08xRptUncalMagnetometer.hpp>
#include <report/BNO08xRptUncalMagnetometer.hpp>
Public Member Functions | |
| BNO08xRptUncalMagnetometer (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRptUncalMagnetometer (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables uncalibrated magnetometer reports such that the BNO08x begins sending them. | |
| bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) override |
| Enables uncalibrated magnetometer reports such that the BNO08x begins sending them. More... | |
| void | get (bno08x_magf_t &magf, bno08x_magf_bias_t &bias) |
| Grabs most recent uncalibrated magnetometer data, units are in uTesla. | |
| void | get (bno08x_magf_t &magf, bno08x_magf_bias_t &bias) |
| Grabs most recent uncalibrated magnetometer data, units are in uTesla. More... | |
| bno08x_magf_t | get_magf () |
| Grabs most recent uncalibrated magnetometer magnetic field data, units are in uTesla. | |
| bno08x_magf_t | get_magf () |
| Grabs most recent uncalibrated magnetometer magnetic field data, units are in uTesla. More... | |
| bno08x_magf_bias_t | get_bias () |
| Grabs most recent uncalibrated magnetometer bias data, units are in uTesla. | |
| bno08x_magf_bias_t | get_bias () |
| Grabs most recent uncalibrated magnetometer bias data, units are in uTesla. More... | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. | |
Public Member Functions inherited from BNO08xRpt | |
| bool | disable (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it. More... | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. | |
| bool | register_cb (std::function< void(void)> cb_fxn) |
| Registers a callback to execute when new data from a specific report is received. More... | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. | |
| bool | has_new_data () |
| Checks if a new report has been received since the last time this function was called. More... | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. | |
| bool | flush () |
| Flush all buffered reports for this sensor/report module. More... | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) | |
| bool | get_sample_counts (bno08x_sample_counts_t &sample_counts) |
| Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) More... | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) | |
| bool | clear_sample_counts () |
| Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) More... | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). | |
| bool | get_meta_data (bno08x_meta_data_t &meta_data) |
| Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). More... | |
-Private Member Functions | |
| void | update_data (sh2_SensorValue_t *sensor_val) override |
| Updates uncalibrated magf data from decoded sensor event. | |
-Private Attributes | |
| bno08x_magf_t | data |
| bno08x_magf_bias_t | bias_data |
-Static Private Attributes | |
| static const constexpr char * | TAG = "BNO08xRptUncalMagnetometer" |
| virtual bool | enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. | |
Protected Member Functions inherited from BNO08xRpt | |
| bool | rpt_enable (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) |
| Enables a sensor report such that the BNO08x begins sending it. More... | |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. | |
| virtual void | update_data (sh2_SensorValue_t *sensor_val)=0 |
| BNO08xRpt (uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
| BNO08xRpt report constructor. More... | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. | |
| void | unlock_sh2_HAL () |
| Unlocks sh2 HAL lib to allow other tasks to call its APIs. More... | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. | |
| void | lock_sh2_HAL () |
| Locks sh2 HAL lib to only allow the calling task to call its APIs. More... | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. | |
| void | unlock_user_data () |
| Unlocks user data to allow other tasks to read/modify it. More... | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. | |
| void | lock_user_data () |
| Locks locks user data to only allow the calling task to read/modify it. More... | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. | |
| void | signal_data_available () |
| Signals to BNO08x::data_available() that a new report has arrived. More... | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. | |
Protected Attributes inherited from BNO08xRpt | |
| uint8_t | ID |
| Report ID, ex. SH2_ACCELERATION. More... | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. | |
| EventBits_t | rpt_bit |
| Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. | |
Static Protected Attributes inherited from BNO08xRpt | |
| static const constexpr float | RAD_2_DEG |
| Constant for radian to degree conversions, sed in quaternion to euler function conversions. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent uncalibrated magnetometer reports. (See Ref. Manual 6.5.17)
+Class to represent uncalibrated magnetometer reports. (See Ref. Manual 6.5.17)
BNO08xPrivateTypes::default_sensor_cfg | report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |






-
|
- -overrideprivatevirtual | -
Updates uncalibrated magf data from decoded sensor event.
-| sensor_val | The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call. |
Implements BNO08xRpt.
-
-
|
- -private | -
-
|
- -private | -
-
|
- -staticconstexprprivate | -
| get_time_us(sh2_Hal_t *self) | BNO08xSH2HAL | static |
| hal_cb(void *cookie, sh2_AsyncEvent_t *pEvent) | BNO08xSH2HAL | static |
| hardware_reset() | BNO08xSH2HAL | privatestatic |
| imu | BNO08xSH2HAL | privatestatic |
| sensor_event_cb(void *cookie, sh2_SensorEvent_t *event) | BNO08xSH2HAL | static |
| set_hal_imu(BNO08x *hal_imu) | BNO08xSH2HAL | static |
| spi_close(sh2_Hal_t *self) | BNO08xSH2HAL | static |
| spi_open(sh2_Hal_t *self) | BNO08xSH2HAL | static |
| spi_read(sh2_Hal_t *self, uint8_t *pBuffer, unsigned len, uint32_t *t_us) | BNO08xSH2HAL | static |
| spi_read_sh2_packet_body(uint8_t *pBuffer, uint16_t packet_sz) | BNO08xSH2HAL | privatestatic |
| spi_read_sh2_packet_header(uint8_t *pBuffer) | BNO08xSH2HAL | privatestatic |
| spi_wait_for_int() | BNO08xSH2HAL | privatestatic |
| spi_write(sh2_Hal_t *self, uint8_t *pBuffer, unsigned len) | BNO08xSH2HAL | static |
| TAG | BNO08xSH2HAL | privatestatic |
| spi_write(sh2_Hal_t *self, uint8_t *pBuffer, unsigned len) | BNO08xSH2HAL | static |
Fully static class containing callback implementations for sh2 HAL lib. - More...
+ More...#include <BNO08xSH2HAL.hpp>

Static Public Member Functions | |
| static void | set_hal_imu (BNO08x *hal_imu) |
| Sets the BNO08x driver object to be used with sh2 HAL lib callbacks. | |
| static void | set_hal_imu (BNO08x *hal_imu) |
| Sets the BNO08x driver object to be used with sh2 HAL lib callbacks. More... | |
| static int | spi_open (sh2_Hal_t *self) |
| Opens SPI instance by waiting for interrupt. | |
| static int | spi_open (sh2_Hal_t *self) |
| Opens SPI instance by waiting for interrupt. More... | |
| static void | spi_close (sh2_Hal_t *self) |
| Closes SPI instance (nothing to do here, but required by sh2 HAL lib for cases where other communication protocols are used.) | |
| static void | spi_close (sh2_Hal_t *self) |
| Closes SPI instance (nothing to do here, but required by sh2 HAL lib for cases where other communication protocols are used.) More... | |
| static int | spi_read (sh2_Hal_t *self, uint8_t *pBuffer, unsigned len, uint32_t *t_us) |
| SPI rx callback for sh2 HAL lib. | |
| static int | spi_read (sh2_Hal_t *self, uint8_t *pBuffer, unsigned len, uint32_t *t_us) |
| SPI rx callback for sh2 HAL lib. More... | |
| static int | spi_write (sh2_Hal_t *self, uint8_t *pBuffer, unsigned len) |
| SPI tx callback for sh2 HAL lib. | |
| static int | spi_write (sh2_Hal_t *self, uint8_t *pBuffer, unsigned len) |
| SPI tx callback for sh2 HAL lib. More... | |
| static uint32_t | get_time_us (sh2_Hal_t *self) |
| Get time in microseconds callback for sh2 HAL lib. | |
| static uint32_t | get_time_us (sh2_Hal_t *self) |
| Get time in microseconds callback for sh2 HAL lib. More... | |
| static void | hal_cb (void *cookie, sh2_AsyncEvent_t *pEvent) |
| General event callback for sh2 HAL lib, used to notify tasks of reset. | |
| static void | hal_cb (void *cookie, sh2_AsyncEvent_t *pEvent) |
| General event callback for sh2 HAL lib, used to notify tasks of reset. More... | |
| static void | sensor_event_cb (void *cookie, sh2_SensorEvent_t *event) |
| Sensor event callback for sh2 HAL lib, sends received reports to data_proc_task(). | |
| static void | sensor_event_cb (void *cookie, sh2_SensorEvent_t *event) |
| Sensor event callback for sh2 HAL lib, sends received reports to data_proc_task(). More... | |
-Static Private Member Functions | |
| static void | hardware_reset () |
| Hardware reset callback for sh2 HAL lib, toggle RST gpio. | |
| static bool | spi_wait_for_int () |
| SPI wait for HINT sh2 HAL lib callback. | |
| static uint16_t | spi_read_sh2_packet_header (uint8_t *pBuffer) |
| SPI rx packet header (invoked from SPI rx callback.) | |
| static int | spi_read_sh2_packet_body (uint8_t *pBuffer, uint16_t packet_sz) |
| SPI rx packet body (invoked from SPI rx callback.) | |
-Static Private Attributes | |
| static BNO08x * | imu |
| static const constexpr char * | TAG = "BNO08xSH2HAL" |


-
|
- -staticprivate | -
Hardware reset callback for sh2 HAL lib, toggle RST gpio.
-



Closes SPI instance (nothing to do here, but required by sh2 HAL lib for cases where other communication protocols are used.)

Opens SPI instance by waiting for interrupt.




-
|
- -staticprivate | -
SPI rx packet body (invoked from SPI rx callback.)
-| pBuffer | Buffer to store received packet body. |

-
|
- -staticprivate | -
SPI rx packet header (invoked from SPI rx callback.)
-| pBuffer | Buffer to store received header. |

-
|
- -staticprivate | -
SPI wait for HINT sh2 HAL lib callback.
-



-
|
- -staticprivate | -
-
|
- -staticconstexprprivate | -
BNO08x unit test helper class. - More...
+ More...#include <BNO08xTestHelper.hpp>

Static Public Member Functions | |
| static void | print_test_start_banner (const char *TEST_TAG) |
| Prints test begin banner. | |
| static void | print_test_start_banner (const char *TEST_TAG) |
| Prints test begin banner. More... | |
| static void | print_test_end_banner (const char *TEST_TAG) |
| Prints end begin banner. | |
| static void | print_test_end_banner (const char *TEST_TAG) |
| Prints end begin banner. More... | |
| static void | print_test_msg (const char *TEST_TAG, const char *msg) |
| Prints a message during a test. | |
| static void | print_test_msg (const char *TEST_TAG, const char *msg) |
| Prints a message during a test. More... | |
| static void | set_test_imu_cfg (bno08x_config_t cfg) |
| Set test imu configuration used with create_test_imu() | |
| static void | set_test_imu_cfg (bno08x_config_t cfg) |
| Set test imu configuration used with create_test_imu() More... | |
| static void | create_test_imu () |
| Calls BNO08x constructor and creates new test IMU on heap. | |
| static void | create_test_imu () |
| Calls BNO08x constructor and creates new test IMU on heap. More... | |
| static void | destroy_test_imu () |
| Deletes test IMU calling deconstructor and releases heap allocated memory. | |
| static void | destroy_test_imu () |
| Deletes test IMU calling deconstructor and releases heap allocated memory. More... | |
| static BNO08x * | get_test_imu () |
| Deletes test IMU calling deconstructor and releases heap allocated memory. | |
| static BNO08x * | get_test_imu () |
| Deletes test IMU calling deconstructor and releases heap allocated memory. More... | |
| static esp_err_t | call_init_config_args () |
| Used to call private BNO08x::init_config_args() member for tests. | |
| static esp_err_t | call_init_config_args () |
| Used to call private BNO08x::init_config_args() member for tests. More... | |
| static esp_err_t | call_init_gpio () |
| Used to call private BNO08x::init_gpio() member for tests. | |
| static esp_err_t | call_init_gpio () |
| Used to call private BNO08x::init_gpio() member for tests. More... | |
| static esp_err_t | call_init_hint_isr () |
| Used to call private BNO08x::init_hint_isr() member for tests. | |
| static esp_err_t | call_init_hint_isr () |
| Used to call private BNO08x::init_hint_isr() member for tests. More... | |
| static esp_err_t | call_init_spi () |
| Used to call private BNO08x::init_spi() member for tests. | |
| static esp_err_t | call_init_spi () |
| Used to call private BNO08x::init_spi() member for tests. More... | |
| static esp_err_t | call_init_tasks () |
| Used to call private BNO08x::init_tasks() member for tests. | |
| static esp_err_t | call_init_tasks () |
| Used to call private BNO08x::init_tasks() member for tests. More... | |
| static esp_err_t | call_init_sh2_HAL () |
| Used to call private BNO08x::init_tasks() member for tests. | |
| static esp_err_t | call_init_sh2_HAL () |
| Used to call private BNO08x::init_tasks() member for tests. More... | |
| static esp_err_t | call_deinit_gpio () |
| Used to call private BNO08x::deinit_gpio() member for tests. | |
| static esp_err_t | call_deinit_gpio () |
| Used to call private BNO08x::deinit_gpio() member for tests. More... | |
| static esp_err_t | call_deinit_hint_isr () |
| Used to call private BNO08x::deinit_hint_isr() member for tests. | |
| static esp_err_t | call_deinit_hint_isr () |
| Used to call private BNO08x::deinit_hint_isr() member for tests. More... | |
| static esp_err_t | call_deinit_spi () |
| Used to call private BNO08x::deinit_spi() member for tests. | |
| static esp_err_t | call_deinit_spi () |
| Used to call private BNO08x::deinit_spi() member for tests. More... | |
| static esp_err_t | call_deinit_tasks () |
| Used to call private BNO08x::deinit_tasks() member for tests. | |
| static esp_err_t | call_deinit_tasks () |
| Used to call private BNO08x::deinit_tasks() member for tests. More... | |
| static esp_err_t | call_deinit_sh2_HAL () |
| Used to call private BNO08x::deinit_tasks() member for tests. | |
| static esp_err_t | call_deinit_sh2_HAL () |
| Used to call private BNO08x::deinit_tasks() member for tests. More... | |
-Static Private Attributes | |
| static BNO08x * | test_imu = nullptr |
| static bno08x_config_t | imu_cfg |
| static const constexpr char * | TAG = "BNO08xTestHelper" |
Used to call private BNO08x::deinit_gpio() member for tests.
+Used to call private BNO08x::deinit_gpio() member for tests.


Used to call private BNO08x::deinit_hint_isr() member for tests.
+Used to call private BNO08x::deinit_hint_isr() member for tests.


Used to call private BNO08x::deinit_tasks() member for tests.
+Used to call private BNO08x::deinit_tasks() member for tests.


Used to call private BNO08x::deinit_spi() member for tests.
+Used to call private BNO08x::deinit_spi() member for tests.


Used to call private BNO08x::deinit_tasks() member for tests.
+Used to call private BNO08x::deinit_tasks() member for tests.


Used to call private BNO08x::init_config_args() member for tests.
+Used to call private BNO08x::init_config_args() member for tests.


Used to call private BNO08x::init_gpio() member for tests.
+Used to call private BNO08x::init_gpio() member for tests.


Used to call private BNO08x::init_hint_isr() member for tests.
+Used to call private BNO08x::init_hint_isr() member for tests.


Used to call private BNO08x::init_tasks() member for tests.
+Used to call private BNO08x::init_tasks() member for tests.


Used to call private BNO08x::init_spi() member for tests.
+Used to call private BNO08x::init_spi() member for tests.


Used to call private BNO08x::init_tasks() member for tests.
+Used to call private BNO08x::init_tasks() member for tests.





Deletes test IMU calling deconstructor and releases heap allocated memory.



Set test imu configuration used with create_test_imu()
+Set test imu configuration used with create_test_imu()
| cfg | String containing test name. |
-
|
- -inlinestaticprivate | -
-
|
- -staticconstexprprivate | -
-
|
- -inlinestaticprivate | -
This is the complete list of members for BNO08xTestSuite, including all inherited members.
| print_begin_tests_banner(const char *test_set_name) | BNO08xTestSuite | inlineprivatestatic |
| print_end_tests_banner(const char *test_set_name) | BNO08xTestSuite | inlineprivatestatic |
| run_all_tests() | BNO08xTestSuite | inlinestatic |
| run_callback_tests(bool call_unity_end_begin=true) | BNO08xTestSuite | inlinestatic |
| run_feature_tests(bool call_unity_end_begin=true) | BNO08xTestSuite | inlinestatic |
|
- esp32_BNO08x 1.31
+ esp32_BNO08x 1.4
C++ BNO08x IMU driver component for esp-idf.
|
@@ -36,10 +34,10 @@
BNO08x unit test launch point class. - More...
+ More...#include <BNO08xTestSuite.hpp>
Static Public Member Functions | |
| static void | run_all_tests () |
| static void | run_all_tests () |
| static void | run_init_deinit_tests (bool call_unity_end_begin=true) |
| static void | run_init_deinit_tests (bool call_unity_end_begin=true) |
| static void | run_single_report_tests (bool call_unity_end_begin=true) |
| static void | run_single_report_tests (bool call_unity_end_begin=true) |
| static void | run_multi_report_tests (bool call_unity_end_begin=true) |
| static void | run_multi_report_tests (bool call_unity_end_begin=true) |
| static void | run_callback_tests (bool call_unity_end_begin=true) |
| static void | run_callback_tests (bool call_unity_end_begin=true) |
| static void | run_feature_tests (bool call_unity_end_begin=true) |
| static void | run_feature_tests (bool call_unity_end_begin=true) |
-Static Private Member Functions | |
| static void | print_begin_tests_banner (const char *test_set_name) |
| static void | print_end_tests_banner (const char *test_set_name) |
BNO08x unit test launch point class.
+BNO08x unit test launch point class.
-
|
- -inlinestaticprivate | -

-
|
- -inlinestaticprivate | -


true

true

true

true

true

|
- esp32_BNO08x 1.31
-
- C++ BNO08x IMU driver component for esp-idf.
- |
-
|
- esp32_BNO08x 1.31
-
- C++ BNO08x IMU driver component for esp-idf.
- |
-
|
- esp32_BNO08x 1.31
-
- C++ BNO08x IMU driver component for esp-idf.
- |
-

-Files | |
| CallbackTests.cpp | |
| FeatureTests.cpp | |
| InitDenitTests.cpp | |
| MultiReportTests.cpp | |
| SingleReportTests.cpp | |


Files | |
| BNO08xCbGeneric.hpp | |
| file | BNO08xCbGeneric.hpp [code] |
| BNO08xCbParamRptID.hpp | |
| file | BNO08xCbParamRptID.hpp [code] |
| BNO08xCbParamVoid.hpp | |
| file | BNO08xCbParamVoid.hpp [code] |


|
- esp32_BNO08x 1.31
-
- C++ BNO08x IMU driver component for esp-idf.
- |
-

-Directories | |
| report | |
-Files | |
| BNO08x.cpp | |
| BNO08xRpt.cpp | |
| BNO08xSH2HAL.cpp | |


Directories | |
| callback | |
| directory | callback |
| report | |
| directory | report |
Files | |
| BNO08x.hpp | |
| file | BNO08x.hpp [code] |
| BNO08xGlobalTypes.hpp | |
| file | BNO08xGlobalTypes.hpp [code] |
| BNO08xPrivateTypes.hpp | |
| file | BNO08xPrivateTypes.hpp [code] |
| BNO08xSH2HAL.hpp | |
| file | BNO08xSH2HAL.hpp [code] |
| BNO08xTestHelper.hpp | |
| file | BNO08xTestHelper.hpp [code] |
| BNO08xTestSuite.hpp | |
| file | BNO08xTestSuite.hpp [code] |

