File tree Expand file tree Collapse file tree 1 file changed +60
-10
lines changed
tutorial06/my-model-dir/robot-lab Expand file tree Collapse file tree 1 file changed +60
-10
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
2
<sdf version =" 1.6" >
3
- <model name =" robot-lab" >
3
+ <world name =" robot-lab" >
4
+ <light name =" sun" type =" directional" >
5
+ <direction >0.5 0.1 -0.9</direction >
6
+ <pose >0 0 10 0 0 0</pose >
7
+ <specular >0.2 0.2 0.2 1</specular >
8
+ <cast_shadows >true</cast_shadows >
9
+ <diffuse >0.8 0.8 0.8 1</diffuse >
10
+ <attenuation >
11
+ <range >1000</range >
12
+ <quadratic >0.001</quadratic >
13
+ <constant >0.9</constant >
14
+ <linear >0.01</linear >
15
+ </attenuation >
16
+ </light >
17
+ <model name =" walls" >
4
18
<static >true</static >
5
- <link name =" 1_link" >
6
- <collision name =" 1_col" >
19
+ <link name =" 1_link" >
20
+ <collision name =" 1_col" >
7
21
<geometry >
8
22
<mesh >
9
- <uri >model://robot-lab/shape/heightmap.stl</uri >
23
+ <uri >model://robot-lab/shape/heightmap.stl</uri >
10
24
</mesh >
11
25
</geometry >
12
- </collision >
13
- <visual name =" 1_vis" >
26
+ </collision >
27
+ <visual name =" 1_vis" >
14
28
<geometry >
15
29
<mesh >
16
- <uri >model://robot-lab/shape/heightmap.stl</uri >
30
+ <uri >model://robot-lab/shape/heightmap.stl</uri >
17
31
</mesh >
18
32
</geometry >
19
- </visual >
33
+ </visual >
34
+ <pose >0 0 0 0 0 0</pose >
35
+ </link >
20
36
<pose >0 0 0 0 0 0</pose >
21
- </link >
22
- </model >
37
+ </model >
38
+ <model name =" floor" >
39
+ <link name =" 1_link" >
40
+ <collision name =" 1_col" >
41
+ <geometry >
42
+ <box >
43
+ <size >200 200 0.02</size >
44
+ </box >
45
+ </geometry >
46
+ </collision >
47
+ <visual name =" 1_vis" >
48
+ <geometry >
49
+ <box >
50
+ <size >200 200 0.02</size >
51
+ </box >
52
+ </geometry >
53
+ </visual >
54
+ <pose >0 0 -0.01 0 0 0</pose >
55
+ </link >
56
+ <static >true</static >
57
+ <pose >0 0 0 0 0 0</pose >
58
+ </model >
59
+ <physics type =" ode" >
60
+ <real_time_update_rate >333.0</real_time_update_rate >
61
+ <max_step_size >0.003</max_step_size >
62
+ <ode >
63
+ <constraints >
64
+ <cfm >0.0001</cfm >
65
+ </constraints >
66
+ <solver >
67
+ <type >quick</type >
68
+ <iters >100</iters >
69
+ </solver >
70
+ </ode >
71
+ </physics >
72
+ </world >
23
73
</sdf >
You can’t perform that action at this time.
0 commit comments