Skip to content

Commit

Permalink
Missed parantheses
Browse files Browse the repository at this point in the history
  • Loading branch information
VincidaB committed May 2, 2024
1 parent 4a510c0 commit 0d6f0ea
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ hardware_interface::CallbackReturn ActuatorsRpPicoHardware::on_init(
RCLCPP_FATAL(
rclcpp::get_logger("ActuatorsRpPicoHardware"),
"Joint '%s' has %zu command interfaces found. %i expected.", joint.name.c_str(),
joint.command_interfaces.size()), number_of_servos * 1;
joint.command_interfaces.size(), number_of_servos * 1);
return hardware_interface::CallbackReturn::ERROR;
}
// TODO verify if every servo has a command interface
Expand All @@ -81,7 +81,7 @@ hardware_interface::CallbackReturn ActuatorsRpPicoHardware::on_init(
RCLCPP_FATAL(
rclcpp::get_logger("ActuatorsRpPicoHardware"),
"Joint '%s' has %zu state interface. 1 per servo expected ie %i.", joint.name.c_str(),
joint.state_interfaces.size()), number_of_servos * 1;
joint.state_interfaces.size(), number_of_servos * 1);
return hardware_interface::CallbackReturn::ERROR;
}

Expand Down

0 comments on commit 0d6f0ea

Please sign in to comment.