Skip to content
Snippets Groups Projects
Commit 8418be5f authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Slowdown message: More descriptive and less often

parent 5607df8a
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment