Skip to content

Commit

Permalink
Add base_footprint link with a simple circle visualization for Rviz
Browse files Browse the repository at this point in the history
  • Loading branch information
civerachb-cpr committed Aug 2, 2024
1 parent cf7a316 commit 5ab0bdc
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
18 changes: 18 additions & 0 deletions turtlebot4_description/urdf/lite/turtlebot4.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,22 @@
<xacro:oakd model="lite" parent_link="oakd_camera_bracket">
<origin xyz="${oakd_lite_x_offset} ${oakd_lite_y_offset} ${oakd_lite_z_offset}"/>
</xacro:oakd>

<!-- Base footprint for navigation -->
<link name="base_footprint">
<visual>
<geometry>
<cylinder length="0.001" radius="${0.335/2}"/>
</geometry>
<material name="dark_grey">
<color rgba="0.1 0.1 0.1 1"/>
</material>
</visual>
</link>
<joint name="base_footprint_joint" type="fixed">
<!-- Create3's base_link is already on the ground -->
<origin xyz="0 0 0" rpy="0 0 0" />
<parent link="base_link" />
<child link="base_footprint" />
</joint>
</robot>
17 changes: 17 additions & 0 deletions turtlebot4_description/urdf/standard/turtlebot4.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,21 @@
<origin xyz="${oakd_pro_x_offset} ${oakd_pro_y_offset} ${oakd_pro_z_offset}"/>
</xacro:oakd>

<!-- Base footprint for navigation -->
<link name="base_footprint">
<visual>
<geometry>
<cylinder length="0.001" radius="${0.335/2}"/>
</geometry>
<material name="dark_grey">
<color rgba="0.1 0.1 0.1 1"/>
</material>
</visual>
</link>
<joint name="base_footprint_joint" type="fixed">
<!-- Create3's base_link is already on the ground -->
<origin xyz="0 0 0" rpy="0 0 0" />
<parent link="base_link" />
<child link="base_footprint" />
</joint>
</robot>

0 comments on commit 5ab0bdc

Please sign in to comment.