|
10 | 10 | isaac_joint_states:=/isaac_joint_states
|
11 | 11 | use_fake_hardware:=false
|
12 | 12 | mock_sensor_commands:=false
|
13 |
| - com_port:=/dev/ttyUSB0"> |
| 13 | + com_port:=/dev/ttyUSB0 |
| 14 | + gripper_speed_multiplier:=1.0 |
| 15 | + gripper_force_multiplier:=0.5 |
| 16 | + gripper_max_speed:=0.150 |
| 17 | + gripper_max_force:=235.0 |
| 18 | + gripper_closed_position:=0.7929"> |
14 | 19 |
|
15 | 20 | <ros2_control name="${name}" type="system">
|
16 | 21 | <!-- Plugins -->
|
|
35 | 40 | </xacro:if>
|
36 | 41 | <xacro:unless value="${use_fake_hardware or sim_gazebo or sim_isaac}">
|
37 | 42 | <plugin>robotiq_driver/RobotiqGripperHardwareInterface</plugin>
|
38 |
| - <param name="gripper_closed_position">0.7929</param> |
| 43 | + <param name="gripper_closed_position">${gripper_closed_position}</param> |
39 | 44 | <param name="COM_port">${com_port}</param>
|
40 |
| - <param name="gripper_speed_multiplier">1.0</param> |
41 |
| - <param name="gripper_force_multiplier">0.5</param> |
| 45 | + <param name="gripper_speed_multiplier">${gripper_speed_multiplier}</param> |
| 46 | + <param name="gripper_force_multiplier">${gripper_force_multiplier}</param> |
| 47 | + <param name="gripper_max_speed">${gripper_max_speed}</param> |
| 48 | + <param name="gripper_max_force">${gripper_max_force}</param> |
42 | 49 | </xacro:unless>
|
43 | 50 | </hardware>
|
44 | 51 |
|
|
47 | 54 | <joint name="${prefix}robotiq_85_left_knuckle_joint">
|
48 | 55 | <command_interface name="position" />
|
49 | 56 | <state_interface name="position">
|
50 |
| - <param name="initial_value">0.7929</param> |
| 57 | + <param name="initial_value">${gripper_closed_position}</param> |
51 | 58 | </state_interface>
|
52 | 59 | <state_interface name="velocity"/>
|
53 | 60 | </joint>
|
|
0 commit comments