-
Notifications
You must be signed in to change notification settings - Fork 139
/
Copy pathwillow.world
77 lines (67 loc) · 1.38 KB
/
willow.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
define block model
(
size [0.5 0.5 0.75]
gui_nose 0
)
define topurg ranger
(
sensor
(
range_min 0.0
range_max 30.0
fov 270.25
samples 1081
)
# generic model properties
color "black"
size [ 0.05 0.05 0.1 ]
)
define pr2 position
(
size [0.65 0.65 0.25]
origin [-0.05 0 0 0]
gui_nose 1
drive "omni"
topurg(pose [0.275 0.000 0 0.000])
)
define floorplan model
(
# sombre, sensible, artistic
color "gray30"
# most maps will need a bounding box
boundary 1
gui_nose 0
gui_grid 0
#gui_movemask 0
gui_outline 0
gripper_return 0
fiducial_return 0
laser_return 1
)
# set the resolution of the underlying raytrace model in meters
resolution 0.01
interval_sim 100 # simulation timestep in milliseconds
#interval_real 100 # real-time interval between simulation updates in milliseconds
window
(
size [ 745.000 448.000 ]
#center [327.990 371.960]
#rotate [ 0.000 -1.560 ]
rotate [ 0.000 90.0 ]
scale 18.806
)
# load an environment bitmap
floorplan
(
name "willow"
bitmap "willow.pgm"
#size [58.05 45.625 1.0]
size [56.3 45.625 1.0]
#pose [-22.812 29.250 0 90.000]
pose [29.25 22.812 0 0.0]
)
# throw in a robot
#pr2( pose [-27.950 15.629 0 90.0] name "pr2" color "blue")
pr2( pose [15.629 27.950 0 90.0] name "pr2" color "blue")
#block( pose [ -27.924 13.020 0 0.000 ] color "red")
block( pose [ 13.020 27.924 0 0.000 ] color "red")