File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
2
<robot xmlns : xacro =" http://www.ros.org/wiki/xacro" >
3
3
4
- <xacro : macro name =" robotiq_sim_gripper_ros2_control" params =" name" >
4
+ <xacro : macro name =" robotiq_sim_gripper_ros2_control" params ="
5
+ name
6
+ sim_isaac:=false
7
+ use_fake_hardware:=false" >
8
+
5
9
<ros2_control name =" ${name}" type =" system" >
6
10
<hardware >
7
- <plugin >fake_components/GenericSystem</plugin >
11
+ <xacro : if value =" ${sim_isaac}" >
12
+ <plugin >isaac_ros2_control/IsaacSystem</plugin >
13
+ <param name =" joint_commands_topic" >/isaac_joint_commands</param >
14
+ <param name =" joint_states_topic" >/isaac_joint_states</param >
15
+ </xacro : if >
16
+ <xacro : if value =" ${use_fake_hardware}" >
17
+ <plugin >mock_components/GenericSystem</plugin >
18
+ <param name =" fake_sensor_commands" >${fake_sensor_commands}</param >
19
+ <param name =" state_following_offset" >0.0</param >
20
+ </xacro : if >
8
21
</hardware >
9
22
<joint name =" robotiq_85_left_knuckle_joint" >
10
23
<param name =" initial_position" >0.7929</param >
You can’t perform that action at this time.
0 commit comments