-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added default args and changed gazebo entry
- Loading branch information
1 parent
5b17434
commit 9ba11cc
Showing
3 changed files
with
25 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,24 @@ | ||
<?xml version="1.0" ?> | ||
<robot name="baxter" xmlns:xacro="http://www.ros.org/wiki/xacro"> | ||
<!-- Arguments and Defaults--> | ||
<xacro:arg name="gazebo" default="false"/> | ||
<xacro:arg name="left_end_effector" default="true"/> | ||
<xacro:arg name="right_end_effector" default="true"/> | ||
|
||
<!-- Baxter Base URDF --> | ||
<xacro:include filename="$(find baxter_description)/urdf/baxter.urdf" /> | ||
<xacro:include filename="$(find baxter_description)/urdf/left_end_effector.urdf.xacro" /> | ||
<xacro:include filename="$(find baxter_description)/urdf/right_end_effector.urdf.xacro" /> | ||
<xacro:if value="$(arg gazebo)"> | ||
<xacro:include filename="$(find baxter_description)/urdf/gazebo/baxter.gazebo.xacro" /> | ||
</xacro:if> | ||
|
||
<!-- Left End Effector --> | ||
<xacro:if value="$(arg left_end_effector)"> | ||
<xacro:include filename="$(find baxter_description)/urdf/left_end_effector.urdf.xacro" /> | ||
</xacro:if> | ||
|
||
<!-- Right End Effector --> | ||
<xacro:if value="$(arg right_end_effector)"> | ||
<xacro:include filename="$(find baxter_description)/urdf/right_end_effector.urdf.xacro" /> | ||
</xacro:if> | ||
|
||
</robot> |
This file was deleted.
Oops, something went wrong.
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