Slowdown message: More descriptive and less often

This commit is contained in:
Lorenz Meier
2016-12-24 16:14:52 +01:00
parent 5607df8a44
commit 8418be5fa5
+2 -2
View File
@@ -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);