mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-19 23:28:32 -04:00
4480956c68
The code with ifdef for !FAST_SAMPLING is bit rotting and the example for AP_InertialSensor is currently broken for this case. Instead of adding more ifdefs, remove the legacy implementation for !FAST_SAMPLING since we don't support it anymore. Reported by Grant: /home/grant/3dr/ardupilot/libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp: In member function 'void AP_InertialSensor_MPU6000::_accumulate(uint8_t*, uint8_t)': /home/grant/3dr/ardupilot/libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp:776:20: error: no match for 'operator+=' (operand types are 'Vector3l {aka Vector3<long int>}' and 'Vector3f {aka Vector3<float>}') _accel_sum += accel; /home/grant/3dr/ardupilot/libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp:777:19: error: no match for 'operator+=' (operand types are 'Vector3l {aka Vector3<long int>}' and 'Vector3f {aka Vector3<float>}') _gyro_sum += gyro; |
||
---|---|---|
.. | ||
examples | ||
AP_InertialSensor_Backend.cpp | ||
AP_InertialSensor_Backend.h | ||
AP_InertialSensor_Flymaple.cpp | ||
AP_InertialSensor_Flymaple.h | ||
AP_InertialSensor_HIL.cpp | ||
AP_InertialSensor_HIL.h | ||
AP_InertialSensor_L3G4200D.cpp | ||
AP_InertialSensor_L3G4200D.h | ||
AP_InertialSensor_LSM9DS0.cpp | ||
AP_InertialSensor_LSM9DS0.h | ||
AP_InertialSensor_MPU6000.cpp | ||
AP_InertialSensor_MPU6000.h | ||
AP_InertialSensor_MPU9150.cpp | ||
AP_InertialSensor_MPU9150.h | ||
AP_InertialSensor_MPU9250.cpp | ||
AP_InertialSensor_MPU9250.h | ||
AP_InertialSensor_Oilpan.cpp | ||
AP_InertialSensor_Oilpan.h | ||
AP_InertialSensor_PX4.cpp | ||
AP_InertialSensor_PX4.h | ||
AP_InertialSensor_UserInteract_MAVLink.cpp | ||
AP_InertialSensor_UserInteract_MAVLink.h | ||
AP_InertialSensor_UserInteract_Stream.cpp | ||
AP_InertialSensor_UserInteract_Stream.h | ||
AP_InertialSensor_UserInteract.h | ||
AP_InertialSensor.cpp | ||
AP_InertialSensor.h | ||
AuxiliaryBus.cpp | ||
AuxiliaryBus.h |