AP_InertialSensor: MPU6000: publish sample rate
So that vibration and clipping may be calculated.
This commit is contained in:
parent
eb480e959c
commit
305ec7b08a
@ -625,6 +625,8 @@ void AP_InertialSensor_MPU6000::start()
|
||||
_gyro_instance = _imu.register_gyro();
|
||||
_accel_instance = _imu.register_accel();
|
||||
|
||||
_set_accel_sample_rate(_accel_instance, 1000);
|
||||
|
||||
hal.scheduler->resume_timer_procs();
|
||||
|
||||
// start the timer process to read samples
|
||||
|
Loading…
Reference in New Issue
Block a user