Skip to content

Commit

Permalink
updated log
Browse files Browse the repository at this point in the history
  • Loading branch information
mhubii committed Dec 7, 2023
1 parent fa82185 commit 9ff07e5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion lbr_fri_ros2/src/async_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ AsyncClient::AsyncClient(const CommandGuardParameters &command_guard_parameters,
: command_interface_(command_guard_parameters, command_guard_variant),
state_interface_(state_interface_parameters), open_loop_(open_loop) {
RCLCPP_INFO(rclcpp::get_logger(LOGGER_NAME), "Configuring client.");
RCLCPP_INFO(rclcpp::get_logger(LOGGER_NAME), "Command guard variant: %s.",
RCLCPP_INFO(rclcpp::get_logger(LOGGER_NAME), "Command guard variant: '%s'.",
command_guard_variant.c_str());
command_interface_.log_info();
state_interface_.log_info();
Expand Down
3 changes: 0 additions & 3 deletions lbr_fri_ros2/src/command_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ namespace lbr_fri_ros2 {

CommandInterface::CommandInterface(const CommandGuardParameters &command_guard_parameters,
const std::string &command_guard_variant) {
RCLCPP_INFO(rclcpp::get_logger(LOGGER_NAME),
"Configuring command interface with command guard '%s'.",
command_guard_variant.c_str());
command_guard_ = command_guard_factory(command_guard_parameters, command_guard_variant);
};

Expand Down

0 comments on commit 9ff07e5

Please sign in to comment.