]> rtime.felk.cvut.cz Git - hubacji1/simple-stage.git/commitdiff
Copy useful setup for floorplan from stage repo
authorJiri Vlasak <jiri.vlasak.2@cvut.cz>
Tue, 15 Jun 2021 10:40:31 +0000 (12:40 +0200)
committerJiri Vlasak <jiri.vlasak.2@cvut.cz>
Tue, 15 Jun 2021 10:51:50 +0000 (12:51 +0200)
worlds/map.inc [new file with mode: 0644]

diff --git a/worlds/map.inc b/worlds/map.inc
new file mode 100644 (file)
index 0000000..ab3008a
--- /dev/null
@@ -0,0 +1,37 @@
+# map.inc - useful setup for a floorplan bitmap
+# Authors: Richard Vaughan
+
+define floorplan model
+(
+       # sombre, sensible, artistic
+       color "gray30"
+
+       # most maps will need a bounding box
+       boundary 1
+
+       gui_nose 0
+       gui_grid 0
+       gui_move 0
+       gui_outline 0
+       gripper_return 0
+       fiducial_return 0
+
+       ranger_return 1
+       obstacle_return 1
+)
+
+define zone model
+(
+       color   "orange"
+       size [ 4 4 0.01 ]
+
+       gui_nose 0
+       gui_grid 0
+       gui_move 1
+       gui_outline 0
+
+       # insensible to collision and range sensors
+       obstacle_return 0
+       # transparent to range sensors
+       ranger_return -1
+)