Skip to content

Commit

Permalink
update interface names
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Gesel <[email protected]>
  • Loading branch information
pac48 committed Feb 14, 2024
1 parent fe05cdc commit 70167a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions robotiq_driver/src/hardware_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,13 +191,13 @@ std::vector<hardware_interface::CommandInterface> RobotiqGripperHardwareInterfac
info_.joints[0].name, hardware_interface::HW_IF_POSITION, &gripper_position_command_));

command_interfaces.emplace_back(
hardware_interface::CommandInterface(info_.joints[0].name, "gripper_speed", &gripper_speed_));
hardware_interface::CommandInterface(info_.joints[0].name, "set_gripper_max_velocity", &gripper_speed_));
gripper_speed_ = info_.hardware_parameters.count("gripper_speed_multiplier") ?
info_.hardware_parameters.count("gripper_speed_multiplier") :
1.0;

command_interfaces.emplace_back(
hardware_interface::CommandInterface(info_.joints[0].name, "gripper_effort", &gripper_force_));
hardware_interface::CommandInterface(info_.joints[0].name, "set_gripper_max_effort", &gripper_force_));
gripper_force_ = info_.hardware_parameters.count("gripper_force_multiplier") ?
info_.hardware_parameters.count("gripper_force_multiplier") :
1.0;
Expand Down

0 comments on commit 70167a2

Please sign in to comment.