Skip to content

Commit

Permalink
added gui section so that the world starts in a good place
Browse files Browse the repository at this point in the history
  • Loading branch information
rtv committed May 1, 2017
1 parent ffed6ca commit 9d7d4ad
Showing 1 changed file with 22 additions and 11 deletions.
33 changes: 22 additions & 11 deletions world/willow-erratic.world
@@ -1,6 +1,17 @@
window
(
size [ 635 666 ] # in pixels
scale 22.971 # pixels per meter
center [ -20.306 21.679 ]
rotate [ 0.000 0.000 ]

show_data 1 # 1=on 0=off
)


define block model
(
size [0.5 0.5 0.5]
size [0.500 0.500 0.500]
gui_nose 0
)

Expand All @@ -14,17 +25,17 @@ define topurg ranger

# generic model properties
color "black"
size [ 0.05 0.05 0.1 ]
size [ 0.050 0.050 0.100 ]
)

define erratic position
(
#size [0.415 0.392 0.25]
size [0.35 0.35 0.25]
origin [-0.05 0 0 0]
size [0.350 0.350 0.250]
origin [-0.050 0.000 0.000 0.000]
gui_nose 1
drive "diff"
topurg(pose [ 0.050 0.000 0 0.000 ])
topurg(pose [ 0.050 0.000 0.000 0.000 ])
)

define floorplan model
Expand All @@ -41,7 +52,7 @@ define floorplan model
gui_outline 0
gripper_return 0
fiducial_return 0
laser_return 1
ranger_return 1.000
)

# set the resolution of the underlying raytrace model in meters
Expand All @@ -52,7 +63,7 @@ interval_sim 100 # simulation timestep in milliseconds

window
(
size [ 745.000 448.000 ]
size [ 745 448 ]

rotate [ 0.000 -1.560 ]
scale 28.806
Expand All @@ -63,10 +74,10 @@ floorplan
(
name "willow"
bitmap "willow-full.pgm"
size [54.0 58.7 0.5]
pose [ -29.350 27.000 0 90.000 ]
size [54.000 58.700 0.500]
pose [ -29.350 27.000 0.000 90.000 ]
)

# throw in a robot
erratic( pose [ -11.277 23.266 0 180.000 ] name "era" color "blue")
block( pose [ -13.924 25.020 0 180.000 ] color "red")
erratic( pose [ -11.277 23.266 0.000 180.000 ] name "era" color "blue")
block( pose [ -13.924 25.020 0.000 180.000 ] color "red")

0 comments on commit 9d7d4ad

Please sign in to comment.