Skip to content
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions go2_gazebo_sim/go2_description/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,21 @@ install(DIRECTORY
DESTINATION
share/${PROJECT_NAME})

install(DIRECTORY
models
DESTINATION
share/${PROJECT_NAME})

install(DIRECTORY
models
DESTINATION
share/${PROJECT_NAME})
Copy link

Copilot AI Dec 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The models directory is installed twice (lines 29-32 and 34-37). Remove the duplicate installation directive to avoid redundancy.

Suggested change
install(DIRECTORY
models
DESTINATION
share/${PROJECT_NAME})

Copilot uses AI. Check for mistakes.

install(DIRECTORY
tags
DESTINATION
share/${PROJECT_NAME})



ament_package()
13 changes: 13 additions & 0 deletions go2_gazebo_sim/go2_description/models/aruco_marker/model.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0"?>
<model>
<name>aruco_marker</name>
<version>1.0</version>
<sdf version="1.6">model.sdf</sdf>
<author>
<name>OpenMind</name>
<email>hello@openmind.com</email>
</author>
<description>
An ArUco marker for auto docking.
</description>
</model>
32 changes: 32 additions & 0 deletions go2_gazebo_sim/go2_description/models/aruco_marker/model.sdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" ?>
<sdf version="1.6">
<model name="aruco_marker">
<static>true</static>
<link name="link">
<collision name="collision">
<geometry>
<box>
<size>0.2 0.01 0.2</size>
</box>
</geometry>
</collision>
<visual name="visual">
<geometry>
<box>
<size>0.2 0.01 0.2</size>
</box>
</geometry>
<material>
<ambient>1 1 1 1</ambient>
<diffuse>1 1 1 1</diffuse>
<specular>0 0 0 1</specular>
<pbr>
<metal>
<albedo_map>../../tags/apriltags.png</albedo_map>
</metal>
</pbr>
</material>
</visual>
</link>
</model>
</sdf>
Binary file added go2_gazebo_sim/go2_description/tags/apriltags.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading