diff --git a/robotiq_description/config/robotiq_controllers.yaml b/robotiq_description/config/robotiq_controllers.yaml index 588ec21..969bba9 100644 --- a/robotiq_description/config/robotiq_controllers.yaml +++ b/robotiq_description/config/robotiq_controllers.yaml @@ -3,17 +3,29 @@ controller_manager: update_rate: 500 # Hz joint_state_broadcaster: type: joint_state_broadcaster/JointStateBroadcaster + # Jazzy and newer: parallel_gripper_action_controller replaces gripper_controllers package robotiq_gripper_controller: - type: position_controllers/GripperActionController + type: parallel_gripper_action_controller/GripperActionController robotiq_activation_controller: type: robotiq_controllers/RobotiqActivationController robotiq_gripper_controller: ros__parameters: - default: true joint: robotiq_85_left_knuckle_joint - use_effort_interface: true - use_speed_interface: true + + # Enable effort control (replacement for use_effort_interface) + max_effort_interface: "robotiq_85_left_knuckle_joint/effort" + max_effort: 50.0 # TODO tune + + # Enable velocity/speed control (replacement for use_speed_interface) + max_velocity_interface: "robotiq_85_left_knuckle_joint/velocity" + max_velocity: 0.5 # TODO tune + + # Optional (recommended) + state_interfaces: ["position", "velocity"] + allow_stalling: true + stall_timeout: 0.05 + goal_tolerance: 0.02 robotiq_activation_controller: ros__parameters: diff --git a/robotiq_description/package.xml b/robotiq_description/package.xml index d93ba84..d4ef233 100644 --- a/robotiq_description/package.xml +++ b/robotiq_description/package.xml @@ -22,8 +22,8 @@ ros2_control ros2_controllers - gripper_controllers joint_state_broadcaster + parallel_gripper_controller ament_lint_auto ament_lint_common