mirror of https://github.com/ArduPilot/ardupilot
79acaeaef1
this adds an extra budget of time per loop when we are not achieving scheduled tasks at a rate of at least 1/8 of the desired rate. This fixes an issue where a vehicle can become uncontrollable if the user asks for a SCHED_LOOP_RATE which is not achievable. As these events happen we add extra loop budget until we are able to run all tasks. We drop the extra time when the CPU pressure eases. |
||
---|---|---|
.. | ||
examples/Scheduler_test | ||
AP_Scheduler.cpp | ||
AP_Scheduler.h | ||
PerfInfo.cpp | ||
PerfInfo.h |