mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-07 16:38:30 -04:00
770b7b5901
thanks to the VRBrain port for noticing this bug. Failing to get the semaphore is an expected error with the MPU6000, as we read data both from timer context and mainline code. That means semaphore conflicts are inevitable. We shouldn't consider them an error, and shouldn't panic when some arbitrary number of them have happened since boot. Instead the wait_for_sample() code checks that we receive new data at least every 50ms. That is a much safer test. |
||
---|---|---|
.. | ||
examples | ||
AP_InertialSensor_MPU6000.cpp | ||
AP_InertialSensor_MPU6000.h | ||
AP_InertialSensor_Oilpan.cpp | ||
AP_InertialSensor_Oilpan.h | ||
AP_InertialSensor_PX4.cpp | ||
AP_InertialSensor_PX4.h | ||
AP_InertialSensor_Stub.cpp | ||
AP_InertialSensor_Stub.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 |