File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 7
7
<xacro : arg name =" load_gripper" default =" true" />
8
8
<xacro : arg name =" gazebo" default =" true" />
9
9
<xacro : arg name =" arm_id" default =" panda" />
10
- <!-- <xacro:arg name="use_nominal_extrinsics" default="false"/> -->
11
10
12
11
<xacro : include filename =" $(find gmp_robot)/config/urdf/gmp.xacro" />
13
12
<xacro : gmp include_control_plugin =" true" multiple_robots =" true" />
27
26
use_fixed_camera =" $(arg use_fixed_camera)"
28
27
use_wrist_camera =" $(arg use_wrist_camera)"
29
28
use_bota =" $(arg use_bota)"
30
- include_control_plugin =" true" />
29
+ include_control_plugin =" true"
30
+ multiple_robots =" true" />
31
31
32
32
</robot >
Original file line number Diff line number Diff line change 21
21
fixed_calibration_xyz:='0.890 -0.162 1.293'
22
22
fixed_camera_parent_link:='panda_link0'
23
23
use_bota:=false
24
+ multiple_robots:=false
24
25
include_control_plugin:=true,
25
26
publish_realsense_extrinsics:=true" >
26
27
157
158
<plugin name =" gazebo_ros_control" filename =" libgazebo_ros_control.so" >
158
159
<controlPeriod >0.001</controlPeriod >
159
160
<robotSimType >franka_gazebo/FrankaHWSim</robotSimType >
160
- <robotNamespace >/panda</robotNamespace >
161
- <robotParam >robot_description_arm</robotParam >
162
- <robotDescription >robot_description_arm</robotDescription >
161
+ <xacro : if value =" ${multiple_robots}" >
162
+ <robotNamespace >/panda</robotNamespace >
163
+ <robotParam >robot_description_arm</robotParam >
164
+ <robotDescription >robot_description_arm</robotDescription >
165
+ </xacro : if >
163
166
</plugin >
164
167
<self_collide >true</self_collide >
165
168
</gazebo >
You can’t perform that action at this time.
0 commit comments