Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions controller_interface/src/controller_interface_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,13 @@ const rclcpp_lifecycle::State & ControllerInterfaceBase::configure()
if (ctrl_itf_params_.update_rate != 0u && update_rate > ctrl_itf_params_.update_rate)
{
RCLCPP_WARN(
get_node()->get_logger(),
"The update rate of the controller : '%ld Hz' cannot be higher than the update rate of the "
"controller manager : '%d Hz'. Setting it to the update rate of the controller manager.",
update_rate, ctrl_itf_params_.update_rate);
get_node()->get_logger(), "%s",
fmt::format(
"The update rate of the controller : '{} Hz' cannot be higher than the update rate of "
"the "
"controller manager : '{} Hz'. Setting it to the update rate of the controller manager.",
update_rate, ctrl_itf_params_.update_rate)
.c_str());
}
else
{
Expand Down