Skip to content

Commit

Permalink
Remove noisy controller log message (#859)
Browse files Browse the repository at this point in the history
It does not provide a lot of value, but is printed every time the
controllers are queried.

(cherry picked from commit 5b538e2)

Co-authored-by: Robert Wilbrandt <wilbrandt@fzi.de>
  • Loading branch information
mergify[bot] and RobertWilbrandt authored Oct 23, 2023
1 parent 9b74320 commit 83a084d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ur_controllers/src/gpio_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ controller_interface::CallbackReturn GPIOController::on_init()
// Create the parameter listener and get the parameters
param_listener_ = std::make_shared<gpio_controller::ParamListener>(get_node());
params_ = param_listener_->get_params();

} catch (const std::exception& e) {
fprintf(stderr, "Exception thrown during init stage with message: %s \n", e.what());
return CallbackReturn::ERROR;
Expand All @@ -63,7 +62,6 @@ controller_interface::InterfaceConfiguration GPIOController::command_interface_c
config.type = controller_interface::interface_configuration_type::INDIVIDUAL;

const std::string tf_prefix = params_.tf_prefix;
RCLCPP_INFO(get_node()->get_logger(), "Configure UR gpio controller with tf_prefix: %s", tf_prefix.c_str());

for (size_t i = 0; i < 18; ++i) {
config.names.emplace_back(tf_prefix + "gpio/standard_digital_output_cmd_" + std::to_string(i));
Expand Down

0 comments on commit 83a084d

Please sign in to comment.