This repository was archived by the owner on Feb 3, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 497
/
Copy pathray_test.world
70 lines (65 loc) · 1.64 KB
/
ray_test.world
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" ?>
<sdf version="1.4">
<world name="default">
<!-- A ground plane -->
<include>
<uri>model://ground_plane</uri>
</include>
<!-- A global light source -->
<include>
<uri>model://sun</uri>
</include>
<!-- a static object -->
<model name="cylinder_model">
<static>true</static>
<link name="cylinder_link">
<visual name="cylinder_visual">
<pose>0 0 0.5 0 0 0</pose>
<geometry>
<cylinder>
<radius>0.5</radius>
<length>1.0</length>
</cylinder>
</geometry>
</visual>
<collision name="cylinder_collision">
<pose>0 0 0.5 0 0 0</pose>
<geometry>
<cylinder>
<radius>0.5</radius>
<length>1.0</length>
</cylinder>
</geometry>
</collision>
</link>
</model>
<!-- a non-static object -->
<model name="box_model">
<static>false</static>
<pose>0 0.8 0 0 0 0</pose>
<link name="box_link">
<visual name="box_visual">
<pose>0 0 0.5 0 0 0</pose>
<geometry>
<box>
<size>1.0 1.0 1.0</size>
</box>
</geometry>
</visual>
<collision name="box_collision">
<pose>0 0 0.5 0 0 0</pose>
<geometry>
<box>
<size>1.0 1.0 1.0</size>
</box>
</geometry>
</collision>
</link>
</model>
<!-- a ray sensor -->
<include>
<uri>model://hokuyo</uri>
<pose>-1.0 0 0.5 0 0 0</pose>
</include>
</world>
</sdf>