Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #266 from furushchev/use-arg
pr2.urdf.xacro: support xacro:arg
- Loading branch information
Showing
2 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
<launch> | ||
<arg name="KINECT1" default="$(optenv KINECT1 false)" /> | ||
<arg name="KINECT2" default="$(optenv KINECT2 false)" /> | ||
<!-- send pr2 urdf to param server --> | ||
<group> | ||
<param name="robot_description" command="$(find xacro)/xacro.py '$(find pr2_description)/robots/pr2.urdf.xacro'" /> | ||
<param name="robot_description" command="$(find xacro)/xacro.py '$(find pr2_description)/robots/pr2.urdf.xacro' KINECT1:=$(arg KINECT1) KINECT2:=$(arg KINECT2)" /> | ||
</group> | ||
</launch> |