diff --git a/rm_gimbal_controllers/src/gimbal_base.cpp b/rm_gimbal_controllers/src/gimbal_base.cpp index fdfd469a..7f98ba05 100644 --- a/rm_gimbal_controllers/src/gimbal_base.cpp +++ b/rm_gimbal_controllers/src/gimbal_base.cpp @@ -173,7 +173,7 @@ void Controller::update(const ros::Time& time, const ros::Duration& period) } catch (tf2::TransformException& ex) { - ROS_WARN("%s", ex.what()); + ROS_WARN_THROTTLE(1, "%s\n", ex.what()); return; } updateChassisVel();