Skip to content

Commit

Permalink
updated ros info
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Dec 15, 2023
1 parent c21baca commit 9378d60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/multirotor_simulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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_);
}

//}
Expand Down

0 comments on commit 9378d60

Please sign in to comment.