From 9378d60adbb0ed2d2ed5700a77e4f182a7c4c00d Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Fri, 15 Dec 2023 10:47:40 +0100 Subject: [PATCH] updated ros info --- src/multirotor_simulator.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/multirotor_simulator.cpp b/src/multirotor_simulator.cpp index 9798572..150c79f 100644 --- a/src/multirotor_simulator.cpp +++ b/src/multirotor_simulator.cpp @@ -242,7 +242,8 @@ void MultirotorSimulator::timerStatus([[maybe_unused]] const ros::WallTimerEvent actual_rtf_ = 0.9 * actual_rtf_ + 0.1 * last_sec_rtf; - ROS_INFO("[MultirotorSimulator]: desired RTF = %.2f, actual RTF = %.2f", drs_params.realtime_factor, actual_rtf_); + ROS_INFO_THROTTLE(0.1, "[MultirotorSimulator]: %s, desired RTF = %.2f, actual RTF = %.2f", drs_params.paused ? "paused" : "running", + drs_params.realtime_factor, actual_rtf_); } //}