Advertisement
Guest User

simple.world

a guest
Feb 2nd, 2012
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. # simple.world - basic world file example
  2. # Authors: Richard Vaughan
  3. # $Id$
  4.  
  5. include "pioneer.inc"
  6. include "map.inc"
  7. include "sick.inc"
  8.  
  9. # time to pause (in GUI mode) or quit (in headless mode (-g)) the simulation
  10. quit_time 3600 # 1 hour of simulated time
  11.  
  12. paused 0
  13.  
  14. resolution 0.02
  15. #gui_disable 0
  16. #gui_interval 100
  17.  
  18.  
  19. # configure the GUI window
  20. window
  21. (
  22. size [ 635.000 666.000 ] # in pixels
  23. scale 36.995 # pixels per meter
  24. center [ -0.040 -0.274 ]
  25. rotate [ 0 0 ]
  26.  
  27. show_data 1 # 1=on 0=off
  28. )
  29.  
  30. # load an environment bitmap
  31. floorplan
  32. (
  33. name "cave"
  34. size [16.000 16.000 0.800]
  35. pose [0 0 0 0]
  36. bitmap "bitmaps/cave.png"
  37. )
  38.  
  39.  
  40. pioneer2dx
  41. (
  42. # can refer to the robot by this name
  43. name "r0"
  44. pose [ -6.432 -5.895 0 0 ]
  45.  
  46. # pioneer2dx's sonars will be ranger:0 and the laser will be ranger:1
  47. sicklaser( pose [ 0 0 0 0 ] )
  48.  
  49. # demonstrate a plugin controller, implemented in examples/ctrl/wander.cc
  50. # you probably should comment this out when using simple.cfg with Player
  51. ctrl "/home/alex/Downloads/Stage-4.0.0-src-mine/examples/ctrl/test.so"
  52. #ctrl test
  53.  
  54. # report error-free position in world coordinates
  55. localization "gps"
  56. localization_origin [ 0 0 0 0 ]
  57. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement