Skip to content

Commit 73b56dd

Browse files
authored
Allow ros namespace to be specified (#85)
1 parent efd1ccf commit 73b56dd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ur_simulation_gz/urdf/ur_gz.urdf.xacro

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<xacro:arg name="safety_k_position" default="20"/>
2424

2525
<xacro:arg name="simulation_controllers" default="" />
26+
<xacro:arg name="ros_namespace" default="" />
2627

2728
<!-- create link fixed to the "world" -->
2829
<link name="world" />
@@ -73,6 +74,9 @@
7374
<gazebo>
7475
<plugin filename="gz_ros2_control-system" name="gz_ros2_control::GazeboSimROS2ControlPlugin">
7576
<parameters>$(arg simulation_controllers)</parameters>
77+
<ros>
78+
<namespace>$(arg ros_namespace)</namespace>
79+
</ros>
7680
</plugin>
7781
</gazebo>
7882

0 commit comments

Comments
 (0)