File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
whole_body_controllers/src Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ auto IKController::configure_parameters() -> controller_interface::CallbackRetur
119
119
};
120
120
121
121
auto count_interfaces = [](bool use_interface, const std::vector<std::string> & interface_names, std::size_t & n) {
122
- n += interface_names.size () ? use_interface : 0 ;
122
+ n += use_interface ? interface_names.size () : 0 ;
123
123
};
124
124
125
125
use_position_commands_ = has_interface (params_.command_interfaces , " position" );
@@ -143,11 +143,6 @@ auto IKController::on_configure(const rclcpp_lifecycle::State & /*previous_state
143
143
{
144
144
configure_parameters ();
145
145
146
- // NOLINTBEGIN
147
- RCLCPP_INFO (logger_, " Commands won't be sent until both reference and state messages are received." );
148
- RCLCPP_INFO (logger_, " Waiting for robot description to be received" );
149
- // NOLINTEND
150
-
151
146
reference_.writeFromNonRT (geometry_msgs::msg::Pose ());
152
147
vehicle_state_.writeFromNonRT (nav_msgs::msg::Odometry ());
153
148
You can’t perform that action at this time.
0 commit comments