Skip to content

Commit

Permalink
controller_manager: Add space to string literal concatenation
Browse files Browse the repository at this point in the history
There is no space between the string literals, "following" and
"controllers". This results in "followingcontrollers", which is not
what we want.

Add a space to the first string to fix this.

Signed-off-by: Yasushi SHOJI <[email protected]>
  • Loading branch information
yashi committed Dec 24, 2023
1 parent e92b6c2 commit 3cc4fdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller_manager/src/controller_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ controller_interface::return_type ControllerManager::switch_controller(
{
RCLCPP_WARN(
get_logger(),
"Controller with name '%s' is not inactive so its following"
"Controller with name '%s' is not inactive so its following "
"controllers do not have to be checked, because it cannot be activated.",
controller_it->info.name.c_str());
status = controller_interface::return_type::ERROR;
Expand Down

0 comments on commit 3cc4fdd

Please sign in to comment.