-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the axis_camera files, add a dependency on axis_description. A…
…dd a new meta-macro that uses the camera type
- Loading branch information
1 parent
ce2b511
commit e3be1f6
Showing
8 changed files
with
30 additions
and
394 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" ?> | ||
<robot xmlns:xacro="http://www.ros.org/wiki/xacro"> | ||
<xacro:include filename="$(find axis_description)/urdf/axis_dome_fixed.urdf.xacro"/> | ||
<xacro:include filename="$(find axis_description)/urdf/axis_dome_ptz.urdf.xacro"/> | ||
<xacro:include filename="$(find axis_description)/urdf/axis_q62.urdf.xacro"/> | ||
<xacro:macro name="axis_camera" params=" | ||
name | ||
parent_link | ||
*origin | ||
model:=dome_ptz | ||
topic | ||
"> | ||
<xacro:if value="${model == 'dome_fixed'}"> | ||
<xacro:axis_dome_fixed prefix="${name}" parent="${parent_link}" topic="${topic}"> | ||
<xacro:insert_block name="origin" /> | ||
</xacro:axis_dome_fixed> | ||
</xacro:if> | ||
<xacro:if value="${model == 'dome_ptz'}"> | ||
<xacro:axis_dome_ptz prefix="${name}" parent="${parent_link}" topic="${topic}"> | ||
<xacro:insert_block name="origin" /> | ||
</xacro:axis_dome_ptz> | ||
</xacro:if> | ||
<xacro:if value="${model == 'q62'}"> | ||
<xacro:axis_q62 prefix="${name}" parent="${parent_link}" topic="${topic}"> | ||
<xacro:insert_block name="origin" /> | ||
</xacro:axis_q62> | ||
</xacro:if> | ||
</xacro:macro> | ||
</robot> |
84 changes: 0 additions & 84 deletions
84
clearpath_sensors_description/urdf/axis_dome_fixed.urdf.xacro
This file was deleted.
Oops, something went wrong.
146 changes: 0 additions & 146 deletions
146
clearpath_sensors_description/urdf/axis_dome_ptz.urdf.xacro
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.