mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 04:03:35 +08:00
Slowdown message: More descriptive and less often
This commit is contained in:
@@ -338,8 +338,8 @@ void hrt_stop_delay()
|
||||
_delay_interval += delta;
|
||||
_start_delay_time = 0;
|
||||
|
||||
if (delta > 10000) {
|
||||
PX4_INFO("simulator is slow. Delay added: %" PRIu64 " us", delta);
|
||||
if (delta > 100000) {
|
||||
PX4_INFO("Computer load temporarily too high for real-time simulation. (slowdown delay: %" PRIu64 " us)", delta);
|
||||
}
|
||||
|
||||
pthread_mutex_unlock(&_hrt_mutex);
|
||||
|
||||
Reference in New Issue
Block a user