Updated: October 28, 2024 |
Bit settings for the sensor_buffer_t flag field for data of type SENSOR_FORMAT_IMU
#include <sensor/sensor_gps_imu.h>
typedef enum { FLAG_IMU_ORIENTATION = 1, FLAG_IMU_ORIENTATION_TIME_OFFSET = 2, FLAG_IMU_ACCELERATION = 4, FLAG_IMU_RATE_OF_TURN = 8, FLAG_IMU_MAGNETIC_FIELD = 0x10, FLAG_IMU_TIME_ACCURACY = 0x20, FLAG_IMU_NDOP = 0x40, FLAG_IMU_EDOP = 0x80, FLAG_IMU_HEADING_ACCURACY = 0x100 } sensor_flag_imu_format_t;
This enumeration represents bits in the flag field that when set, indicate the data fields in the sensor_imu_format_t structure that are defined for this buffer.