Skip to content

Commit 9664af3

Browse files
committed
fix: change go2w wheel color to black
1 parent b545eb0 commit 9664af3

File tree

4 files changed

+52
-12
lines changed

4 files changed

+52
-12
lines changed

docs/imgs/unitree_go2w.png

-36.8 KB
Loading

source/robot_lab/data/Robots/unitree/go2w_description/meshes/left_wheel.dae

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,30 @@
1010
<unit name="meter" meter="1"/>
1111
<up_axis>Z_UP</up_axis>
1212
</asset>
13+
<library_effects>
14+
<effect id="黑色塑料_003-effect">
15+
<profile_COMMON>
16+
<technique sid="common">
17+
<lambert>
18+
<emission>
19+
<color sid="emission">0 0 0 1</color>
20+
</emission>
21+
<diffuse>
22+
<color sid="diffuse">0.023455 0.023455 0.023455 1</color>
23+
</diffuse>
24+
<index_of_refraction>
25+
<float sid="ior">1.45</float>
26+
</index_of_refraction>
27+
</lambert>
28+
</technique>
29+
</profile_COMMON>
30+
</effect>
31+
</library_effects>
32+
<library_materials>
33+
<material id="黑色塑料_003-material" name="黑色塑料.003">
34+
<instance_effect url="#黑色塑料_003-effect"/>
35+
</material>
36+
</library_materials>
1337
<library_cameras>
1438
<camera id="Camera-camera" name="Camera">
1539
<optics>

source/robot_lab/data/Robots/unitree/go2w_description/meshes/right_wheel.dae

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,30 @@
1010
<unit name="meter" meter="1"/>
1111
<up_axis>Z_UP</up_axis>
1212
</asset>
13+
<library_effects>
14+
<effect id="黑色塑料_003-effect">
15+
<profile_COMMON>
16+
<technique sid="common">
17+
<lambert>
18+
<emission>
19+
<color sid="emission">0 0 0 1</color>
20+
</emission>
21+
<diffuse>
22+
<color sid="diffuse">0.023455 0.023455 0.023455 1</color>
23+
</diffuse>
24+
<index_of_refraction>
25+
<float sid="ior">1.45</float>
26+
</index_of_refraction>
27+
</lambert>
28+
</technique>
29+
</profile_COMMON>
30+
</effect>
31+
</library_effects>
32+
<library_materials>
33+
<material id="黑色塑料_003-material" name="黑色塑料.003">
34+
<instance_effect url="#黑色塑料_003-effect"/>
35+
</material>
36+
</library_materials>
1337
<library_cameras>
1438
<camera id="Camera-camera" name="Camera">
1539
<optics>

source/robot_lab/data/Robots/unitree/go2w_description/urdf/go2w_description.urdf

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,7 @@
199199
<geometry>
200200
<mesh filename="package://go2w_description/meshes/left_wheel.dae" />
201201
</geometry>
202-
<material name="">
203-
<color rgba="1 1 1 1" />
204-
</material>
202+
<material name="黑色塑料_003-effect"><color rgba="0.023455 0.023455 0.023455 1" /></material>
205203
</visual>
206204
<collision>
207205
<origin rpy="0 0 0" xyz="0 0.0 0" />
@@ -361,9 +359,7 @@
361359
<geometry>
362360
<mesh filename="package://go2w_description/meshes/right_wheel.dae" />
363361
</geometry>
364-
<material name="">
365-
<color rgba="1 1 1 1" />
366-
</material>
362+
<material name="黑色塑料_003-effect"><color rgba="0.023455 0.023455 0.023455 1" /></material>
367363
</visual>
368364
<collision>
369365
<origin rpy="0 0 0" xyz="0 -0.0 0" />
@@ -524,9 +520,7 @@
524520
<geometry>
525521
<mesh filename="package://go2w_description/meshes/left_wheel.dae" />
526522
</geometry>
527-
<material name="">
528-
<color rgba="1 1 1 1" />
529-
</material>
523+
<material name="黑色塑料_003-effect"><color rgba="0.023455 0.023455 0.023455 1" /></material>
530524
</visual>
531525
<collision>
532526
<origin rpy="0 0 0" xyz="0 0.0 0" />
@@ -686,9 +680,7 @@
686680
<geometry>
687681
<mesh filename="package://go2w_description/meshes/right_wheel.dae" />
688682
</geometry>
689-
<material name="">
690-
<color rgba="1 1 1 1" />
691-
</material>
683+
<material name="黑色塑料_003-effect"><color rgba="0.023455 0.023455 0.023455 1" /></material>
692684
</visual>
693685
<collision>
694686
<origin rpy="0 0 0" xyz="0 -0.0 0" />

0 commit comments

Comments
 (0)