File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -165,10 +165,13 @@ const rclcpp_lifecycle::State & ControllerInterfaceBase::configure()
165165 if (ctrl_itf_params_.update_rate != 0u && update_rate > ctrl_itf_params_.update_rate )
166166 {
167167 RCLCPP_WARN (
168- get_node ()->get_logger (),
169- " The update rate of the controller : '%ld Hz' cannot be higher than the update rate of the "
170- " controller manager : '%d Hz'. Setting it to the update rate of the controller manager." ,
171- update_rate, ctrl_itf_params_.update_rate );
168+ get_node ()->get_logger (), " %s" ,
169+ fmt::format (
170+ " The update rate of the controller : '{} Hz' cannot be higher than the update rate of "
171+ " the "
172+ " controller manager : '{} Hz'. Setting it to the update rate of the controller manager." ,
173+ update_rate, ctrl_itf_params_.update_rate )
174+ .c_str ());
172175 }
173176 else
174177 {
You can’t perform that action at this time.
0 commit comments