67 bool update()
override;
68 void accumulate()
override;
70 void start()
override;
90 bool _hardware_init();
94 void _set_filter_register(
void);
107 bool _block_read(uint8_t reg, uint8_t *buf, uint32_t size);
108 uint8_t _register_read(uint8_t reg);
109 void _register_write(uint8_t reg, uint8_t val,
bool checked=
false);
111 bool _accumulate(uint8_t *samples, uint8_t n_samples);
112 bool _accumulate_sensor_rate_sampling(uint8_t *samples, uint8_t n_samples);
114 bool _check_raw_temp(int16_t
t2);
124 float temp_sensitivity = 1.0/340;
125 float temp_zero = 36.53;
175 #define MPU_LOG_SIZE 512 177 static uint16_t mpu_log_ptr;
volatile uint16_t write_ptr
AP_HAL::DigitalSource * _drdy_pin
friend AP_Invensense_AuxiliaryBus
AP_HAL::OwnPtr< AP_HAL::Device > _dev
uint8_t _last_stat_user_ctrl
static AP_HAL::OwnPtr< AP_HAL::Device > dev
LowPassFilter2pFloat _temp_filter
A class to implement a second order low pass filter.
A class to implement a low pass filter without losing precision even for int types the downside being...
static AP_InertialSensor_Revo & from(AP_InertialSensor_Backend &backend)