ardupilot/libraries/AP_InertialSensor
Andrew Tridgell bfd8d151c8 AP_InertialSensor: lower slave rate with fast sampling
On an invensense IMU with fast sampling we need to lower the slave
sample rate for slave sensors such as the built-in AK8963 compass on a
MPU9250.

The slave rate is set as a multiple of the main rate, so it needs to be
much lower for fast sampling. If we leave it high then it greatly
impacts on IMU sample rate.

Without this change a MPU9250 with fast sampling and a compass enabled
will give a gyro rate of around 7200Hz. With this change it gets 7760Hz
2017-05-02 12:11:08 +10:00
..
examples AP_InertialSensor: examples: fix double to float warnings 2017-02-12 01:22:35 +00:00
AP_InertialSensor.cpp AP_InertialSensor: estimate and log sensor rates for all IMUs 2017-05-01 15:06:46 +10:00
AP_InertialSensor.h AP_InertialSensor: estimate and log sensor rates for all IMUs 2017-05-01 15:06:46 +10:00
AP_InertialSensor_BMI160.cpp AP_InertialSensor: Change from magic number 0 to definition name. 2017-02-18 14:12:36 +00:00
AP_InertialSensor_BMI160.h Global: change Device::PeriodicCb signature 2017-01-14 10:03:54 +11:00
AP_InertialSensor_Backend.cpp AP_InertialSensor: converge sensor rate quickly, then slowly 2017-05-01 15:13:56 +10:00
AP_InertialSensor_Backend.h AP_InertialSensor: estimate and log sensor rates for all IMUs 2017-05-01 15:06:46 +10:00
AP_InertialSensor_HIL.cpp AP_InertialSensor: save id for gyro and accel instances 2016-11-09 17:08:05 +11:00
AP_InertialSensor_HIL.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_InertialSensor_Invensense.cpp AP_InertialSensor: lower slave rate with fast sampling 2017-05-02 12:11:08 +10:00
AP_InertialSensor_Invensense.h AP_InertialSensor: fixed invensense driver temp reading 2017-04-03 10:06:27 +10:00
AP_InertialSensor_L3G4200D.cpp Global: change Device::PeriodicCb signature 2017-01-14 10:03:54 +11:00
AP_InertialSensor_L3G4200D.h Global: change Device::PeriodicCb signature 2017-01-14 10:03:54 +11:00
AP_InertialSensor_LSM9DS0.cpp AP_InertialSensor: separate handling of FIFO and non-FIFO sensors 2017-05-01 15:06:46 +10:00
AP_InertialSensor_LSM9DS0.h AP_InertialSensor: support the L3GD20H gyro 2017-01-31 07:39:36 +11:00
AP_InertialSensor_PX4.cpp AP_InertialSensor: use correct device IDs on PX4 driver 2016-11-09 17:08:05 +11:00
AP_InertialSensor_PX4.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_InertialSensor_QURT.cpp AP_InertialSensor: save id for gyro and accel instances 2016-11-09 17:08:05 +11:00
AP_InertialSensor_QURT.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_InertialSensor_SITL.cpp AP_InertialSensor: fixed use of accel2_noise 2017-05-02 08:24:50 +10:00
AP_InertialSensor_SITL.h AP_InertialSensor: make SITL sensor rate match a Pixhawk1 2017-05-01 15:06:46 +10:00
AP_InertialSensor_UserInteract.h AP_InertialSensor: sanitize includes 2016-02-01 14:18:51 -02:00
AP_InertialSensor_UserInteract_MAVLink.cpp AP_InertialSensor: Unify from print or println to printf. 2017-01-27 18:20:22 +11:00
AP_InertialSensor_UserInteract_MAVLink.h AP_InertialSensor: sanitize includes 2016-02-01 14:18:51 -02:00
AP_InertialSensor_UserInteract_Stream.cpp AP_InertialSensor: use printf() rather than _printf_P() 2015-10-30 14:35:27 +09:00
AP_InertialSensor_UserInteract_Stream.h AP_InertialSensor: sanitize includes 2016-02-01 14:18:51 -02:00
AP_InertialSensor_qflight.cpp AP_InertialSensor: save id for gyro and accel instances 2016-11-09 17:08:05 +11:00
AP_InertialSensor_qflight.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AuxiliaryBus.cpp AP_InertialSensor: implement device IDs for AuxilaryBus 2016-11-09 17:08:04 +11:00
AuxiliaryBus.h AP_InertialSensor: implement device IDs for AuxilaryBus 2016-11-09 17:08:04 +11:00