From: Jiri Vlasak Date: Tue, 15 Jun 2021 10:40:31 +0000 (+0200) Subject: Copy useful setup for floorplan from stage repo X-Git-Url: http://rtime.felk.cvut.cz/gitweb/hubacji1/simple-stage.git/commitdiff_plain/f2af81223522fff34484add426676d9ab14ab835 Copy useful setup for floorplan from stage repo --- diff --git a/worlds/map.inc b/worlds/map.inc new file mode 100644 index 0000000..ab3008a --- /dev/null +++ b/worlds/map.inc @@ -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 +)