diff --git a/documentation/html/_b_n_o08x_8cpp.html b/documentation/html/_b_n_o08x_8cpp.html new file mode 100644 index 0000000..2d7342b --- /dev/null +++ b/documentation/html/_b_n_o08x_8cpp.html @@ -0,0 +1,160 @@ + + +
+ + + + +|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include <etl/vector.h>#include <etl/variant.h>#include <etl/map.h>#include <driver/gpio.h>#include <driver/spi_common.h>#include <driver/spi_master.h>#include <freertos/FreeRTOS.h>#include <freertos/task.h>#include <freertos/event_groups.h>#include <freertos/queue.h>#include "BNO08xGlobalTypes.hpp"#include "BNO08xPrivateTypes.hpp"#include "BNO08xSH2HAL.hpp"#include "BNO08xReports.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08x |
| BNO08x IMU driver class. More... | |
| struct | BNO08x::bno08x_reports_t |
| Contains report implementations. More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include <stdint.h>#include <functional>

Go to the source code of this file.
++Classes | |
| class | BNO08xCbGeneric |
| Parent class to represent callback functions as generic type such that all flavors can be invoked by single type. More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xCbGeneric.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xCbParamRptID |
| Class to hold callback functions which are passed report ID as input parameter. More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xCbGeneric.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xCbParamVoid |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include <math.h>#include <inttypes.h>#include <stdint.h>#include <cstring>#include <driver/gpio.h>#include <driver/spi_common.h>#include <driver/spi_master.h>#include "sh2_SensorValue.h"

Go to the source code of this file.
++Classes | |
| struct | bno08x_config_t |
| IMU configuration settings passed into constructor. More... | |
| struct | bno08x_quat_t |
| Struct to represent unit quaternion. More... | |
| struct | bno08x_euler_angle_t |
| Struct to represent euler angle (units in degrees or rads) More... | |
| struct | bno08x_ang_vel_t |
| Struct to represent angular velocity (units in rad/s) More... | |
| struct | bno08x_magf_t |
| Struct to represent magnetic field data (units in uTesla) More... | |
| struct | bno08x_magf_bias_t |
| Struct to represent magnetic field bias data (units in uTesla) More... | |
| struct | bno08x_gyro_t |
| Struct to represent gyro data (units in rad/s) More... | |
| struct | bno08x_gyro_bias_t |
| Struct to represent gyro bias data (units in rad/s) More... | |
| struct | bno08x_activity_classifier_t |
| Struct to represent activity classifier data. More... | |
| struct | 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... | |
| struct | bno08x_shake_detector_t |
| Struct to represent shake detector data (flag meaning: 0 = no shake 1 = shake detected) More... | |
| struct | bno08x_accel_t |
| Struct to represent acceleration data from acceleration, linear acceleration, and gravity reports. More... | |
| struct | bno08x_step_counter_t |
| Struct to represent step counter data from step counter reports. More... | |
| struct | bno08x_raw_gyro_t |
| Struct to represent raw mems gyro data from raw gyro reports (units in ADC counts). More... | |
| struct | bno08x_raw_accel_t |
| Struct to represent raw mems accelerometer data from raw accelerometer reports (units in ADC counts). More... | |
| struct | bno08x_raw_magf_t |
| Struct to represent raw mems magnetometer data from raw magnetometer reports (units in ADC counts). More... | |
| struct | bno08x_stability_classifier_t |
| Struct to represent stability classifier data from stability classifier reports. More... | |
| struct | bno08x_sample_counts_t |
| Struct to represent sample counts, returned from BNO08xRpt::get_sample_counts() More... | |
| struct | bno08x_meta_data_t |
| Struct to represent sensor/report meta data, returned from BNO08xRpt::get_meta_data() More... | |
+Macros | |
| #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_Y_AXIS(tap) ((tap) & (1U << 2U) ? 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_POSITIVE(tap) ((tap) & (1U << 5U) ? 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_Y(tap) ((tap) & (1U << 1U) ? 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. More... | |
| typedef bno08x_config_t | imu_config_t |
| using | IMUAccuracy = BNO08xAccuracy |
| 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) More... | |
| 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) More... | |
| 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) More... | |
| 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. 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) 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) More... | |
| 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. 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). 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). 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). More... | |
| 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() More... | |
| 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 : 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) + + } |
| enum class | BNO08xResetReason : uint8_t { + UNDEFINED +, POR +, INT_RST +, WTD +, + EXT_RST +, OTHER + + } |
| Reason for previous IMU reset (returned by get_reset_reason()) More... | |
| enum class | BNO08xAccuracy : uint8_t { + UNRELIABLE +, LOW +, MED +, HIGH +, + UNDEFINED + + } |
| 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) +, + 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() 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 +, + ON_STAIRS = 8 +, UNDEFINED = 9 + + } |
| 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 + + } |
| 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 + + } |
+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) |
| #define SHAKE_DETECTED_X | +( | ++ | tap | ) | +((tap) & (1U << 0U) ? 1 : 0) | +
| #define SHAKE_DETECTED_Y | +( | ++ | tap | ) | +((tap) & (1U << 1U) ? 1 : 0) | +
| #define SHAKE_DETECTED_Z | +( | ++ | tap | ) | +((tap) & (1U << 2U) ? 1 : 0) | +
| #define TAP_DETECTED_DOUBLE | +( | ++ | tap | ) | +((tap) & (1U << 6U) ? 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_Y_AXIS | +( | ++ | tap | ) | +((tap) & (1U << 2U) ? 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_POSITIVE | +( | ++ | tap | ) | +((tap) & (1U << 5U) ? 1 : 0) | +
| typedef struct bno08x_accel_t bno08x_accel_t | +
Struct to represent acceleration data from acceleration, linear acceleration, and gravity reports.
+ +| typedef struct bno08x_activity_classifier_t bno08x_activity_classifier_t | +
Struct to represent activity classifier data.
+ +| typedef struct bno08x_ang_vel_t bno08x_ang_vel_t | +
Struct to represent angular velocity (units in rad/s)
+ +| typedef struct bno08x_config_t bno08x_config_t | +
IMU configuration settings passed into constructor.
+ +| typedef struct bno08x_euler_angle_t bno08x_euler_angle_t | +
Struct to represent euler angle (units in degrees or rads)
+ +| typedef struct bno08x_gyro_bias_t bno08x_gyro_bias_t | +
Struct to represent gyro bias data (units in rad/s)
+ +| typedef struct bno08x_gyro_t bno08x_gyro_t | +
Struct to represent gyro data (units in rad/s)
+ +| typedef struct bno08x_magf_bias_t bno08x_magf_bias_t | +
Struct to represent magnetic field bias data (units in uTesla)
+ +| typedef struct bno08x_magf_t bno08x_magf_t | +
Struct to represent magnetic field data (units in uTesla)
+ +| 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_quat_t bno08x_quat_t | +
Struct to represent unit quaternion.
+ +| 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_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_magf_t bno08x_raw_magf_t | +
Struct to represent raw mems magnetometer data from raw magnetometer reports (units in ADC counts).
+ +| typedef struct bno08x_sample_counts_t bno08x_sample_counts_t | +
Struct to represent sample counts, returned from BNO08xRpt::get_sample_counts()
+ +| 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_stability_classifier_t bno08x_stability_classifier_t | +
Struct to represent stability classifier data from stability classifier reports.
+ +| typedef struct bno08x_step_counter_t bno08x_step_counter_t | +
Struct to represent step counter data from step counter reports.
+ +| 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 bno08x_config_t imu_config_t | +
| using IMUAccuracy = BNO08xAccuracy | +
+
|
+ +strong | +
+
|
+ +strong | +
+
|
+ +strong | +
+
|
+ +strong | +
+
|
+ +strong | +
+
|
+ +strong | +
Reason for previous IMU reset (returned by get_reset_reason())
+
+
|
+ +strong | +
+
|
+ +constexpr | +

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

+
|
+ +constexpr | +
Converts a BNO08xStability enum to string.
+|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include <etl/vector.h>#include <etl/variant.h>#include <freertos/FreeRTOS.h>#include <freertos/semphr.h>#include <freertos/event_groups.h>#include "BNO08xGlobalTypes.hpp"#include "BNO08xCbParamRptID.hpp"#include "BNO08xCbParamVoid.hpp"

Go to the source code of this file.
++Classes | |
| struct | BNO08xPrivateTypes::bno08x_init_status_t |
| Holds info about which functionality has been successfully initialized (used by deconstructor during cleanup). More... | |
| struct | BNO08xPrivateTypes::bno08x_sync_ctx_t |
| Holds context used to synchronize tasks and callback execution. More... | |
+Namespaces | |
| namespace | BNO08xPrivateTypes |
+Typedefs | |
| 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. More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptAcceleration.hpp"#include "BNO08xRptLinearAcceleration.hpp"#include "BNO08xRptGravity.hpp"#include "BNO08xRptCalMagnetometer.hpp"#include "BNO08xRptUncalMagnetometer.hpp"#include "BNO08xRptCalGyro.hpp"#include "BNO08xRptUncalGyro.hpp"#include "BNO08xRptRV.hpp"#include "BNO08xRptGameRV.hpp"#include "BNO08xRptARVRStabilizedRV.hpp"#include "BNO08xRptARVRStabilizedGameRV.hpp"#include "BNO08xRptIGyroRV.hpp"#include "BNO08xRptRVGeomag.hpp"#include "BNO08xRptRawMEMSGyro.hpp"#include "BNO08xRptRawMEMSAccelerometer.hpp"#include "BNO08xRptRawMEMSMagnetometer.hpp"#include "BNO08xRptStepCounter.hpp"#include "BNO08xRptActivityClassifier.hpp"#include "BNO08xRptStabilityClassifier.hpp"#include "BNO08xRptShakeDetector.hpp"#include "BNO08xRptTapDetector.hpp"

|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRpt.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include <functional>#include "esp_log.h"#include "BNO08xGlobalTypes.hpp"#include "BNO08xPrivateTypes.hpp"#include "sh2.h"#include "sh2_SensorValue.h"#include "sh2_err.h"

Go to the source code of this file.
++Classes | |
| class | BNO08xRpt |
| Class to represent and manage reports returned from BNO08x. More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptARVRStabilizedGameRV.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptRVGeneric.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptARVRStabilizedGameRV |
| Class to represent ARVR stabilized rotation vector reports. (See Ref. Manual 6.5.43) More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptARVRStabilizedRV.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptRVGeneric.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptARVRStabilizedRV |
| Class to represent ARVR stabilized rotation vector reports. (See Ref. Manual 6.5.42) More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptAcceleration.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRpt.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptAcceleration |
| Class to represent accelerometer reports. (See Ref. Manual 6.5.9) More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptActivityClassifier.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRpt.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptActivityClassifier |
| Class to represent activity classifier reports. (See Ref. Manual 6.5.36) More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptCalGyro.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRpt.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptCalGyro |
| Class to represent calibrated gyro reports. (See Ref. Manual 6.5.13) More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptCalMagnetometer.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRpt.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptCalMagnetometer |
| Class to represent calibrated magnetometer reports. (See Ref. Manual 6.5.16) More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptGameRV.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptRVGeneric.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptGameRV |
| Class to represent game rotation vector reports. (See Ref. Manual 6.5.19) More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptGravity.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRpt.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptGravity |
| Class to represent gravity reports. (See Ref. Manual 6.5.11) More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptIGyroRV.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptRVGeneric.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptIGyroRV |
| Class to represent integrated gyro rotation vector reports. (See Ref. Manual 6.5.44) More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptLinearAcceleration.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRpt.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptLinearAcceleration |
| Class to represent linear accelerometer reports. (See Ref. Manual 6.5.10) More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptRV.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptRVGeneric.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptRV |
| Class to represent rotation vector reports. (See Ref. Manual 6.5.18) More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptRVGeneric.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRpt.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptRVGeneric |
| Class to represent rotation vector reports. More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptRVGeomag.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptRVGeneric.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptRVGeomag |
| Class to represent geomagnetic rotation vector reports. (See Ref. Manual 6.5.20) More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptRawMEMSAccelerometer.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRpt.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptRawMEMSAccelerometer |
| Class to represent raw accelerometer reports. (See Ref. Manual 6.5.8) More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptRawMEMSGyro.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRpt.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptRawMEMSGyro |
| Class to represent raw gyro reports. (See Ref. Manual 6.5.12) More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptRawMEMSMagnetometer.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRpt.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptRawMEMSMagnetometer |
| Class to represent raw magnetometer reports. (See Ref. Manual 6.5.15) More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptShakeDetector.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRpt.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptShakeDetector |
| Class to represent shake detector reports. (See Ref. Manual 6.5.32) More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptStabilityClassifier.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRpt.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptStabilityClassifier |
| Class to represent stability classifier reports. (See Ref. Manual 6.5.31) More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptStepCounter.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRpt.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptStepCounter |
| Class to represent step counter reports. (See Ref. Manual 6.5.29) More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptTapDetector.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRpt.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptTapDetector |
| Class to represent tap detector reports. (See Ref. Manual 6.5.27) More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptUncalGyro.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRpt.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptUncalGyro |
| Class to represent uncalibrated gyro reports. (See Ref. Manual 6.5.14) More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRptUncalMagnetometer.hpp"
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08xRpt.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xRptUncalMagnetometer |
| Class to represent uncalibrated magnetometer reports. (See Ref. Manual 6.5.17) More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "sh2.h"#include "sh2_SensorValue.h"#include "sh2_err.h"#include <esp_log.h>#include <esp_timer.h>#include "BNO08xPrivateTypes.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xSH2HAL |
| Fully static class containing callback implementations for sh2 HAL lib. More... | |
+Macros | |
| #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. More... | |
| #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. 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. 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.
+| packet | Pointer to bno08x_rx_packet_t containing data. |
| #define UINT16_CLR_LSB | +( | ++ | val_16bit | ) | +((val_16bit) & 0xFF00U) | +
Clears the least significant byte of a 16-bit value.
+| val_16bit | The 16-bit value to modify. |
| #define UINT16_CLR_MSB | +( | ++ | val_16bit | ) | +((val_16bit) & 0x00FFU) | +
Clears the most significant byte of a 16-bit value.
+| val_16bit | The 16-bit value to modify. |
| #define UINT32_CLR_BYTE | +( | ++ | val_32bit, | +
| + | + | + | byte2clear | +
| + | ) | +((val_32bit) & ~(0xFFUL << (byte2clear * 8UL))) | +
Clears a specified byte in a 32-bit value.
+| val_32bit | The 32-bit value to modify. |
| byte2clear | The byte index to clear (0 = LSB, 3 = MSB). |
| #define UINT32_MSK_BYTE | +( | ++ | val_32bit, | +
| + | + | + | byte2mask | +
| + | ) | +((val_32bit) & (0xFFUL << (byte2mask * 8UL))) | +
Masks a specified byte in a 32-bit value.
+| val_32bit | The 32-bit value to modify. |
| byte2mask | The byte index to mask (0 = LSB, 3 = MSB). |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include "BNO08x.hpp"

Go to the source code of this file.
++Classes | |
| class | BNO08xTestHelper |
| BNO08x unit test helper class. More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+

Go to the source code of this file.
++Classes | |
| class | BNO08xTestSuite |
| BNO08x unit test launch point class. More... | |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
| ▼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_reports_t | Contains report implementations |
| 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_config_t | IMU configuration settings passed into constructor |
| 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_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_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_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_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_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_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) |
| 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 |
| CBNO08xCbParamVoid | |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| CBNO08xRptRVGeneric | Class to represent rotation vector reports |
| 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) |
| 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) |
| 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) |
| CBNO08xSH2HAL | Fully static class containing callback implementations for sh2 HAL lib |
| CBNO08xTestHelper | BNO08x unit test helper class |
| CBNO08xTestSuite | BNO08x unit test launch point class |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08x, including all inherited members.
+|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
BNO08x IMU driver class. + More...
+ +#include <BNO08x.hpp>

+Classes | |
| struct | bno08x_reports_t |
| Contains report implementations. More... | |
+Public Types | |
| 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. More... | |
| ~BNO08x () | |
| BNO08x imu deconstructor. More... | |
| bool | initialize () |
| Initializes BNO08x sensor. More... | |
| bool | hard_reset () |
| Hard resets BNO08x device. More... | |
| 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. More... | |
| 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. More... | |
| bool | sleep () |
| Places BNO08x device in sleep state by sending SLEEP (3) command on "device" channel. More... | |
| 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. 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. 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. More... | |
| 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. More... | |
| 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. More... | |
| void | print_product_ids () |
| Prints product IDs received at initialization. More... | |
| void | print_system_orientation () |
| Retrieves and prints system orientation. More... | |
+Public Attributes | |
| bno08x_reports_t | rpt |
+Static Public Attributes | |
| static constexpr float | SQRT2OVER2 = 0.7071067811865476f |
+Friends | |
| class | BNO08xSH2HAL |
| class | BNO08xTestHelper |
BNO08x IMU driver class.
+| typedef struct BNO08x::bno08x_reports_t BNO08x::bno08x_reports_t | +
Contains report implementations.
+ +| BNO08x::BNO08x | +( | +bno08x_config_t | +imu_config = bno08x_config_t() | ) | ++ |
BNO08x imu constructor.
+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 | +( | +) | ++ |
| bool BNO08x::data_available | +( | +) | ++ |
Polls for new data/report to become available.
+
| bool BNO08x::disable_all_reports | +( | +) | ++ |
Disables all currently enabled reports.
+
| bool BNO08x::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 BNO08x::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 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.
+
| bool BNO08x::dynamic_calibration_disable | +( | +BNO08xCalSel | +sensor | ) | ++ |
Disables dynamic/motion engine calibration for specified sensor(s), see ref. manual 6.4.6.1.
+| sensor | The sensor(s) to disable dynamic/ME calibration for. |

| bool BNO08x::dynamic_calibration_enable | +( | +BNO08xCalSel | +sensor | ) | ++ |
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.
+
| bool BNO08x::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)
+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. |
| data | Buffer of 16 uint32_t to store retrieved data. |
| rx_data_sz | Reference to store number of 32 bit words retrieved from flash. |


| sh2_ProductIds_t BNO08x::get_product_IDs | +( | +) | ++ |
Returns product ID info sent by IMU at initialization.
+| BNO08xResetReason BNO08x::get_reset_reason | +( | +) | ++ |
Returns reason for previous reset via product ID report.
+
| bool BNO08x::get_system_orientation | +( | +float & | +Qw, | +
| + | + | float & | +Qx, | +
| + | + | float & | +Qy, | +
| + | + | float & | +Qz | +
| + | ) | ++ |
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. |


| bool BNO08x::hard_reset | +( | +) | ++ |
Hard resets BNO08x device.
+

| bool BNO08x::initialize | +( | +) | ++ |
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.
+| bool BNO08x::on | +( | +) | ++ |
Places BNO08x device in on state by sending ON (2) command on "device" channel.
+| void BNO08x::print_product_ids | +( | +) | ++ |
Prints product IDs received at initialization.
+| void BNO08x::print_system_orientation | +( | +) | ++ |
Retrieves and prints system orientation.
+
| bool BNO08x::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.
+| cb_fxn | Pointer to the call-back function should be of void return type with single input param of uint8_t for most recent report ID. |
| bool BNO08x::register_cb | +( | +std::function< void(void)> | +cb_fxn | ) | ++ |
Registers a callback to execute when new data from a report is received.
+| cb_fxn | Pointer to the call-back function should be of void return type void input param. |
| bool BNO08x::set_system_orientation | +( | +float | +Qw, | +
| + | + | float | +Qx, | +
| + | + | float | +Qy, | +
| + | + | float | +Qz | +
| + | ) | ++ |
Sets the system orientation of the BNO08x device and persist it in flash (FRS).
+| 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. |
| bool BNO08x::sleep | +( | +) | ++ |
Places BNO08x device in sleep state by sending SLEEP (3) command on "device" channel.
+| bool BNO08x::soft_reset | +( | +) | ++ |
Soft resets BNO08x device by sending RESET (1) 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. |


+
|
+ +friend | +
+
|
+ +friend | +
| bno08x_reports_t BNO08x::rpt | +
+
|
+ +staticconstexpr | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xCbGeneric, including all inherited members.
+| BNO08xCbGeneric(uint8_t rpt_ID) | BNO08xCbGeneric | inlineprotected |
| invoke(uint8_t rpt_ID)=0 | BNO08xCbGeneric | pure virtual |
| rpt_ID | BNO08xCbGeneric | |
| ~BNO08xCbGeneric()=default | BNO08xCbGeneric | virtual |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Parent class to represent callback functions as generic type such that all flavors can be invoked by single type. + More...
+ +#include <callback/BNO08xCbGeneric.hpp>

+Public Member Functions | |
| virtual void | invoke (uint8_t rpt_ID)=0 |
| virtual | ~BNO08xCbGeneric ()=default |
+Public Attributes | |
| uint8_t | rpt_ID |
+Protected Member Functions | |
| BNO08xCbGeneric (uint8_t rpt_ID) | |
Parent class to represent callback functions as generic type such that all flavors can be invoked by single type.
+
+
|
+ +virtualdefault | +
+
|
+ +inlineprotected | +
+
|
+ +pure virtual | +
Implemented in BNO08xCbParamRptID, and BNO08xCbParamVoid.
+ +| uint8_t BNO08xCbGeneric::rpt_ID | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xCbParamRptID, including all inherited members.
+| BNO08xCbGeneric(uint8_t rpt_ID) | BNO08xCbGeneric | inlineprotected |
| BNO08xCbParamRptID(std::function< void(uint8_t)> cb_fxn, uint8_t rpt_ID) | BNO08xCbParamRptID | inline |
| invoke(uint8_t rpt_ID) override | BNO08xCbParamRptID | inlinevirtual |
| rpt_ID | BNO08xCbGeneric | |
| ~BNO08xCbGeneric()=default | BNO08xCbGeneric | virtual |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to hold callback functions which are passed report ID as input parameter. + More...
+ +#include <callback/BNO08xCbParamRptID.hpp>


+Public Member Functions | |
| BNO08xCbParamRptID (std::function< void(uint8_t)> cb_fxn, uint8_t rpt_ID) | |
| void | invoke (uint8_t rpt_ID) override |
| Invokes contained callback function. More... | |
Public Member Functions inherited from BNO08xCbGeneric | |
| virtual void | invoke (uint8_t rpt_ID)=0 |
| virtual | ~BNO08xCbGeneric ()=default |
+Additional Inherited Members | |
Public Attributes inherited from 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.
+
+
|
+ +inline | +
+
|
+ +inlineoverridevirtual | +
Invokes contained callback function.
+| rpt_ID | Report ID to be passed to contained callback. |
Implements BNO08xCbGeneric.
+ +|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xCbParamVoid, including all inherited members.
+| BNO08xCbGeneric(uint8_t rpt_ID) | BNO08xCbGeneric | inlineprotected |
| BNO08xCbParamVoid(std::function< void(void)> cb_fxn, uint8_t rpt_ID) | BNO08xCbParamVoid | inline |
| invoke(uint8_t rpt_ID) override | BNO08xCbParamVoid | inlinevirtual |
| rpt_ID | BNO08xCbGeneric | |
| ~BNO08xCbGeneric()=default | BNO08xCbGeneric | virtual |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
#include <callback/BNO08xCbParamVoid.hpp>


+Public Member Functions | |
| BNO08xCbParamVoid (std::function< void(void)> cb_fxn, uint8_t rpt_ID) | |
| void | invoke (uint8_t rpt_ID) override |
| Invokes contained callback function. More... | |
Public Member Functions inherited from BNO08xCbGeneric | |
| virtual void | invoke (uint8_t rpt_ID)=0 |
| virtual | ~BNO08xCbGeneric ()=default |
+Additional Inherited Members | |
Public Attributes inherited from BNO08xCbGeneric | |
| uint8_t | rpt_ID |
Protected Member Functions inherited from BNO08xCbGeneric | |
| BNO08xCbGeneric (uint8_t rpt_ID) | |
+
|
+ +inline | +
+
|
+ +inlineoverridevirtual | +
Invokes contained callback function.
+| rpt_ID | n/a, not used, kept to maintain same prototype as BNO08xCbParamRptID::invoke() |
Implements BNO08xCbGeneric.
+ +|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRpt, including all inherited members.
+| BNO08x | BNO08xRpt | friend |
| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| 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)=0 | BNO08xRpt | pure virtual |
| flush() | BNO08xRpt | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 | BNO08xRpt | protectedstatic |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
| update_data(sh2_SensorValue_t *sensor_val)=0 | BNO08xRpt | protectedpure virtual |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent and manage reports returned from BNO08x. + More...
+ +#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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
+Protected Attributes | |
| 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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| 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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
+Friends | |
| class | BNO08x |
Class to represent and manage reports returned from BNO08x.
+
+
|
+ +inlineprotected | +
BNO08xRpt report constructor.
+Construct a BNO08xRpt object for managing a BNO08x sensor report.
+| imu | Pointer to BNO08x imu object. |
| report_ID | Report ID, ex. SH2_ACCELERATION. |
| rpt_bit | Respective enable bit for report in BNO08x::evt_grp_report_en. |
| period_us | The period/interval of the report in microseconds. |
| bool BNO08xRpt::clear_sample_counts | +( | +) | ++ |
Clears BNO08x internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1)
+
| bool BNO08xRpt::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.
+| sensor_ID | The ID of the sensor for the respective report to be disabled. |
| sensor_cfg | Sensor special configuration. |

+
|
+ +pure virtual | +
Implemented in BNO08xRptAcceleration, BNO08xRptActivityClassifier, BNO08xRptCalGyro, BNO08xRptCalMagnetometer, BNO08xRptGravity, BNO08xRptLinearAcceleration, BNO08xRptRawMEMSAccelerometer, BNO08xRptRawMEMSGyro, BNO08xRptRawMEMSMagnetometer, BNO08xRptRVGeneric, BNO08xRptShakeDetector, BNO08xRptStabilityClassifier, BNO08xRptStepCounter, BNO08xRptTapDetector, BNO08xRptUncalGyro, and BNO08xRptUncalMagnetometer.
+ +| bool BNO08xRpt::flush | +( | +) | ++ |
Flush all buffered reports for this sensor/report module.
+
| bool BNO08xRpt::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).
+Can be used to retrieve the minimum period, maximum period, actual Q points, resolution, and other info for a given sensor.
+
| bool BNO08xRpt::get_sample_counts | +( | +bno08x_sample_counts_t & | +sample_counts | ) | ++ |
Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1)
+| Struct | to store requested data. |

| bool BNO08xRpt::has_new_data | +( | +) | ++ |
Checks if a new report has been received since the last time this function was called.
+
+
|
+ +protected | +
Locks sh2 HAL lib to only allow the calling task to call its APIs.
+
+
|
+ +protected | +
Locks locks user data to only allow the calling task to read/modify it.
+
| bool BNO08xRpt::register_cb | +( | +std::function< void(void)> | +cb_fxn | ) | ++ |
Registers a callback to execute when new data from a specific report is received.
+| cb_fxn | Pointer to the call-back function should be of void return type void input param. |
+
|
+ +protected | +
Enables a sensor report such that the BNO08x begins sending it.
+| report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |


+
|
+ +protected | +
Signals to BNO08x::data_available() that a new report has arrived.
+
+
|
+ +protected | +
Unlocks sh2 HAL lib to allow other tasks to call its APIs.
+
+
|
+ +protected | +
Unlocks user data to allow other tasks to read/modify it.
+
+
|
+ +protectedpure virtual | +
+
|
+ +friend | +
+
|
+ +protected | +
Report ID, ex. SH2_ACCELERATION.
+ +
+
|
+ +protected | +
The period/interval of the report in microseconds.
+ +
+
|
+ +staticconstexprprotected | +
Constant for radian to degree conversions, sed in quaternion to euler function conversions.
+ +
+
|
+ +protected | +
Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data.
+ +
+
|
+ +protected | +
+
|
+ +staticconstexprprotected | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptARVRStabilizedGameRV, including all inherited members.
+| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptARVRStabilizedGameRV(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptARVRStabilizedGameRV | inline |
| BNO08xRptRVGeneric(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptRVGeneric | inlineprotected |
| clear_sample_counts() | BNO08xRpt | |
| data | BNO08xRptRVGeneric | protected |
| 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 | BNO08xRptRVGeneric | virtual |
| flush() | BNO08xRpt | |
| get_euler(bool in_degrees=true) | BNO08xRptRVGeneric | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_quat() | BNO08xRptRVGeneric | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 |
| tare(bool x, bool y, bool z, sh2_TareBasis_t basis) | BNO08xRptRVGeneric | protected |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent ARVR stabilized rotation vector reports. (See Ref. Manual 6.5.43) + More...
+ +#include <report/BNO08xRptARVRStabilizedGameRV.hpp>


+Public Member Functions | |
| 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. 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). 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. 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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) | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
Protected Attributes inherited from BNO08xRptRVGeneric | |
| bno08x_quat_t | data |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent ARVR stabilized rotation vector reports. (See Ref. Manual 6.5.43)
+
+
|
+ +inline | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptARVRStabilizedRV, including all inherited members.
+| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptARVRStabilizedRV(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptARVRStabilizedRV | inline |
| BNO08xRptRVGeneric(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptRVGeneric | inlineprotected |
| clear_sample_counts() | BNO08xRpt | |
| data | BNO08xRptRVGeneric | protected |
| 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 | BNO08xRptRVGeneric | virtual |
| flush() | BNO08xRpt | |
| get_euler(bool in_degrees=true) | BNO08xRptRVGeneric | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_quat() | BNO08xRptRVGeneric | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 |
| tare(bool x, bool y, bool z, sh2_TareBasis_t basis) | BNO08xRptRVGeneric | protected |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent ARVR stabilized rotation vector reports. (See Ref. Manual 6.5.42) + More...
+ +#include <report/BNO08xRptARVRStabilizedRV.hpp>


+Public Member Functions | |
| 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. 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). 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. 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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) | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
Protected Attributes inherited from BNO08xRptRVGeneric | |
| bno08x_quat_t | data |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent ARVR stabilized rotation vector reports. (See Ref. Manual 6.5.42)
+
+
|
+ +inline | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptAcceleration, including all inherited members.
+| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptAcceleration(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptAcceleration | 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 | BNO08xRptAcceleration | virtual |
| flush() | BNO08xRpt | |
| get() | BNO08xRptAcceleration | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent accelerometer reports. (See Ref. Manual 6.5.9) + More...
+ +#include <report/BNO08xRptAcceleration.hpp>


+Public Member Functions | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| 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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent accelerometer reports. (See Ref. Manual 6.5.9)
+
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Enables acceleration reports such that the BNO08x begins sending them.
+| report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
Implements BNO08xRpt.
+
| bno08x_accel_t BNO08xRptAcceleration::get | +( | +) | ++ |
Grabs most recent acceleration data (including gravity), units are in m/s^2.
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptActivityClassifier, including all inherited members.
+| 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 | |
| get() | BNO08xRptActivityClassifier | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_most_likely_activity() | BNO08xRptActivityClassifier | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| rpt_enable(uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg) | BNO08xRpt | protected |
| set_activities_to_enable(BNO08xActivityEnable activities_to_enable) | BNO08xRptActivityClassifier | |
| signal_data_available() | BNO08xRpt | protected |
| sync_ctx | BNO08xRpt | protected |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent activity classifier reports. (See Ref. Manual 6.5.36) + More...
+ +#include <report/BNO08xRptActivityClassifier.hpp>


+Public Member Functions | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| 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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent activity classifier reports. (See Ref. Manual 6.5.36)
+
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Enables activity classifier reports such that the BNO08x begins sending them.
+| report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
Implements BNO08xRpt.
+
| bno08x_activity_classifier_t BNO08xRptActivityClassifier::get | +( | +) | ++ |
Grabs most recent activity classifier data.
+
| BNO08xActivity BNO08xRptActivityClassifier::get_most_likely_activity | +( | +) | ++ |
Grabs most the most likely activity from most recent activity classifier data.
+
| void BNO08xRptActivityClassifier::set_activities_to_enable | +( | +BNO08xActivityEnable | +activities_to_enable | ) | ++ |
Sets the activities to be monitored for with ActivityClassifier reports, all enable after setting.
+| activities_to_enable | The activities to be monitored with sent reports. |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptCalGyro, including all inherited members.
+| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptCalGyro(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptCalGyro | 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 | BNO08xRptCalGyro | virtual |
| flush() | BNO08xRpt | |
| get() | BNO08xRptCalGyro | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent calibrated gyro reports. (See Ref. Manual 6.5.13) + More...
+ +#include <report/BNO08xRptCalGyro.hpp>


+Public Member Functions | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| 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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent calibrated gyro reports. (See Ref. Manual 6.5.13)
+
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Enables calibrated gyro reports such that the BNO08x begins sending them.
+| report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
Implements BNO08xRpt.
+
| bno08x_gyro_t BNO08xRptCalGyro::get | +( | +) | ++ |
Grabs most recent gyroscope data (velocity), units are in rad/s.
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptCalMagnetometer, including all inherited members.
+| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptCalMagnetometer(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptCalMagnetometer | 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 | BNO08xRptCalMagnetometer | virtual |
| flush() | BNO08xRpt | |
| get() | BNO08xRptCalMagnetometer | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent calibrated magnetometer reports. (See Ref. Manual 6.5.16) + More...
+ +#include <report/BNO08xRptCalMagnetometer.hpp>


+Public Member Functions | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| 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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent calibrated magnetometer reports. (See Ref. Manual 6.5.16)
+
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Enables calibrated magnetometer reports such that the BNO08x begins sending them.
+| report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
Implements BNO08xRpt.
+

| bno08x_magf_t BNO08xRptCalMagnetometer::get | +( | +) | ++ |
Grabs most recent calibrated magnetometer data, units are in uTesla.
+

|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptGameRV, including all inherited members.
+| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptGameRV(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptGameRV | inline |
| BNO08xRptRVGeneric(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptRVGeneric | inlineprotected |
| clear_sample_counts() | BNO08xRpt | |
| data | BNO08xRptRVGeneric | protected |
| 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 | BNO08xRptRVGeneric | virtual |
| flush() | BNO08xRpt | |
| get_euler(bool in_degrees=true) | BNO08xRptRVGeneric | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_quat() | BNO08xRptRVGeneric | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 |
| tare(bool x=true, bool y=true, bool z=true) | BNO08xRptGameRV | |
| BNO08xRptRVGeneric::tare(bool x, bool y, bool z, sh2_TareBasis_t basis) | BNO08xRptRVGeneric | protected |
| tare_clear() | BNO08xRptGameRV | |
| tare_persist() | BNO08xRptGameRV | |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent game rotation vector reports. (See Ref. Manual 6.5.19) + More...
+ +#include <report/BNO08xRptGameRV.hpp>


+Public Member Functions | |
| 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. More... | |
| 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. 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. 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). 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. 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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) | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
Protected Attributes inherited from BNO08xRptRVGeneric | |
| bno08x_quat_t | data |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent game rotation vector reports. (See Ref. Manual 6.5.19)
+
+
|
+ +inline | +
| bool BNO08xRptGameRV::tare | +( | +bool | +x = true, |
+
| + | + | bool | +y = true, |
+
| + | + | bool | +z = true |
+
| + | ) | ++ |
Tares game rotation vector axis.
+| x | If true tare x axis (optional, default true). |
| y | If true tare y axis (optional, default true). |
| z | If true tare z axis (optional, default true). |

| void BNO08xRptGameRV::tare_clear | +( | +) | ++ |
Clears most recent tare operation.
+
| bool BNO08xRptGameRV::tare_persist | +( | +) | ++ |
Saves most recent tare operation to BNO08x internal flash, such that it persists on reset.
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptGravity, including all inherited members.
+| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptGravity(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptGravity | 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 | BNO08xRptGravity | virtual |
| flush() | BNO08xRpt | |
| get() | BNO08xRptGravity | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent gravity reports. (See Ref. Manual 6.5.11) + More...
+ +#include <report/BNO08xRptGravity.hpp>


+Public Member Functions | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| 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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent gravity reports. (See Ref. Manual 6.5.11)
+
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Enables gravity reports such that the BNO08x begins sending them.
+| report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
Implements BNO08xRpt.
+
| bno08x_accel_t BNO08xRptGravity::get | +( | +) | ++ |
Grabs most recent gravity data, units are in m/s^2.
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptIGyroRV, including all inherited members.
+| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptIGyroRV(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptIGyroRV | inline |
| BNO08xRptRVGeneric(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptRVGeneric | inlineprotected |
| clear_sample_counts() | BNO08xRpt | |
| data | BNO08xRptRVGeneric | protected |
| 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 | BNO08xRptRVGeneric | virtual |
| flush() | BNO08xRpt | |
| get(bno08x_quat_t &quat, bno08x_ang_vel_t &vel) | BNO08xRptIGyroRV | |
| get_euler(bool in_degrees=true) | BNO08xRptRVGeneric | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_quat() | BNO08xRptRVGeneric | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| get_vel() | BNO08xRptIGyroRV | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 |
| tare(bool x, bool y, bool z, sh2_TareBasis_t basis) | BNO08xRptRVGeneric | protected |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent integrated gyro rotation vector reports. (See Ref. Manual 6.5.44) + More...
+ +#include <report/BNO08xRptIGyroRV.hpp>


+Public Member Functions | |
| 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. More... | |
| 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. 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). 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. 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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) | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
Protected Attributes inherited from BNO08xRptRVGeneric | |
| bno08x_quat_t | data |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent integrated gyro rotation vector reports. (See Ref. Manual 6.5.44)
+
+
|
+ +inline | +
| void BNO08xRptIGyroRV::get | +( | +bno08x_quat_t & | +quat, | +
| + | + | bno08x_ang_vel_t & | +vel | +
| + | ) | ++ |
Grabs most recent gyro integrated rotation vector data.
+| quat | Struct to store requested unit quaternion data. |
| vel | Struct to store requested velocity data (units in rad/s). |

| bno08x_ang_vel_t BNO08xRptIGyroRV::get_vel | +( | +) | ++ |
Grabs most recent gyro integrated rotation vector angular velocity data, units are in rad/s.
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptLinearAcceleration, including all inherited members.
+| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptLinearAcceleration(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptLinearAcceleration | 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 | BNO08xRptLinearAcceleration | virtual |
| flush() | BNO08xRpt | |
| get() | BNO08xRptLinearAcceleration | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent linear accelerometer reports. (See Ref. Manual 6.5.10) + More...
+ +#include <report/BNO08xRptLinearAcceleration.hpp>


+Public Member Functions | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| 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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent linear accelerometer reports. (See Ref. Manual 6.5.10)
+
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Enables linear acceleration reports such that the BNO08x begins sending them.
+| report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
Implements BNO08xRpt.
+
| bno08x_accel_t BNO08xRptLinearAcceleration::get | +( | +) | ++ |
Grabs most recent acceleration data (including gravity), units are in m/s^2.
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptRV, including all inherited members.
+| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptRV(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptRV | inline |
| BNO08xRptRVGeneric(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptRVGeneric | inlineprotected |
| clear_sample_counts() | BNO08xRpt | |
| data | BNO08xRptRVGeneric | protected |
| 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 | BNO08xRptRVGeneric | virtual |
| flush() | BNO08xRpt | |
| get_euler(bool in_degrees=true) | BNO08xRptRVGeneric | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_quat() | BNO08xRptRVGeneric | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 |
| tare(bool x=true, bool y=true, bool z=true) | BNO08xRptRV | |
| BNO08xRptRVGeneric::tare(bool x, bool y, bool z, sh2_TareBasis_t basis) | BNO08xRptRVGeneric | protected |
| tare_clear() | BNO08xRptRV | |
| tare_persist() | BNO08xRptRV | |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent rotation vector reports. (See Ref. Manual 6.5.18) + More...
+ +#include <report/BNO08xRptRV.hpp>


+Public Member Functions | |
| 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. More... | |
| 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. 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. 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). 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. 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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) | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
Protected Attributes inherited from BNO08xRptRVGeneric | |
| bno08x_quat_t | data |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent rotation vector reports. (See Ref. Manual 6.5.18)
+
+
|
+ +inline | +
| bool BNO08xRptRV::tare | +( | +bool | +x = true, |
+
| + | + | bool | +y = true, |
+
| + | + | bool | +z = true |
+
| + | ) | ++ |
Tares rotation vector axis.
+| x | If true tare x axis (optional, default true). |
| y | If true tare y axis (optional, default true). |
| z | If true tare z axis (optional, default true). |

| void BNO08xRptRV::tare_clear | +( | +) | ++ |
Clears most recent tare operation.
+
| bool BNO08xRptRV::tare_persist | +( | +) | ++ |
Saves most recent tare operation to BNO08x internal flash, such that it persists on reset.
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptRVGeneric, including all inherited members.
+| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptRVGeneric(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptRVGeneric | inlineprotected |
| clear_sample_counts() | BNO08xRpt | |
| data | BNO08xRptRVGeneric | protected |
| 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 | BNO08xRptRVGeneric | virtual |
| flush() | BNO08xRpt | |
| get_euler(bool in_degrees=true) | BNO08xRptRVGeneric | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_quat() | BNO08xRptRVGeneric | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 | BNO08xRptRVGeneric | protectedstatic |
| tare(bool x, bool y, bool z, sh2_TareBasis_t basis) | BNO08xRptRVGeneric | protected |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
| update_data(sh2_SensorValue_t *sensor_val)=0 | BNO08xRpt | protectedpure virtual |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent rotation vector reports. + More...
+ +#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. 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). 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. 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). 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) | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
+Protected Attributes | |
| bno08x_quat_t | data |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
+Static Protected Attributes | |
| 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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent rotation vector reports.
+
+
|
+ +inlineprotected | +
+
|
+ +overridevirtual | +
Enables a rotation vector report such that the BNO08x begins it.
+| report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
Implements BNO08xRpt.
+

| bno08x_euler_angle_t BNO08xRptRVGeneric::get_euler | +( | +bool | +in_degrees = true | ) | ++ |
Grabs most recent rotation vector data in form of an euler angle, units are in degrees or rads.
+| in_degrees | If true returned euler angle is in degrees, if false in radians |

| bno08x_quat_t BNO08xRptRVGeneric::get_quat | +( | +) | ++ |
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:
+

+
|
+ +protected | +
Tares vector basis according to axis flags.
+| x | If true tare x axis. |
| y | If true tare y axis. |
| z | If true tare z axis. |
| basis | Rotation vector basis to undergo tare operation. |


+
|
+ +protected | +
+
|
+ +staticconstexprprotected | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptRVGeomag, including all inherited members.
+| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptRVGeneric(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptRVGeneric | inlineprotected |
| BNO08xRptRVGeomag(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptRVGeomag | inline |
| clear_sample_counts() | BNO08xRpt | |
| data | BNO08xRptRVGeneric | protected |
| 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 | BNO08xRptRVGeneric | virtual |
| flush() | BNO08xRpt | |
| get_euler(bool in_degrees=true) | BNO08xRptRVGeneric | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_quat() | BNO08xRptRVGeneric | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 |
| tare(bool x=true, bool y=true, bool z=true) | BNO08xRptRVGeomag | |
| BNO08xRptRVGeneric::tare(bool x, bool y, bool z, sh2_TareBasis_t basis) | BNO08xRptRVGeneric | protected |
| tare_clear() | BNO08xRptRVGeomag | |
| tare_persist() | BNO08xRptRVGeomag | |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent geomagnetic rotation vector reports. (See Ref. Manual 6.5.20) + More...
+ +#include <report/BNO08xRptRVGeomag.hpp>


+Public Member Functions | |
| 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. More... | |
| 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. 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. 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). 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. 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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) | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
Protected Attributes inherited from BNO08xRptRVGeneric | |
| bno08x_quat_t | data |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| BNO08xPrivateTypes::bno08x_sync_ctx_t * | sync_ctx |
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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent geomagnetic rotation vector reports. (See Ref. Manual 6.5.20)
+
+
|
+ +inline | +
| bool BNO08xRptRVGeomag::tare | +( | +bool | +x = true, |
+
| + | + | bool | +y = true, |
+
| + | + | bool | +z = true |
+
| + | ) | ++ |
Tares geomagnetic rotation vector.
+| x | If true tare x axis (optional, default true). |
| y | If true tare y axis (optional, default true). |
| z | If true tare z axis (optional, default true). |

| void BNO08xRptRVGeomag::tare_clear | +( | +) | ++ |
Clears most recent tare operation.
+
| bool BNO08xRptRVGeomag::tare_persist | +( | +) | ++ |
Saves most recent tare operation to BNO08x internal flash, such that it persists on reset.
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptRawMEMSAccelerometer, including all inherited members.
+| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptRawMEMSAccelerometer(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptRawMEMSAccelerometer | 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 | BNO08xRptRawMEMSAccelerometer | virtual |
| flush() | BNO08xRpt | |
| get() | BNO08xRptRawMEMSAccelerometer | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent raw accelerometer reports. (See Ref. Manual 6.5.8) + More...
+ +#include <report/BNO08xRptRawMEMSAccelerometer.hpp>


+Public Member Functions | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| 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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent raw accelerometer reports. (See Ref. Manual 6.5.8)
+
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Enables raw accelerometer reports such that the BNO08x begins sending them.
+| report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
Implements BNO08xRpt.
+
| bno08x_raw_accel_t BNO08xRptRawMEMSAccelerometer::get | +( | +) | ++ |
Grabs most recent raw accelerometer data, units are ADC counts, time_stamp in microseconds.
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptRawMEMSGyro, including all inherited members.
+| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptRawMEMSGyro(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptRawMEMSGyro | 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 | BNO08xRptRawMEMSGyro | virtual |
| flush() | BNO08xRpt | |
| get() | BNO08xRptRawMEMSGyro | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent raw gyro reports. (See Ref. Manual 6.5.12) + More...
+ +#include <report/BNO08xRptRawMEMSGyro.hpp>


+Public Member Functions | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| 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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent raw gyro reports. (See Ref. Manual 6.5.12)
+
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Enables raw gyro reports such that the BNO08x begins sending them.
+| report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
Implements BNO08xRpt.
+
| bno08x_raw_gyro_t BNO08xRptRawMEMSGyro::get | +( | +) | ++ |
Grabs most recent raw mems gyro report (units in ADC counts, time_stamp in microseconds)
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptRawMEMSMagnetometer, including all inherited members.
+| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptRawMEMSMagnetometer(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptRawMEMSMagnetometer | 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 | BNO08xRptRawMEMSMagnetometer | virtual |
| flush() | BNO08xRpt | |
| get() | BNO08xRptRawMEMSMagnetometer | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent raw magnetometer reports. (See Ref. Manual 6.5.15) + More...
+ +#include <report/BNO08xRptRawMEMSMagnetometer.hpp>


+Public Member Functions | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| 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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent raw magnetometer reports. (See Ref. Manual 6.5.15)
+
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Enables raw magnetometer such that the BNO08x begins sending them.
+| report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
Implements BNO08xRpt.
+
| bno08x_raw_magf_t BNO08xRptRawMEMSMagnetometer::get | +( | +) | ++ |
Grabs most recent raw magnetometer data, units are ADC counts, time_stamp in microseconds.
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptShakeDetector, including all inherited members.
+| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptShakeDetector(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptShakeDetector | 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 | BNO08xRptShakeDetector | virtual |
| flush() | BNO08xRpt | |
| get() | BNO08xRptShakeDetector | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent shake detector reports. (See Ref. Manual 6.5.32) + More...
+ +#include <report/BNO08xRptShakeDetector.hpp>


+Public Member Functions | |
| 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). More... | |
| 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| 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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent shake detector reports. (See Ref. Manual 6.5.32)
+
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Enables shake detector reports such that the BNO08x begins sending them (only sends reports when a shake is detected).
+| report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
Implements BNO08xRpt.
+
| bno08x_shake_detector_t BNO08xRptShakeDetector::get | +( | +) | ++ |
Grabs most recent shake detector detector data.
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptStabilityClassifier, including all inherited members.
+| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptStabilityClassifier(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptStabilityClassifier | 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 | BNO08xRptStabilityClassifier | virtual |
| flush() | BNO08xRpt | |
| get() | BNO08xRptStabilityClassifier | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| get_stability() | BNO08xRptStabilityClassifier | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent stability classifier reports. (See Ref. Manual 6.5.31) + More...
+ +#include <report/BNO08xRptStabilityClassifier.hpp>


+Public Member Functions | |
| 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. More... | |
| bno08x_stability_classifier_t | get () |
| Grabs most recent stability classifier data. More... | |
| 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| 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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent stability classifier reports. (See Ref. Manual 6.5.31)
+
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Enables stability classifier reports such that the BNO08x begins sending them.
+| report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
Implements BNO08xRpt.
+
| bno08x_stability_classifier_t BNO08xRptStabilityClassifier::get | +( | +) | ++ |
Grabs most recent stability classifier data.
+
| BNO08xStability BNO08xRptStabilityClassifier::get_stability | +( | +) | ++ |
Grabs most recent stability classifier reading (excludes accuracy)
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptStepCounter, including all inherited members.
+| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptStepCounter(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptStepCounter | 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 | BNO08xRptStepCounter | virtual |
| flush() | BNO08xRpt | |
| get() | BNO08xRptStepCounter | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| get_total_steps() | BNO08xRptStepCounter | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent step counter reports. (See Ref. Manual 6.5.29) + More...
+ +#include <report/BNO08xRptStepCounter.hpp>


+Public Member Functions | |
| 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. More... | |
| 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. 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| 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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent step counter reports. (See Ref. Manual 6.5.29)
+
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Enables step counter reports such that the BNO08x begins sending them.
+| report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
Implements BNO08xRpt.
+
| bno08x_step_counter_t BNO08xRptStepCounter::get | +( | +) | ++ |
Grabs most recent step counter data (rollover not accounted for in step count, just most recent report data).
+
| uint32_t BNO08xRptStepCounter::get_total_steps | +( | +) | ++ |
Grabs the total step count since boot, accounts for rollover in report data.
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptTapDetector, including all inherited members.
+| BNO08xRpt(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRpt | inlineprotected |
| BNO08xRptTapDetector(uint8_t ID, EventBits_t rpt_bit, BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | BNO08xRptTapDetector | 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 | BNO08xRptTapDetector | virtual |
| flush() | BNO08xRpt | |
| get() | BNO08xRptTapDetector | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent tap detector reports. (See Ref. Manual 6.5.27) + More...
+ +#include <report/BNO08xRptTapDetector.hpp>


+Public Member Functions | |
| 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). More... | |
| 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| 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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent tap detector reports. (See Ref. Manual 6.5.27)
+
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Enables tap detector reports such that the BNO08x begins sending them (only sends reports when a tap is detected).
+| time_between_reports | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
Implements BNO08xRpt.
+
| bno08x_tap_detector_t BNO08xRptTapDetector::get | +( | +) | ++ |
Grabs most recent tap detector detector data.
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptUncalGyro, including all inherited members.
+| 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 | |
| get(bno08x_gyro_t &vel, bno08x_gyro_bias_t &bias) | BNO08xRptUncalGyro | |
| get_bias() | BNO08xRptUncalGyro | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| get_vel() | BNO08xRptUncalGyro | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent uncalibrated gyro reports. (See Ref. Manual 6.5.14) + More...
+ +#include <report/BNO08xRptUncalGyro.hpp>


+Public Member Functions | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| 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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent uncalibrated gyro reports. (See Ref. Manual 6.5.14)
+
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Enables uncalibrated gyro reports such that the BNO08x begins sending them.
+| report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
Implements BNO08xRpt.
+
| void BNO08xRptUncalGyro::get | +( | +bno08x_gyro_t & | +vel, | +
| + | + | bno08x_gyro_bias_t & | +bias | +
| + | ) | ++ |
Grabs most recent uncalibrated gyroscope data, units are in rad/s.
+| vel | Reference to save velocity data. |
| bias | Reference to save bias data. |

| bno08x_gyro_bias_t BNO08xRptUncalGyro::get_bias | +( | +) | ++ |
Grabs most recent uncalibrated gyroscope bias data, units are in rad/s.
+
| bno08x_gyro_t BNO08xRptUncalGyro::get_vel | +( | +) | ++ |
Grabs most recent uncalibrated gyroscope velocity data, units are in rad/s.
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xRptUncalMagnetometer, including all inherited members.
+| 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 | |
| get(bno08x_magf_t &magf, bno08x_magf_bias_t &bias) | BNO08xRptUncalMagnetometer | |
| get_bias() | BNO08xRptUncalMagnetometer | |
| get_magf() | BNO08xRptUncalMagnetometer | |
| get_meta_data(bno08x_meta_data_t &meta_data) | BNO08xRpt | |
| get_sample_counts(bno08x_sample_counts_t &sample_counts) | BNO08xRpt | |
| has_new_data() | BNO08xRpt | |
| ID | BNO08xRpt | protected |
| lock_sh2_HAL() | BNO08xRpt | protected |
| lock_user_data() | BNO08xRpt | protected |
| period_us | BNO08xRpt | protected |
| RAD_2_DEG | BNO08xRpt | protectedstatic |
| register_cb(std::function< void(void)> cb_fxn) | BNO08xRpt | |
| rpt_bit | BNO08xRpt | protected |
| 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 |
| unlock_sh2_HAL() | BNO08xRpt | protected |
| unlock_user_data() | BNO08xRpt | protected |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Class to represent uncalibrated magnetometer reports. (See Ref. Manual 6.5.17) + More...
+ +#include <report/BNO08xRptUncalMagnetometer.hpp>


+Public Member Functions | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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) More... | |
| 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). More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
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. More... | |
| uint32_t | period_us |
| The period/interval of the report in microseconds. More... | |
| 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. More... | |
| static const constexpr char * | TAG = "BNO08xRpt" |
Class to represent uncalibrated magnetometer reports. (See Ref. Manual 6.5.17)
+
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Enables uncalibrated magnetometer reports such that the BNO08x begins sending them.
+| report_period_us | The period/interval of the report in microseconds. |
| sensor_cfg | Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults). |
Implements BNO08xRpt.
+
| void BNO08xRptUncalMagnetometer::get | +( | +bno08x_magf_t & | +magf, | +
| + | + | bno08x_magf_bias_t & | +bias | +
| + | ) | ++ |
Grabs most recent uncalibrated magnetometer data, units are in uTesla.
+| magf | Struct to store requested magf data. |
| bias | Struct to store requested bias data. |

| bno08x_magf_bias_t BNO08xRptUncalMagnetometer::get_bias | +( | +) | ++ |
Grabs most recent uncalibrated magnetometer bias data, units are in uTesla.
+
| bno08x_magf_t BNO08xRptUncalMagnetometer::get_magf | +( | +) | ++ |
Grabs most recent uncalibrated magnetometer magnetic field data, units are in uTesla.
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xSH2HAL, including all inherited members.
+| get_time_us(sh2_Hal_t *self) | BNO08xSH2HAL | static |
| hal_cb(void *cookie, sh2_AsyncEvent_t *pEvent) | BNO08xSH2HAL | static |
| 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_write(sh2_Hal_t *self, uint8_t *pBuffer, unsigned len) | BNO08xSH2HAL | static |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Fully static class containing callback implementations for sh2 HAL lib. + 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. More... | |
| 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.) 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. More... | |
| 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. More... | |
| 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(). More... | |
Fully static class containing callback implementations for sh2 HAL lib.
+
+
|
+ +static | +
Get time in microseconds callback for sh2 HAL lib.
+| self | sh2 HAL lib object being used with BNO08x driver instance. |
+
|
+ +static | +
General event callback for sh2 HAL lib, used to notify tasks of reset.
+| cookie | User set input parameter as void pointer (unused), see sh2_Open(). |
| pEvent | Pointer to asynchronous event. |
+
|
+ +static | +
Sensor event callback for sh2 HAL lib, sends received reports to data_proc_task().
+| cookie | User set input parameter as void pointer (unused), see sh2_Open(). |
| event | Pointer to sensor event. |
+
|
+ +static | +
+
|
+ +static | +
Closes SPI instance (nothing to do here, but required by sh2 HAL lib for cases where other communication protocols are used.)
+
+
|
+ +static | +
Opens SPI instance by waiting for interrupt.
+
+
|
+ +static | +
SPI rx callback for sh2 HAL lib.
+| self | sh2 HAL lib object being used with BNO08x driver instance. |
| pBuffer | Buffer to store received packet. |
| len | Length of bytes to read. |
| t_us | Time in microseconds (unused, forced sh2 HAL lib required function type) |
+
|
+ +static | +
SPI tx callback for sh2 HAL lib.
+| self | sh2 HAL lib object being used with BNO08x driver instance. |
| pBuffer | Buffer containing data to write. |
| len | Length in bytes to write. |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xTestHelper, including all inherited members.
+| call_deinit_gpio() | BNO08xTestHelper | inlinestatic |
| call_deinit_hint_isr() | BNO08xTestHelper | inlinestatic |
| call_deinit_sh2_HAL() | BNO08xTestHelper | inlinestatic |
| call_deinit_spi() | BNO08xTestHelper | inlinestatic |
| call_deinit_tasks() | BNO08xTestHelper | inlinestatic |
| call_init_config_args() | BNO08xTestHelper | inlinestatic |
| call_init_gpio() | BNO08xTestHelper | inlinestatic |
| call_init_hint_isr() | BNO08xTestHelper | inlinestatic |
| call_init_sh2_HAL() | BNO08xTestHelper | inlinestatic |
| call_init_spi() | BNO08xTestHelper | inlinestatic |
| call_init_tasks() | BNO08xTestHelper | inlinestatic |
| create_test_imu() | BNO08xTestHelper | inlinestatic |
| destroy_test_imu() | BNO08xTestHelper | inlinestatic |
| get_test_imu() | BNO08xTestHelper | inlinestatic |
| print_test_end_banner(const char *TEST_TAG) | BNO08xTestHelper | inlinestatic |
| print_test_msg(const char *TEST_TAG, const char *msg) | BNO08xTestHelper | inlinestatic |
| print_test_start_banner(const char *TEST_TAG) | BNO08xTestHelper | inlinestatic |
| set_test_imu_cfg(bno08x_config_t cfg) | BNO08xTestHelper | inlinestatic |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
BNO08x unit test helper class. + More...
+ +#include <BNO08xTestHelper.hpp>
+Static Public Member Functions | |
| 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. More... | |
| 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() More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
BNO08x unit test helper class.
+
+
|
+ +inlinestatic | +
Used to call private BNO08x::deinit_gpio() member for tests.
+
+
|
+ +inlinestatic | +
Used to call private BNO08x::deinit_hint_isr() member for tests.
+
+
|
+ +inlinestatic | +
Used to call private BNO08x::deinit_tasks() member for tests.
+
+
|
+ +inlinestatic | +
Used to call private BNO08x::deinit_spi() member for tests.
+
+
|
+ +inlinestatic | +
Used to call private BNO08x::deinit_tasks() member for tests.
+
+
|
+ +inlinestatic | +
Used to call private BNO08x::init_config_args() member for tests.
+
+
|
+ +inlinestatic | +
Used to call private BNO08x::init_gpio() member for tests.
+
+
|
+ +inlinestatic | +
Used to call private BNO08x::init_hint_isr() member for tests.
+
+
|
+ +inlinestatic | +
Used to call private BNO08x::init_tasks() member for tests.
+
+
|
+ +inlinestatic | +
Used to call private BNO08x::init_spi() member for tests.
+
+
|
+ +inlinestatic | +
Used to call private BNO08x::init_tasks() member for tests.
+
+
|
+ +inlinestatic | +
Calls BNO08x constructor and creates new test IMU on heap.
+
+
|
+ +inlinestatic | +
Deletes test IMU calling deconstructor and releases heap allocated memory.
+
+
|
+ +inlinestatic | +
Deletes test IMU calling deconstructor and releases heap allocated memory.
+
+
|
+ +inlinestatic | +
Prints end begin banner.
+| TEST_TAG | String containing test name. |
+
|
+ +inlinestatic | +
Prints a message during a test.
+| TEST_TAG | String containing test name. |
| msg | String containing message to print. |
+
|
+ +inlinestatic | +
Prints test begin banner.
+| TEST_TAG | String containing test name. |
+
|
+ +inlinestatic | +
Set test imu configuration used with create_test_imu()
+| cfg | String containing test name. |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xTestSuite, including all inherited members.
+| 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 |
| run_init_deinit_tests(bool call_unity_end_begin=true) | BNO08xTestSuite | inlinestatic |
| run_multi_report_tests(bool call_unity_end_begin=true) | BNO08xTestSuite | inlinestatic |
| run_single_report_tests(bool call_unity_end_begin=true) | BNO08xTestSuite | inlinestatic |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
BNO08x unit test launch point class. + More...
+ +#include <BNO08xTestSuite.hpp>
+Static Public Member Functions | |
| static void | run_all_tests () |
| 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_multi_report_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) |
BNO08x unit test launch point class.
+
+
|
+ +inlinestatic | +

+
|
+ +inlinestatic | +

+
|
+ +inlinestatic | +

+
|
+ +inlinestatic | +

+
|
+ +inlinestatic | +

+
|
+ +inlinestatic | +

|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
| File in include | Includes file in include/callback |
|---|---|
| BNO08xPrivateTypes.hpp | BNO08xCbParamRptID.hpp |
| BNO08xPrivateTypes.hpp | BNO08xCbParamVoid.hpp |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
| File in include | Includes file in include/report |
|---|---|
| BNO08x.hpp | BNO08xReports.hpp |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+

+Files | |
| file | BNO08xCbGeneric.hpp [code] |
| file | BNO08xCbParamRptID.hpp [code] |
| file | BNO08xCbParamVoid.hpp [code] |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+

+Files | |
| file | BNO08xReports.hpp [code] |
| file | BNO08xRpt.hpp [code] |
| file | BNO08xRptAcceleration.hpp [code] |
| file | BNO08xRptActivityClassifier.hpp [code] |
| file | BNO08xRptARVRStabilizedGameRV.hpp [code] |
| file | BNO08xRptARVRStabilizedRV.hpp [code] |
| file | BNO08xRptCalGyro.hpp [code] |
| file | BNO08xRptCalMagnetometer.hpp [code] |
| file | BNO08xRptGameRV.hpp [code] |
| file | BNO08xRptGravity.hpp [code] |
| file | BNO08xRptIGyroRV.hpp [code] |
| file | BNO08xRptLinearAcceleration.hpp [code] |
| file | BNO08xRptRawMEMSAccelerometer.hpp [code] |
| file | BNO08xRptRawMEMSGyro.hpp [code] |
| file | BNO08xRptRawMEMSMagnetometer.hpp [code] |
| file | BNO08xRptRV.hpp [code] |
| file | BNO08xRptRVGeneric.hpp [code] |
| file | BNO08xRptRVGeomag.hpp [code] |
| file | BNO08xRptShakeDetector.hpp [code] |
| file | BNO08xRptStabilityClassifier.hpp [code] |
| file | BNO08xRptStepCounter.hpp [code] |
| file | BNO08xRptTapDetector.hpp [code] |
| file | BNO08xRptUncalGyro.hpp [code] |
| file | BNO08xRptUncalMagnetometer.hpp [code] |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+

+Directories | |
| directory | callback |
| directory | report |
+Files | |
| file | BNO08x.hpp [code] |
| file | BNO08xGlobalTypes.hpp [code] |
| file | BNO08xPrivateTypes.hpp [code] |
| file | BNO08xSH2HAL.hpp [code] |
| file | BNO08xTestHelper.hpp [code] |
| file | BNO08xTestSuite.hpp [code] |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+

+Files | |
| file | BNO08xRptAcceleration.cpp |
| file | BNO08xRptActivityClassifier.cpp |
| file | BNO08xRptARVRStabilizedGameRV.cpp |
| file | BNO08xRptARVRStabilizedRV.cpp |
| file | BNO08xRptCalGyro.cpp |
| file | BNO08xRptCalMagnetometer.cpp |
| file | BNO08xRptGameRV.cpp |
| file | BNO08xRptGravity.cpp |
| file | BNO08xRptIGyroRV.cpp |
| file | BNO08xRptLinearAcceleration.cpp |
| file | BNO08xRptRawMEMSAccelerometer.cpp |
| file | BNO08xRptRawMEMSGyro.cpp |
| file | BNO08xRptRawMEMSMagnetometer.cpp |
| file | BNO08xRptRV.cpp |
| file | BNO08xRptRVGeneric.cpp |
| file | BNO08xRptRVGeomag.cpp |
| file | BNO08xRptShakeDetector.cpp |
| file | BNO08xRptStabilityClassifier.cpp |
| file | BNO08xRptStepCounter.cpp |
| file | BNO08xRptTapDetector.cpp |
| file | BNO08xRptUncalGyro.cpp |
| file | BNO08xRptUncalMagnetometer.cpp |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This page explains how to interpret the graphs that are generated by doxygen.
+Consider the following example:
This will result in the following graph:
+
The boxes in the above graph have the following meaning:
+The arrows have the following meaning:
+|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
| CBNO08x | BNO08x IMU driver class |
| 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_config_t | IMU configuration settings passed into constructor |
| 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) |
| CBNO08xPrivateTypes::bno08x_init_status_t | Holds info about which functionality has been successfully initialized (used by deconstructor during cleanup) |
| 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_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_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_magf_t | Struct to represent raw mems magnetometer data from raw magnetometer reports (units in ADC counts) |
| CBNO08x::bno08x_reports_t | Contains report implementations |
| 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_step_counter_t | Struct to represent step counter data from step counter reports |
| CBNO08xPrivateTypes::bno08x_sync_ctx_t | Holds context used to synchronize tasks and callback execution |
| 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 |
| CBNO08xCbParamVoid | |
| ▼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) |
| 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) |
| CBNO08xRptGravity | Class to represent gravity reports. (See Ref. Manual 6.5.11) |
| CBNO08xRptLinearAcceleration | Class to represent linear accelerometer reports. (See Ref. Manual 6.5.10) |
| ▼CBNO08xRptRVGeneric | Class to represent rotation vector reports |
| 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) |
| CBNO08xRptGameRV | Class to represent game rotation vector reports. (See Ref. Manual 6.5.19) |
| CBNO08xRptIGyroRV | Class to represent integrated gyro rotation vector reports. (See Ref. Manual 6.5.44) |
| CBNO08xRptRV | Class to represent rotation vector reports. (See Ref. Manual 6.5.18) |
| CBNO08xRptRVGeomag | Class to represent geomagnetic rotation vector reports. (See Ref. Manual 6.5.20) |
| 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) |
| CBNO08xRptRawMEMSMagnetometer | Class to represent raw magnetometer reports. (See Ref. Manual 6.5.15) |
| 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) |
| 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) |
| 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) |
| CBNO08xSH2HAL | Fully static class containing callback implementations for sh2 HAL lib |
| CBNO08xTestHelper | BNO08x unit test helper class |
| CBNO08xTestSuite | BNO08x unit test launch point class |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
+Classes | |
| struct | bno08x_init_status_t |
| Holds info about which functionality has been successfully initialized (used by deconstructor during cleanup). More... | |
| struct | bno08x_sync_ctx_t |
| Holds context used to synchronize tasks and callback execution. More... | |
+Typedefs | |
| using | 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 | 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 | bno08x_sync_ctx_t |
| Holds context used to synchronize tasks and callback execution. More... | |
| using BNO08xPrivateTypes::bno08x_cb_list_t = typedef etl::vector<etl::variant<BNO08xCbParamVoid, BNO08xCbParamRptID>, CONFIG_ESP32_BNO08X_CB_MAX> | +
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).
+ +| typedef struct BNO08xPrivateTypes::bno08x_sync_ctx_t BNO08xPrivateTypes::bno08x_sync_ctx_t | +
Holds context used to synchronize tasks and callback execution.
+ +| enum BNO08xPrivateTypes::bno08x_rpt_bit_t : EventBits_t | +
Bits for evt_grp_rpt_en & evt_grp_rpt_data_available.
+| enum BNO08xPrivateTypes::bno08x_tsk_bit_t : EventBits_t | +
Bits for evt_grp_bno08x_task.
+| Enumerator | |
|---|---|
| EVT_GRP_BNO08x_TASKS_RUNNING | When this bit is set it indicates the BNO08x tasks are running, it is always set to 1 for the duration of the BNO08x driver object. Cleared in the destructor for safe task deletion. + |
| EVT_GRP_BNO08x_TASK_HINT_ASSRT_BIT | When this bit is set it indicates the BNO08x has asserted its host interrupt pin, thus an SPI transaction should commence. + |
| EVT_GRP_BNO08x_TASK_RESET_OCCURRED | When this bit is set it indicates the SH2 HAL lib has reset the IMU, any reports enabled by the user must be re-enabled. + |
| EVT_GRP_BNO08x_TASK_DATA_AVAILABLE | When this bit is set it indicates a report has been received for the user to read, cleared in data_available() set/cleared in handle_sensor_report(). + |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
| ▼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 |
');
+}
+
+function showSyncOn(n,relpath)
+{
+ n.html('
');
+}
+
+function toggleSyncButton(relpath)
+{
+ var navSync = $('#nav-sync');
+ if (navSync.hasClass('sync')) {
+ navSync.removeClass('sync');
+ showSyncOff(navSync,relpath);
+ storeLink(stripPath2(pathName())+hashUrl());
+ } else {
+ navSync.addClass('sync');
+ showSyncOn(navSync,relpath);
+ deleteLink();
+ }
+}
+
+var loadTriggered = false;
+var readyTriggered = false;
+var loadObject,loadToRoot,loadUrl,loadRelPath;
+
+$(window).on('load',function(){
+ if (readyTriggered) { // ready first
+ navTo(loadObject,loadToRoot,loadUrl,loadRelPath);
+ showRoot();
+ }
+ loadTriggered=true;
+});
+
+function initNavTree(toroot,relpath)
+{
+ var o = new Object();
+ o.toroot = toroot;
+ o.node = new Object();
+ o.node.li = document.getElementById("nav-tree-contents");
+ o.node.childrenData = NAVTREE;
+ o.node.children = new Array();
+ o.node.childrenUL = document.createElement("ul");
+ o.node.getChildrenUL = function() { return o.node.childrenUL; };
+ o.node.li.appendChild(o.node.childrenUL);
+ o.node.depth = 0;
+ o.node.relpath = relpath;
+ o.node.expanded = false;
+ o.node.isLast = true;
+ o.node.plus_img = document.createElement("span");
+ o.node.plus_img.className = 'arrow';
+ o.node.plus_img.innerHTML = arrowRight;
+
+ if (localStorageSupported()) {
+ var navSync = $('#nav-sync');
+ if (cachedLink()) {
+ showSyncOff(navSync,relpath);
+ navSync.removeClass('sync');
+ } else {
+ showSyncOn(navSync,relpath);
+ }
+ navSync.click(function(){ toggleSyncButton(relpath); });
+ }
+
+ if (loadTriggered) { // load before ready
+ navTo(o,toroot,hashUrl(),relpath);
+ showRoot();
+ } else { // ready before load
+ loadObject = o;
+ loadToRoot = toroot;
+ loadUrl = hashUrl();
+ loadRelPath = relpath;
+ readyTriggered=true;
+ }
+
+ $(window).bind('hashchange', function(){
+ if (window.location.hash && window.location.hash.length>1){
+ var a;
+ if ($(location).attr('hash')){
+ var clslink=stripPath(pathName())+':'+hashValue();
+ a=$('.item a[class$="'+clslink.replace(/=desktop_vp) {
+ if (!collapsed) {
+ collapseExpand();
+ }
+ } else if (width>desktop_vp && collapsedWidth|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08x::bno08x_reports_t, including all inherited members.
+|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Contains report implementations. + More...
+ +#include <BNO08x.hpp>

+Public Member Functions | |
| bno08x_reports_t (BNO08xPrivateTypes::bno08x_sync_ctx_t *sync_ctx) | |
Contains report implementations.
+
+
|
+ +inline | +
| BNO08xRptAcceleration BNO08x::bno08x_reports_t::accelerometer | +
| BNO08xRptActivityClassifier BNO08x::bno08x_reports_t::activity_classifier | +
| BNO08xRptCalGyro BNO08x::bno08x_reports_t::cal_gyro | +
| BNO08xRptCalMagnetometer BNO08x::bno08x_reports_t::cal_magnetometer | +
| BNO08xRptGravity BNO08x::bno08x_reports_t::gravity | +
| BNO08xRptLinearAcceleration BNO08x::bno08x_reports_t::linear_accelerometer | +
| BNO08xRptRawMEMSAccelerometer BNO08x::bno08x_reports_t::raw_accelerometer | +
| BNO08xRptRawMEMSGyro BNO08x::bno08x_reports_t::raw_gyro | +
| BNO08xRptRawMEMSMagnetometer BNO08x::bno08x_reports_t::raw_magnetometer | +
| BNO08xRptRV BNO08x::bno08x_reports_t::rv | +
| BNO08xRptARVRStabilizedRV BNO08x::bno08x_reports_t::rv_ARVR_stabilized | +
| BNO08xRptARVRStabilizedGameRV BNO08x::bno08x_reports_t::rv_ARVR_stabilized_game | +
| BNO08xRptGameRV BNO08x::bno08x_reports_t::rv_game | +
| BNO08xRptRVGeomag BNO08x::bno08x_reports_t::rv_geomagnetic | +
| BNO08xRptIGyroRV BNO08x::bno08x_reports_t::rv_gyro_integrated | +
| BNO08xRptShakeDetector BNO08x::bno08x_reports_t::shake_detector | +
| BNO08xRptStabilityClassifier BNO08x::bno08x_reports_t::stability_classifier | +
| BNO08xRptStepCounter BNO08x::bno08x_reports_t::step_counter | +
| BNO08xRptTapDetector BNO08x::bno08x_reports_t::tap_detector | +
| BNO08xRptUncalGyro BNO08x::bno08x_reports_t::uncal_gyro | +
| BNO08xRptUncalMagnetometer BNO08x::bno08x_reports_t::uncal_magnetometer | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xPrivateTypes::bno08x_init_status_t, including all inherited members.
+|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Holds info about which functionality has been successfully initialized (used by deconstructor during cleanup). + More...
+ +#include <BNO08xPrivateTypes.hpp>
+Public Member Functions | |
| bno08x_init_status_t () | |
+Public Attributes | |
| bool | gpio_outputs |
| True if GPIO outputs have been initialized. More... | |
| bool | gpio_inputs |
| True if GPIO inputs have been initialized. More... | |
| bool | isr_service |
| True if global ISR service has been initialized. More... | |
| bool | isr_handler |
| True if HINT ISR handler has been initialized. More... | |
| bool | spi_bus |
| True if spi_bus_initialize() has been called successfully. More... | |
| bool | spi_device |
| True if spi_bus_add_device() has been called successfully. More... | |
| bool | data_proc_task |
| True if xTaskCreate has been called successfully for data_proc_task. More... | |
| bool | sh2_HAL_service_task |
| True if xTaskCreate has been called successfully for sh2_HAL_service_task. More... | |
| bool | cb_task |
| True if xTaskCreate has been called successfully for cb_task. More... | |
| bool | sh2_HAL |
| True if sh2_open() has been called successfully. More... | |
Holds info about which functionality has been successfully initialized (used by deconstructor during cleanup).
+
+
|
+ +inline | +
| bool BNO08xPrivateTypes::bno08x_init_status_t::cb_task | +
True if xTaskCreate has been called successfully for cb_task.
+ +| bool BNO08xPrivateTypes::bno08x_init_status_t::data_proc_task | +
True if xTaskCreate has been called successfully for data_proc_task.
+ +| bool BNO08xPrivateTypes::bno08x_init_status_t::gpio_inputs | +
True if GPIO inputs have been initialized.
+ +| bool BNO08xPrivateTypes::bno08x_init_status_t::gpio_outputs | +
True if GPIO outputs have been initialized.
+ +| bool BNO08xPrivateTypes::bno08x_init_status_t::isr_handler | +
True if HINT ISR handler has been initialized.
+ +| bool BNO08xPrivateTypes::bno08x_init_status_t::isr_service | +
True if global ISR service has been initialized.
+ +| bool BNO08xPrivateTypes::bno08x_init_status_t::sh2_HAL | +
True if sh2_open() has been called successfully.
+ +| bool BNO08xPrivateTypes::bno08x_init_status_t::sh2_HAL_service_task | +
True if xTaskCreate has been called successfully for sh2_HAL_service_task.
+ +| bool BNO08xPrivateTypes::bno08x_init_status_t::spi_bus | +
True if spi_bus_initialize() has been called successfully.
+ +| bool BNO08xPrivateTypes::bno08x_init_status_t::spi_device | +
True if spi_bus_add_device() has been called successfully.
+ +|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for BNO08xPrivateTypes::bno08x_sync_ctx_t, including all inherited members.
+|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Holds context used to synchronize tasks and callback execution. + More...
+ +#include <BNO08xPrivateTypes.hpp>
+Public Member Functions | |
| bno08x_sync_ctx_t () | |
+Public Attributes | |
| SemaphoreHandle_t | sh2_HAL_lock |
| Mutex to prevent sh2 HAL lib functions from being accessed at same time. More... | |
| SemaphoreHandle_t | data_lock |
| Mutex to prevent user from reading data while data_proc_task() updates it, and vice versa. More... | |
| EventGroupHandle_t | evt_grp_rpt_en |
| Event group for indicating which reports are currently enabled. More... | |
| EventGroupHandle_t | evt_grp_rpt_data_available |
| Event group for indicating to BNO08xRpt::has_new_data() that a module received a new report. More... | |
| EventGroupHandle_t | evt_grp_task |
| Event group for indicating various BNO08x related events between tasks. More... | |
| etl::vector< uint8_t, TOTAL_RPT_COUNT > | en_report_ids |
| Vector to contain IDs of currently enabled reports. More... | |
| bno08x_cb_list_t | cb_list |
| Vector to contain registered callbacks. More... | |
Holds context used to synchronize tasks and callback execution.
+
+
|
+ +inline | +
| bno08x_cb_list_t BNO08xPrivateTypes::bno08x_sync_ctx_t::cb_list | +
Vector to contain registered callbacks.
+ +| SemaphoreHandle_t BNO08xPrivateTypes::bno08x_sync_ctx_t::data_lock | +
Mutex to prevent user from reading data while data_proc_task() updates it, and vice versa.
+ +| etl::vector<uint8_t, TOTAL_RPT_COUNT> BNO08xPrivateTypes::bno08x_sync_ctx_t::en_report_ids | +
Vector to contain IDs of currently enabled reports.
+ +| EventGroupHandle_t BNO08xPrivateTypes::bno08x_sync_ctx_t::evt_grp_rpt_data_available | +
Event group for indicating to BNO08xRpt::has_new_data() that a module received a new report.
+ +| EventGroupHandle_t BNO08xPrivateTypes::bno08x_sync_ctx_t::evt_grp_rpt_en | +
Event group for indicating which reports are currently enabled.
+ +| EventGroupHandle_t BNO08xPrivateTypes::bno08x_sync_ctx_t::evt_grp_task | +
Event group for indicating various BNO08x related events between tasks.
+ +| SemaphoreHandle_t BNO08xPrivateTypes::bno08x_sync_ctx_t::sh2_HAL_lock | +
Mutex to prevent sh2 HAL lib functions from being accessed at same time.
+ +|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for bno08x_accel_t, including all inherited members.
+| accuracy | bno08x_accel_t | |
| bno08x_accel_t() | bno08x_accel_t | inline |
| operator=(const sh2_Accelerometer_t &source) | bno08x_accel_t | inline |
| x | bno08x_accel_t | |
| y | bno08x_accel_t | |
| z | bno08x_accel_t |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Struct to represent acceleration data from acceleration, linear acceleration, and gravity reports. + More...
+ +#include <BNO08xGlobalTypes.hpp>
+Public Member Functions | |
| bno08x_accel_t () | |
| bno08x_accel_t & | operator= (const sh2_Accelerometer_t &source) |
+Public Attributes | |
| float | x |
| float | y |
| float | z |
| BNO08xAccuracy | accuracy |
Struct to represent acceleration data from acceleration, linear acceleration, and gravity reports.
+
+
|
+ +inline | +
+
|
+ +inline | +
| BNO08xAccuracy bno08x_accel_t::accuracy | +
| float bno08x_accel_t::x | +
| float bno08x_accel_t::y | +
| float bno08x_accel_t::z | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for bno08x_activity_classifier_t, including all inherited members.
+| accuracy | bno08x_activity_classifier_t | |
| bno08x_activity_classifier_t() | bno08x_activity_classifier_t | inline |
| confidence | bno08x_activity_classifier_t | |
| lastPage | bno08x_activity_classifier_t | |
| mostLikelyState | bno08x_activity_classifier_t | |
| operator=(const sh2_PersonalActivityClassifier_t &source) | bno08x_activity_classifier_t | inline |
| page | bno08x_activity_classifier_t |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Struct to represent activity classifier data. + More...
+ +#include <BNO08xGlobalTypes.hpp>
+Public Member Functions | |
| bno08x_activity_classifier_t () | |
| bno08x_activity_classifier_t & | operator= (const sh2_PersonalActivityClassifier_t &source) |
+Public Attributes | |
| uint8_t | confidence [10] |
| BNO08xActivity | mostLikelyState |
| BNO08xAccuracy | accuracy |
| uint8_t | page |
| bool | lastPage |
Struct to represent activity classifier data.
+
+
|
+ +inline | +
+
|
+ +inline | +
| BNO08xAccuracy bno08x_activity_classifier_t::accuracy | +
| uint8_t bno08x_activity_classifier_t::confidence[10] | +
| bool bno08x_activity_classifier_t::lastPage | +
| BNO08xActivity bno08x_activity_classifier_t::mostLikelyState | +
| uint8_t bno08x_activity_classifier_t::page | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for bno08x_ang_vel_t, including all inherited members.
+| bno08x_ang_vel_t() | bno08x_ang_vel_t | inline |
| operator*=(T value) | bno08x_ang_vel_t | inline |
| operator=(const sh2_GyroIntegratedRV_t &source) | bno08x_ang_vel_t | inline |
| x | bno08x_ang_vel_t | |
| y | bno08x_ang_vel_t | |
| z | bno08x_ang_vel_t |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Struct to represent angular velocity (units in rad/s) + More...
+ +#include <BNO08xGlobalTypes.hpp>
+Public Member Functions | |
| bno08x_ang_vel_t () | |
| template<typename T > | |
| bno08x_ang_vel_t & | operator*= (T value) |
| bno08x_ang_vel_t & | operator= (const sh2_GyroIntegratedRV_t &source) |
+Public Attributes | |
| float | x |
| float | y |
| float | z |
Struct to represent angular velocity (units in rad/s)
+
+
|
+ +inline | +
+
|
+ +inline | +
+
|
+ +inline | +
| float bno08x_ang_vel_t::x | +
| float bno08x_ang_vel_t::y | +
| float bno08x_ang_vel_t::z | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for bno08x_config_t, including all inherited members.
+| bno08x_config_t(bool install_isr_service=true) | bno08x_config_t | inline |
| bno08x_config_t(spi_host_device_t spi_peripheral, gpio_num_t io_mosi, gpio_num_t io_miso, gpio_num_t io_sclk, gpio_num_t io_cs, gpio_num_t io_int, gpio_num_t io_rst, uint32_t sclk_speed, bool install_isr_service=true) | bno08x_config_t | inline |
| install_isr_service | bno08x_config_t | |
| io_cs | bno08x_config_t | |
| io_int | bno08x_config_t | |
| io_miso | bno08x_config_t | |
| io_mosi | bno08x_config_t | |
| io_rst | bno08x_config_t | |
| io_sclk | bno08x_config_t | |
| sclk_speed | bno08x_config_t | |
| spi_peripheral | bno08x_config_t |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
IMU configuration settings passed into constructor. + More...
+ +#include <BNO08xGlobalTypes.hpp>
+Public Member Functions | |
| bno08x_config_t (bool install_isr_service=true) | |
| Default IMU configuration settings constructor. To modify default GPIO pins, run "idf.py menuconfig" esp32_BNO08x->GPIO Configuration. Alternatively, edit the default values in "Kconfig.projbuild". More... | |
| bno08x_config_t (spi_host_device_t spi_peripheral, gpio_num_t io_mosi, gpio_num_t io_miso, gpio_num_t io_sclk, gpio_num_t io_cs, gpio_num_t io_int, gpio_num_t io_rst, uint32_t sclk_speed, bool install_isr_service=true) | |
| Overloaded IMU configuration settings constructor for custom pin settings. More... | |
+Public Attributes | |
| spi_host_device_t | spi_peripheral |
| SPI peripheral to be used. More... | |
| gpio_num_t | io_mosi |
| MOSI GPIO pin (connects to BNO08x DI pin) More... | |
| gpio_num_t | io_miso |
| MISO GPIO pin (connects to BNO08x SDA pin) More... | |
| gpio_num_t | io_sclk |
| SCLK pin (connects to BNO08x SCL pin) More... | |
| gpio_num_t | io_cs |
| gpio_num_t | io_int |
| Chip select pin (connects to BNO08x CS pin) More... | |
| gpio_num_t | io_rst |
| Host interrupt pin (connects to BNO08x INT pin) More... | |
| uint32_t | sclk_speed |
| Reset pin (connects to BNO08x RST pin) More... | |
| bool | install_isr_service |
| Indicates whether the ISR service for the HINT should be installed at IMU initialization, (if gpio_install_isr_service() is called before initialize() set this to false) More... | |
IMU configuration settings passed into constructor.
+
+
|
+ +inline | +
Default IMU configuration settings constructor. To modify default GPIO pins, run "idf.py menuconfig" esp32_BNO08x->GPIO Configuration. Alternatively, edit the default values in "Kconfig.projbuild".
+ +
+
|
+ +inline | +
Overloaded IMU configuration settings constructor for custom pin settings.
+ +| bool bno08x_config_t::install_isr_service | +
Indicates whether the ISR service for the HINT should be installed at IMU initialization, (if gpio_install_isr_service() is called before initialize() set this to false)
+ +| gpio_num_t bno08x_config_t::io_cs | +
| gpio_num_t bno08x_config_t::io_int | +
Chip select pin (connects to BNO08x CS pin)
+ +| gpio_num_t bno08x_config_t::io_miso | +
MISO GPIO pin (connects to BNO08x SDA pin)
+ +| gpio_num_t bno08x_config_t::io_mosi | +
MOSI GPIO pin (connects to BNO08x DI pin)
+ +| gpio_num_t bno08x_config_t::io_rst | +
Host interrupt pin (connects to BNO08x INT pin)
+ +| gpio_num_t bno08x_config_t::io_sclk | +
SCLK pin (connects to BNO08x SCL pin)
+ +| uint32_t bno08x_config_t::sclk_speed | +
Reset pin (connects to BNO08x RST pin)
+Desired SPI SCLK speed in Hz (max 3MHz)
+ +| spi_host_device_t bno08x_config_t::spi_peripheral | +
SPI peripheral to be used.
+ +|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for bno08x_euler_angle_t, including all inherited members.
+| accuracy | bno08x_euler_angle_t | |
| bno08x_euler_angle_t() | bno08x_euler_angle_t | inline |
| operator*=(T value) | bno08x_euler_angle_t | inline |
| operator=(const bno08x_quat_t &source) | bno08x_euler_angle_t | inline |
| rad_accuracy | bno08x_euler_angle_t | |
| x | bno08x_euler_angle_t | |
| y | bno08x_euler_angle_t | |
| z | bno08x_euler_angle_t |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Struct to represent euler angle (units in degrees or rads) + More...
+ +#include <BNO08xGlobalTypes.hpp>
+Public Member Functions | |
| bno08x_euler_angle_t () | |
| bno08x_euler_angle_t & | operator= (const bno08x_quat_t &source) |
| template<typename T > | |
| bno08x_euler_angle_t & | operator*= (T value) |
+Public Attributes | |
| float | x |
| float | y |
| float | z |
| float | rad_accuracy |
| BNO08xAccuracy | accuracy |
Struct to represent euler angle (units in degrees or rads)
+
+
|
+ +inline | +
+
|
+ +inline | +
+
|
+ +inline | +
| BNO08xAccuracy bno08x_euler_angle_t::accuracy | +
| float bno08x_euler_angle_t::rad_accuracy | +
| float bno08x_euler_angle_t::x | +
| float bno08x_euler_angle_t::y | +
| float bno08x_euler_angle_t::z | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for bno08x_gyro_bias_t, including all inherited members.
+| bno08x_gyro_bias_t() | bno08x_gyro_bias_t | inline |
| operator=(const sh2_GyroscopeUncalibrated &source) | bno08x_gyro_bias_t | inline |
| x | bno08x_gyro_bias_t | |
| y | bno08x_gyro_bias_t | |
| z | bno08x_gyro_bias_t |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Struct to represent gyro bias data (units in rad/s) + More...
+ +#include <BNO08xGlobalTypes.hpp>
+Public Member Functions | |
| bno08x_gyro_bias_t () | |
| bno08x_gyro_bias_t & | operator= (const sh2_GyroscopeUncalibrated &source) |
+Public Attributes | |
| float | x |
| float | y |
| float | z |
Struct to represent gyro bias data (units in rad/s)
+
+
|
+ +inline | +
+
|
+ +inline | +
| float bno08x_gyro_bias_t::x | +
| float bno08x_gyro_bias_t::y | +
| float bno08x_gyro_bias_t::z | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for bno08x_gyro_t, including all inherited members.
+| accuracy | bno08x_gyro_t | |
| bno08x_gyro_t() | bno08x_gyro_t | inline |
| operator=(const sh2_Gyroscope_t &source) | bno08x_gyro_t | inline |
| operator=(const sh2_GyroscopeUncalibrated &source) | bno08x_gyro_t | inline |
| x | bno08x_gyro_t | |
| y | bno08x_gyro_t | |
| z | bno08x_gyro_t |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Struct to represent gyro data (units in rad/s) + More...
+ +#include <BNO08xGlobalTypes.hpp>
+Public Member Functions | |
| bno08x_gyro_t () | |
| bno08x_gyro_t & | operator= (const sh2_Gyroscope_t &source) |
| bno08x_gyro_t & | operator= (const sh2_GyroscopeUncalibrated &source) |
+Public Attributes | |
| float | x |
| float | y |
| float | z |
| BNO08xAccuracy | accuracy |
Struct to represent gyro data (units in rad/s)
+
+
|
+ +inline | +
+
|
+ +inline | +
+
|
+ +inline | +
| BNO08xAccuracy bno08x_gyro_t::accuracy | +
| float bno08x_gyro_t::x | +
| float bno08x_gyro_t::y | +
| float bno08x_gyro_t::z | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for bno08x_magf_bias_t, including all inherited members.
+| bno08x_magf_bias_t() | bno08x_magf_bias_t | inline |
| operator=(const sh2_MagneticFieldUncalibrated_t &source) | bno08x_magf_bias_t | inline |
| x | bno08x_magf_bias_t | |
| y | bno08x_magf_bias_t | |
| z | bno08x_magf_bias_t |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Struct to represent magnetic field bias data (units in uTesla) + More...
+ +#include <BNO08xGlobalTypes.hpp>
+Public Member Functions | |
| bno08x_magf_bias_t () | |
| bno08x_magf_bias_t & | operator= (const sh2_MagneticFieldUncalibrated_t &source) |
+Public Attributes | |
| float | x |
| float | y |
| float | z |
Struct to represent magnetic field bias data (units in uTesla)
+
+
|
+ +inline | +
+
|
+ +inline | +
| float bno08x_magf_bias_t::x | +
| float bno08x_magf_bias_t::y | +
| float bno08x_magf_bias_t::z | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for bno08x_magf_t, including all inherited members.
+| accuracy | bno08x_magf_t | |
| bno08x_magf_t() | bno08x_magf_t | inline |
| operator=(const sh2_MagneticField_t &source) | bno08x_magf_t | inline |
| operator=(const sh2_MagneticFieldUncalibrated_t &source) | bno08x_magf_t | inline |
| x | bno08x_magf_t | |
| y | bno08x_magf_t | |
| z | bno08x_magf_t |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Struct to represent magnetic field data (units in uTesla) + More...
+ +#include <BNO08xGlobalTypes.hpp>
+Public Member Functions | |
| bno08x_magf_t () | |
| bno08x_magf_t & | operator= (const sh2_MagneticField_t &source) |
| bno08x_magf_t & | operator= (const sh2_MagneticFieldUncalibrated_t &source) |
+Public Attributes | |
| float | x |
| float | y |
| float | z |
| BNO08xAccuracy | accuracy |
Struct to represent magnetic field data (units in uTesla)
+
+
|
+ +inline | +
+
|
+ +inline | +
+
|
+ +inline | +
| BNO08xAccuracy bno08x_magf_t::accuracy | +
| float bno08x_magf_t::x | +
| float bno08x_magf_t::y | +
| float bno08x_magf_t::z | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for bno08x_meta_data_t, including all inherited members.
+|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Struct to represent sensor/report meta data, returned from BNO08xRpt::get_meta_data() + More...
+ +#include <BNO08xGlobalTypes.hpp>
+Public Member Functions | |
| bno08x_meta_data_t () | |
| bno08x_meta_data_t (const sh2_SensorMetadata_t &src) | |
+Public Attributes | |
| char | vendor_ID [48] |
| Vendor name and part number. More... | |
| uint8_t | sensor_specific [48] |
| See SH-2 Reference Manual. More... | |
| uint32_t | vendor_id_len |
| [bytes] More... | |
| uint32_t | sensor_specific_len |
| [bytes] More... | |
| uint32_t | range |
| Same units as sensor reports. More... | |
| uint32_t | resolution |
| Same units as sensor reports. More... | |
| uint32_t | min_period_us |
| [uS] min period to use with enable_report More... | |
| uint32_t | max_period_us |
| [uS] max period to use with enable_report More... | |
| uint32_t | fifo_reserved |
| (Unused) More... | |
| uint32_t | fifo_max |
| (Unused) More... | |
| uint32_t | batch_buffer_bytes |
| (Unused) More... | |
| uint16_t | revision |
| Metadata record format revision. More... | |
| uint16_t | power_mA |
| [mA] Fixed point 16Q10 format More... | |
| uint16_t | q_point_1 |
| q point for sensor values More... | |
| uint16_t | q_point_2 |
| q point for accuracy or bias fields More... | |
| uint16_t | q_point_3 |
| q point for sensor data change sensitivity More... | |
| uint8_t | me_version |
| Motion Engine Version. More... | |
| uint8_t | mh_version |
| Motion Hub Version. More... | |
| uint8_t | sh_version |
| SensorHub Version. More... | |
Struct to represent sensor/report meta data, returned from BNO08xRpt::get_meta_data()
+
+
|
+ +inline | +
+
|
+ +inline | +
| uint32_t bno08x_meta_data_t::batch_buffer_bytes | +
(Unused)
+ +| uint32_t bno08x_meta_data_t::fifo_max | +
(Unused)
+ +| uint32_t bno08x_meta_data_t::fifo_reserved | +
(Unused)
+ +| uint32_t bno08x_meta_data_t::max_period_us | +
[uS] max period to use with enable_report
+ +| uint8_t bno08x_meta_data_t::me_version | +
Motion Engine Version.
+ +| uint8_t bno08x_meta_data_t::mh_version | +
Motion Hub Version.
+ +| uint32_t bno08x_meta_data_t::min_period_us | +
[uS] min period to use with enable_report
+ +| uint16_t bno08x_meta_data_t::power_mA | +
[mA] Fixed point 16Q10 format
+ +| uint16_t bno08x_meta_data_t::q_point_1 | +
q point for sensor values
+ +| uint16_t bno08x_meta_data_t::q_point_2 | +
q point for accuracy or bias fields
+ +| uint16_t bno08x_meta_data_t::q_point_3 | +
q point for sensor data change sensitivity
+ +| uint32_t bno08x_meta_data_t::range | +
Same units as sensor reports.
+ +| uint32_t bno08x_meta_data_t::resolution | +
Same units as sensor reports.
+ +| uint16_t bno08x_meta_data_t::revision | +
Metadata record format revision.
+ +| uint8_t bno08x_meta_data_t::sensor_specific[48] | +
See SH-2 Reference Manual.
+ +| uint32_t bno08x_meta_data_t::sensor_specific_len | +
[bytes]
+ +| uint8_t bno08x_meta_data_t::sh_version | +
SensorHub Version.
+ +| char bno08x_meta_data_t::vendor_ID[48] | +
Vendor name and part number.
+ +| uint32_t bno08x_meta_data_t::vendor_id_len | +
[bytes]
+ +|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for bno08x_quat_t, including all inherited members.
+| accuracy | bno08x_quat_t | |
| bno08x_quat_t() | bno08x_quat_t | inline |
| i | bno08x_quat_t | |
| j | bno08x_quat_t | |
| k | bno08x_quat_t | |
| operator=(const sh2_RotationVectorWAcc_t &source) | bno08x_quat_t | inline |
| operator=(const sh2_RotationVector_t &source) | bno08x_quat_t | inline |
| operator=(const sh2_GyroIntegratedRV_t &source) | bno08x_quat_t | inline |
| rad_accuracy | bno08x_quat_t | |
| real | bno08x_quat_t |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Struct to represent unit quaternion. + More...
+ +#include <BNO08xGlobalTypes.hpp>
+Public Member Functions | |
| bno08x_quat_t () | |
| bno08x_quat_t & | operator= (const sh2_RotationVectorWAcc_t &source) |
| bno08x_quat_t & | operator= (const sh2_RotationVector_t &source) |
| bno08x_quat_t & | operator= (const sh2_GyroIntegratedRV_t &source) |
+Public Attributes | |
| float | real |
| float | i |
| float | j |
| float | k |
| float | rad_accuracy |
| BNO08xAccuracy | accuracy |
Struct to represent unit quaternion.
+
+
|
+ +inline | +
+
|
+ +inline | +
+
|
+ +inline | +
+
|
+ +inline | +
| BNO08xAccuracy bno08x_quat_t::accuracy | +
| float bno08x_quat_t::i | +
| float bno08x_quat_t::j | +
| float bno08x_quat_t::k | +
| float bno08x_quat_t::rad_accuracy | +
| float bno08x_quat_t::real | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for bno08x_raw_accel_t, including all inherited members.
+| accuracy | bno08x_raw_accel_t | |
| bno08x_raw_accel_t() | bno08x_raw_accel_t | inline |
| operator=(const sh2_RawAccelerometer_t &source) | bno08x_raw_accel_t | inline |
| timestamp_us | bno08x_raw_accel_t | |
| x | bno08x_raw_accel_t | |
| y | bno08x_raw_accel_t | |
| z | bno08x_raw_accel_t |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Struct to represent raw mems accelerometer data from raw accelerometer reports (units in ADC counts). + More...
+ +#include <BNO08xGlobalTypes.hpp>
+Public Member Functions | |
| bno08x_raw_accel_t () | |
| bno08x_raw_accel_t & | operator= (const sh2_RawAccelerometer_t &source) |
+Public Attributes | |
| uint32_t | timestamp_us |
| int16_t | x |
| int16_t | y |
| int16_t | z |
| BNO08xAccuracy | accuracy |
Struct to represent raw mems accelerometer data from raw accelerometer reports (units in ADC counts).
+
+
|
+ +inline | +
+
|
+ +inline | +
| BNO08xAccuracy bno08x_raw_accel_t::accuracy | +
| uint32_t bno08x_raw_accel_t::timestamp_us | +
| int16_t bno08x_raw_accel_t::x | +
| int16_t bno08x_raw_accel_t::y | +
| int16_t bno08x_raw_accel_t::z | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for bno08x_raw_gyro_t, including all inherited members.
+| accuracy | bno08x_raw_gyro_t | |
| bno08x_raw_gyro_t() | bno08x_raw_gyro_t | inline |
| operator=(const sh2_RawGyroscope_t &source) | bno08x_raw_gyro_t | inline |
| temperature | bno08x_raw_gyro_t | |
| timestamp_us | bno08x_raw_gyro_t | |
| x | bno08x_raw_gyro_t | |
| y | bno08x_raw_gyro_t | |
| z | bno08x_raw_gyro_t |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Struct to represent raw mems gyro data from raw gyro reports (units in ADC counts). + More...
+ +#include <BNO08xGlobalTypes.hpp>
+Public Member Functions | |
| bno08x_raw_gyro_t () | |
| bno08x_raw_gyro_t & | operator= (const sh2_RawGyroscope_t &source) |
+Public Attributes | |
| uint32_t | timestamp_us |
| int16_t | x |
| int16_t | y |
| int16_t | z |
| int16_t | temperature |
| BNO08xAccuracy | accuracy |
Struct to represent raw mems gyro data from raw gyro reports (units in ADC counts).
+
+
|
+ +inline | +
+
|
+ +inline | +
| BNO08xAccuracy bno08x_raw_gyro_t::accuracy | +
| int16_t bno08x_raw_gyro_t::temperature | +
| uint32_t bno08x_raw_gyro_t::timestamp_us | +
| int16_t bno08x_raw_gyro_t::x | +
| int16_t bno08x_raw_gyro_t::y | +
| int16_t bno08x_raw_gyro_t::z | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for bno08x_raw_magf_t, including all inherited members.
+| accuracy | bno08x_raw_magf_t | |
| bno08x_raw_magf_t() | bno08x_raw_magf_t | inline |
| operator=(const sh2_RawMagnetometer_t &source) | bno08x_raw_magf_t | inline |
| timestamp_us | bno08x_raw_magf_t | |
| x | bno08x_raw_magf_t | |
| y | bno08x_raw_magf_t | |
| z | bno08x_raw_magf_t |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Struct to represent raw mems magnetometer data from raw magnetometer reports (units in ADC counts). + More...
+ +#include <BNO08xGlobalTypes.hpp>
+Public Member Functions | |
| bno08x_raw_magf_t () | |
| bno08x_raw_magf_t & | operator= (const sh2_RawMagnetometer_t &source) |
+Public Attributes | |
| uint32_t | timestamp_us |
| int16_t | x |
| int16_t | y |
| int16_t | z |
| BNO08xAccuracy | accuracy |
Struct to represent raw mems magnetometer data from raw magnetometer reports (units in ADC counts).
+
+
|
+ +inline | +
+
|
+ +inline | +
| BNO08xAccuracy bno08x_raw_magf_t::accuracy | +
| uint32_t bno08x_raw_magf_t::timestamp_us | +
| int16_t bno08x_raw_magf_t::x | +
| int16_t bno08x_raw_magf_t::y | +
| int16_t bno08x_raw_magf_t::z | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for bno08x_sample_counts_t, including all inherited members.
+| accepted | bno08x_sample_counts_t | |
| attempted | bno08x_sample_counts_t | |
| bno08x_sample_counts_t() | bno08x_sample_counts_t | inline |
| offered | bno08x_sample_counts_t | |
| on | bno08x_sample_counts_t | |
| operator=(const sh2_Counts_t &source) | bno08x_sample_counts_t | inline |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Struct to represent sample counts, returned from BNO08xRpt::get_sample_counts() + More...
+ +#include <BNO08xGlobalTypes.hpp>
+Public Member Functions | |
| bno08x_sample_counts_t () | |
| bno08x_sample_counts_t & | operator= (const sh2_Counts_t &source) |
+Public Attributes | |
| uint32_t | offered |
| Number of samples produced by underlying data source. More... | |
| uint32_t | on |
| Number of "offered" samples while this sensor was requested by host. More... | |
| uint32_t | accepted |
| Number of "on" samples that passed decimation filter. More... | |
| uint32_t | attempted |
| Number of "accepted" samples that passed threshold requirements and had transmission to the host attempted. More... | |
Struct to represent sample counts, returned from BNO08xRpt::get_sample_counts()
+
+
|
+ +inline | +
+
|
+ +inline | +
| uint32_t bno08x_sample_counts_t::accepted | +
Number of "on" samples that passed decimation filter.
+ +| uint32_t bno08x_sample_counts_t::attempted | +
Number of "accepted" samples that passed threshold requirements and had transmission to the host attempted.
+ +| uint32_t bno08x_sample_counts_t::offered | +
Number of samples produced by underlying data source.
+ +| uint32_t bno08x_sample_counts_t::on | +
Number of "offered" samples while this sensor was requested by host.
+ +|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for bno08x_shake_detector_t, including all inherited members.
+| accuracy | bno08x_shake_detector_t | |
| bno08x_shake_detector_t() | bno08x_shake_detector_t | inline |
| operator=(const sh2_ShakeDetector_t &source) | bno08x_shake_detector_t | inline |
| x_flag | bno08x_shake_detector_t | |
| y_flag | bno08x_shake_detector_t | |
| z_flag | bno08x_shake_detector_t |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Struct to represent shake detector data (flag meaning: 0 = no shake 1 = shake detected) + More...
+ +#include <BNO08xGlobalTypes.hpp>
+Public Member Functions | |
| bno08x_shake_detector_t () | |
| bno08x_shake_detector_t & | operator= (const sh2_ShakeDetector_t &source) |
+Public Attributes | |
| uint8_t | x_flag |
| uint8_t | y_flag |
| uint8_t | z_flag |
| BNO08xAccuracy | accuracy |
Struct to represent shake detector data (flag meaning: 0 = no shake 1 = shake detected)
+
+
|
+ +inline | +
+
|
+ +inline | +
| BNO08xAccuracy bno08x_shake_detector_t::accuracy | +
| uint8_t bno08x_shake_detector_t::x_flag | +
| uint8_t bno08x_shake_detector_t::y_flag | +
| uint8_t bno08x_shake_detector_t::z_flag | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for bno08x_stability_classifier_t, including all inherited members.
+| accuracy | bno08x_stability_classifier_t | |
| bno08x_stability_classifier_t() | bno08x_stability_classifier_t | inline |
| operator=(const sh2_StabilityClassifier_t &source) | bno08x_stability_classifier_t | inline |
| stability | bno08x_stability_classifier_t |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Struct to represent stability classifier data from stability classifier reports. + More...
+ +#include <BNO08xGlobalTypes.hpp>
+Public Member Functions | |
| bno08x_stability_classifier_t () | |
| bno08x_stability_classifier_t & | operator= (const sh2_StabilityClassifier_t &source) |
+Public Attributes | |
| BNO08xStability | stability |
| BNO08xAccuracy | accuracy |
Struct to represent stability classifier data from stability classifier reports.
+
+
|
+ +inline | +
+
|
+ +inline | +
| BNO08xAccuracy bno08x_stability_classifier_t::accuracy | +
| BNO08xStability bno08x_stability_classifier_t::stability | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for bno08x_step_counter_t, including all inherited members.
+| accuracy | bno08x_step_counter_t | |
| bno08x_step_counter_t() | bno08x_step_counter_t | inline |
| latency | bno08x_step_counter_t | |
| operator=(const sh2_StepCounter_t &source) | bno08x_step_counter_t | inline |
| steps | bno08x_step_counter_t |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Struct to represent step counter data from step counter reports. + More...
+ +#include <BNO08xGlobalTypes.hpp>
+Public Member Functions | |
| bno08x_step_counter_t () | |
| bno08x_step_counter_t & | operator= (const sh2_StepCounter_t &source) |
+Public Attributes | |
| uint32_t | latency |
| uint16_t | steps |
| BNO08xAccuracy | accuracy |
Struct to represent step counter data from step counter reports.
+
+
|
+ +inline | +
+
|
+ +inline | +
| BNO08xAccuracy bno08x_step_counter_t::accuracy | +
| uint32_t bno08x_step_counter_t::latency | +
| uint16_t bno08x_step_counter_t::steps | +
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
This is the complete list of members for bno08x_tap_detector_t, including all inherited members.
+| accuracy | bno08x_tap_detector_t | |
| bno08x_tap_detector_t() | bno08x_tap_detector_t | inline |
| double_tap | bno08x_tap_detector_t | |
| operator=(const sh2_TapDetector_t &source) | bno08x_tap_detector_t | inline |
| x_flag | bno08x_tap_detector_t | |
| y_flag | bno08x_tap_detector_t | |
| z_flag | bno08x_tap_detector_t |
|
+ esp32_BNO08x 1.4
+
+ C++ BNO08x IMU driver component for esp-idf.
+ |
+
Struct to represent tap detector data (flag meaning: 0 = no tap, 1 = positive tap on axis, -1 = negative tap on axis) + More...
+ +#include <BNO08xGlobalTypes.hpp>
+Public Member Functions | |
| bno08x_tap_detector_t () | |
| bno08x_tap_detector_t & | operator= (const sh2_TapDetector_t &source) |
+Public Attributes | |
| int8_t | x_flag |
| int8_t | y_flag |
| int8_t | z_flag |
| bool | double_tap |
| BNO08xAccuracy | accuracy |
Struct to represent tap detector data (flag meaning: 0 = no tap, 1 = positive tap on axis, -1 = negative tap on axis)
+
+
|
+ +inline | +
+
|
+ +inline | +
| BNO08xAccuracy bno08x_tap_detector_t::accuracy | +
| bool bno08x_tap_detector_t::double_tap | +
| int8_t bno08x_tap_detector_t::x_flag | +
| int8_t bno08x_tap_detector_t::y_flag | +
| int8_t bno08x_tap_detector_t::z_flag | +
...+\newenvironment{DoxyPre}{% + \small% + \begin{alltt}% +}{% + \end{alltt}% + \normalsize% +} +% Necessary for redefining not defined characters, i.e. "Replacement Character" in tex output. +\newlength{\CodeWidthChar} +\newlength{\CodeHeightChar} +\settowidth{\CodeWidthChar}{?} +\settoheight{\CodeHeightChar}{?} +% Necessary for hanging indent +\newlength{\DoxyCodeWidth} + +\newcommand\DoxyCodeLine[1]{\hangpara{\DoxyCodeWidth}{1}{#1}\par} + +\newcommand\NiceSpace{% + \discretionary{}{\kern\fontdimen2\font}{\kern\fontdimen2\font}% +} + +% Used by @code ... @endcode +\newenvironment{DoxyCode}[1]{% + \par% + \scriptsize% + \normalfont\ttfamily% + \rightskip0pt plus 1fil% + \settowidth{\DoxyCodeWidth}{000000}% + \settowidth{\CodeWidthChar}{?}% + \settoheight{\CodeHeightChar}{?}% + \setlength{\parskip}{0ex plus 0ex minus 0ex}% + \ifthenelse{\equal{#1}{0}} + { + {\lccode`~32 \lowercase{\global\let~}\NiceSpace}\obeyspaces% + } + { + {\lccode`~32 \lowercase{\global\let~}}\obeyspaces% + } + +}{% + \normalfont% + \normalsize% + \settowidth{\CodeWidthChar}{?}% + \settoheight{\CodeHeightChar}{?}% +} + +% Redefining not defined characters, i.e. "Replacement Character" in tex output. +\def\ucr{\adjustbox{width=\CodeWidthChar,height=\CodeHeightChar}{\stackinset{c}{}{c}{-.2pt}{% + \textcolor{white}{\sffamily\bfseries\small ?}}{% + \rotatebox{45}{$\blacksquare$}}}} + +% Used by @example, @include, @includelineno and @dontinclude +\newenvironment{DoxyCodeInclude}[1]{% + \DoxyCode{#1}% +}{% + \endDoxyCode% +} + +% Used by @verbatim ... @endverbatim +\newenvironment{DoxyVerb}{% + \par% + \footnotesize% + \verbatim% +}{% + \endverbatim% + \normalsize% +} + +% Used by @verbinclude +\newenvironment{DoxyVerbInclude}{% + \DoxyVerb% +}{% + \endDoxyVerb% +} + +% Used by numbered lists (using '-#' or