-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpioneer.world
77 lines (59 loc) · 1.48 KB
/
pioneer.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
71
72
73
74
75
76
77
# simple.world - basic world file example
# Authors: Richard Vaughan
# $Id$
include "/usr/local/share/stage/worlds/pioneer.inc"
include "alice.inc"
include "/usr/local/share/stage/worlds/map.inc"
include "/usr/local/share/stage/worlds/sick.inc"
# time to pause (in GUI mode) or quit (in headless mode (-g)) the simulation
quit_time 3600 # 1 hour of simulated time
paused 1
resolution 0.02
# configure the GUI window
window
(
size [ 635.000 666.000 ] # in pixels
scale 36.995 # pixels per meter
center [ -0.040 -0.274 ]
rotate [ 0 0 ]
show_data 1 # 1=on 0=off
)
# load an environment bitmap
floorplan
(
color "red"
name "three"
size [16.000 16.000 0.800]
pose [0 0 0 0]
bitmap "bitmaps/3walls.png"
obstacle_return 1
blob_return 1
)
# load an environment bitmap
floorplan
(
color "blue"
name "one"
size [16.000 0.800 0.800]
pose [0 7.6 0 0]
bitmap "bitmaps/1wall.png"
obstacle_return 1
#blob_return 1
fiducial_return 2
)
pioneer2dx
(
# can refer to the robot by this name
name "r0"
pose [ -6.946 -6.947 0 45.000 ]
# pioneer2dx's sonars will be ranger:0 and the laser will be ranger:1
sicklaser( pose [ 0 0 0 0 ] )
#eyes()
fiducial()
# demonstrate a plugin controller, implemented in examples/ctrl/wander.cc
# you probably should comment this out when using simple.cfg with Player
#ctrl "wander"
# report error-free position in world coordinates
localization "gps"
localization_origin [ 0 0 0 0 ]
)