diff --git a/forward_command_controller/src/chainable_forward_controller.cpp b/forward_command_controller/src/chainable_forward_controller.cpp index e1ffa0553b..25a247dd2e 100644 --- a/forward_command_controller/src/chainable_forward_controller.cpp +++ b/forward_command_controller/src/chainable_forward_controller.cpp @@ -41,7 +41,6 @@ controller_interface::CallbackReturn ChainableForwardController::on_configure( const rclcpp_lifecycle::State & previous_state) { auto ret = execute_configure(previous_state, command_interfaces_); - RCLCPP_ERROR(get_node()->get_logger(), "Configure is successful, now tryting configure ref_itfs"); if (ret != CallbackReturn::SUCCESS) { return ret; @@ -53,11 +52,6 @@ controller_interface::CallbackReturn ChainableForwardController::on_configure( reference_interfaces_.resize( reference_interface_names_.size(), std::numeric_limits::quiet_NaN()); - for (const auto & value : reference_interfaces_) - { - RCLCPP_ERROR(get_node()->get_logger(), "Reference interface value is %f", value); - } - return CallbackReturn::SUCCESS; } @@ -124,6 +118,8 @@ controller_interface::return_type ChainableForwardController::update_reference_f { reference_interfaces_ = (*joint_commands)->data; } + + return controller_interface::return_type::OK; } controller_interface::return_type ChainableForwardController::update_and_write_commands(