-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
86c7588
commit 8cf5bda
Showing
10 changed files
with
76 additions
and
107 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
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
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
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,43 +1,47 @@ | ||
<?xml version='1.0'?> | ||
<robot name="rosbot" xmlns:xacro="http://www.ros.org/wiki/xacro"> | ||
|
||
<!-- Default arguments --> | ||
<xacro:arg name="use_sim" default="false" /> | ||
<xacro:arg name="use_gpu" default="false" /> | ||
<xacro:arg name="mecanum" default="false" /> | ||
<xacro:arg name="simulation_engine" default="" /> | ||
<xacro:arg name="tf_prefix" default="None" /> | ||
<xacro:property name="tf_prefix" value="$(arg tf_prefix)" /> | ||
<xacro:arg name="namespace" default="" /> | ||
<xacro:property name="namespace" value="$(arg namespace)" /> | ||
|
||
<xacro:if value="${tf_prefix == 'None'}"> | ||
<xacro:property name="tf_prefix_ext" value="" /> | ||
<xacro:if value="${namespace == ''}"> | ||
<xacro:property name="tf_prefix" value="" /> | ||
</xacro:if> | ||
<xacro:unless value="${ tf_prefix == 'None'}"> | ||
<xacro:property name="tf_prefix_ext" value="${tf_prefix}_" /> | ||
<xacro:unless value="${namespace == ''}"> | ||
<xacro:property name="tf_prefix" value="${namespace}_" /> | ||
</xacro:unless> | ||
|
||
<!-- Include rosbot_macro.urdf.xacro --> | ||
<xacro:include filename="$(find rosbot_description)/urdf/rosbot_macro.urdf.xacro" ns="husarion" /> | ||
<xacro:husarion.rosbot_robot | ||
mecanum="$(arg mecanum)" | ||
use_sim="$(arg use_sim)" | ||
use_gpu="$(arg use_gpu)" | ||
simulation_engine="$(arg simulation_engine)" | ||
tf_prefix="$(arg tf_prefix)" /> | ||
tf_prefix="${tf_prefix}" /> | ||
|
||
<!-- Include slamtec_rplidar_a2.urdf.xacro --> | ||
<xacro:include filename="$(find ros_components_description)/urdf/slamtec_rplidar_a2.urdf.xacro" ns="lidar" /> | ||
<xacro:lidar.slamtec_rplidar_a2 | ||
parent_link="${tf_prefix_ext}cover_link" | ||
parent_link="${tf_prefix}cover_link" | ||
xyz="0.02 0.0 0.0" | ||
rpy="0.0 0.0 0.0" | ||
use_gpu="$(arg use_gpu)" | ||
simulation_engine="$(arg simulation_engine)" | ||
tf_prefix="$(arg tf_prefix)" /> | ||
tf_prefix="${tf_prefix}" /> | ||
|
||
<!-- Include orbbec_astra.urdf.xacro --> | ||
<xacro:include filename="$(find ros_components_description)/urdf/orbbec_astra.urdf.xacro" ns="camera" /> | ||
<xacro:camera.orbbec_astra | ||
parent_link="${tf_prefix_ext}camera_link" | ||
parent_link="${tf_prefix}camera_link" | ||
xyz="0.0 0.0 0.0" | ||
rpy="0.0 0.0 0.0" | ||
simulation_engine="$(arg simulation_engine)" | ||
tf_prefix="$(arg tf_prefix)" /> | ||
tf_prefix="${tf_prefix}" /> | ||
|
||
</robot> |
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
Oops, something went wrong.