# Desc: Device definitions # Author: Kallahar - kallahar@quickwired.com # Date: August 2005 # most of these are the defaults used in one of the example projects that came with pyro # defines the tutorial robot include "tut_pyro_1_world.inc" # defines 'map' object used for floorplans define map model ( color "black" gui_nose 0 gui_boundary 1 gui_grid 0 gui_movemask 0 ) # set the size of a pixel in meters unit_length "m" resolution 0.04 # configure the GUI window window ( size [ 662.000 654.000 ] # the size in the GUI center [0.221 -0.005] scale 0.025 ) # load an environment bitmap map ( bitmap "tut_pyro_1_world.png" # the background image to use size [16 16] # the width/height of the whole arena boundary 1 # 1=have a hard boundary name "cave" obstacle_return 0 ) # create a robot bot ( name "robot" # this has to be the name of the bot defined in tut_pyro_1_world.cfg color "red" # if you run multiple bots in the same arena, this can help differentiate them pose [2 1 0] # the direction it starts facing )