AP_InertialSensor: changed read of sensor from MPU6000 to happen immediately
This reduces the delay between when data arrives and when it is used by up to 1ms. Added num_samples_available method to all InertialSensors to allow main loop timing to be synced with sensors.
Showing
- libraries/AP_ADC/AP_ADC_ADS7844.cpp 12 additions, 5 deletionslibraries/AP_ADC/AP_ADC_ADS7844.cpp
- libraries/AP_InertialSensor/AP_InertialSensor.h 5 additions, 3 deletionslibraries/AP_InertialSensor/AP_InertialSensor.h
- libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp 42 additions, 23 deletionslibraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp
- libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.h 9 additions, 4 deletionslibraries/AP_InertialSensor/AP_InertialSensor_MPU6000.h
- libraries/AP_InertialSensor/AP_InertialSensor_Oilpan.cpp 6 additions, 2 deletionslibraries/AP_InertialSensor/AP_InertialSensor_Oilpan.cpp
- libraries/AP_InertialSensor/AP_InertialSensor_Oilpan.h 3 additions, 1 deletionlibraries/AP_InertialSensor/AP_InertialSensor_Oilpan.h
Loading
Please register or sign in to comment