Skip to content

Commit a1c843a

Browse files
committed
explicitly add models to avoid errors
1 parent 90577db commit a1c843a

File tree

1 file changed

+40
-9
lines changed

1 file changed

+40
-9
lines changed

opennav_coverage_demo/world/blank.world

+40-9
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,45 @@
33
<!-- We use a custom world for the pioneer so that the camera angle is launched correctly -->
44

55
<world name="default">
6-
<include>
7-
<uri>model://ground_plane</uri>
8-
</include>
9-
10-
<!-- Global light source -->
11-
<include>
12-
<uri>model://sun</uri>
13-
</include>
14-
6+
<light name='sun' type='directional'>
7+
<cast_shadows>0</cast_shadows>
8+
<pose>0 0 10 0 0 0</pose>
9+
<diffuse>0.8 0.8 0.8 1</diffuse>
10+
<specular>0.8 0.8 0.8 1</specular>
11+
<attenuation>
12+
<range>1000</range>
13+
<constant>0.9</constant>
14+
<linear>0.01</linear>
15+
<quadratic>0.001</quadratic>
16+
</attenuation>
17+
<direction>-0.5 0.1 -0.9</direction>
18+
</light>
19+
<model name='ground_plane'>
20+
<static>1</static>
21+
<link name='link'>
22+
<collision name='collision'>
23+
<geometry>
24+
<plane>
25+
<normal>0 0 1</normal>
26+
<size>100 100</size>
27+
</plane>
28+
</geometry>
29+
<max_contacts>10</max_contacts>
30+
</collision>
31+
<visual name='visual'>
32+
<geometry>
33+
<plane>
34+
<normal>0 0 1</normal>
35+
<size>100 100</size>
36+
</plane>
37+
</geometry>
38+
<material>
39+
<ambient>0.8 0.8 0.8 1</ambient>
40+
<diffuse>0.8 0.8 0.8 1</diffuse>
41+
<specular>0.8 0.8 0.8 1</specular>
42+
</material>
43+
</visual>
44+
</link>
45+
</model>
1546
</world>
1647
</sdf>

0 commit comments

Comments
 (0)