Skip to content

Commit e8584d5

Browse files
committed
Change cover plate color to black
1 parent e9f83c0 commit e8584d5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

rosbot_description/urdf/rosbot/body.urdf.xacro

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
<material name="Black">
2222
<color rgba="0.1 0.1 0.1 1.0" />
2323
</material>
24+
<gazebo reference="body_link">
25+
<material>Gazebo/Black</material>
26+
</gazebo>
2427
</visual>
2528

2629
<collision>
@@ -38,9 +41,6 @@
3841
<origin xyz="0.0 0.0 ${0.040 - 0.02}" rpy="0.0 0.0 0.0" />
3942
</inertial>
4043
</link>
41-
<gazebo reference="body_link">
42-
<material>Gazebo/Black</material>
43-
</gazebo>
4444

4545
<joint name="body_to_cover_joint" type="fixed">
4646
<origin xyz="0.0 0.0 0.0603" rpy="0.0 0.0 0.0" />
@@ -54,13 +54,13 @@
5454
<mesh filename="package://rosbot_description/meshes/rosbot/cover.stl" scale="0.001 0.001 0.001" />
5555
</geometry>
5656
<origin xyz="0.0 0.0 -0.002" rpy="${pi/2} 0.0 ${pi/2}" />
57-
<material name="Red">
58-
<color rgba="0.8 0.0 0.0 1.0" />
57+
<material name="Black">
58+
<color rgba="0.1 0.1 0.1 1.0" />
5959
</material>
60+
<gazebo reference="cover_link">
61+
<material>Gazebo/Black</material>
62+
</gazebo>
6063
</visual>
61-
<gazebo reference="cover_link">
62-
<material>Gazebo/Red</material>
63-
</gazebo>
6464
</link>
6565

6666
<joint name="body_to_imu_joint" type="fixed">

0 commit comments

Comments
 (0)