Last change
on this file since 30 was
15,
checked in by wcaarls, 12 years ago
|
Imported webmap at revision 1169
|
File size:
1.1 KB
|
Rev | Line | |
---|
[15] | 1 | define block model |
---|
| 2 | ( |
---|
| 3 | size [0.5 0.5 0.5] |
---|
| 4 | gui_nose 0 |
---|
| 5 | ) |
---|
| 6 | |
---|
| 7 | define topurg ranger |
---|
| 8 | ( |
---|
| 9 | sensor( |
---|
| 10 | range [ 0.0 30.0 ] |
---|
| 11 | fov 270.25 |
---|
| 12 | samples 1081 |
---|
| 13 | ) |
---|
| 14 | |
---|
| 15 | # generic model properties |
---|
| 16 | color "black" |
---|
| 17 | size [ 0.05 0.05 0.1 ] |
---|
| 18 | ) |
---|
| 19 | |
---|
| 20 | define erratic position |
---|
| 21 | ( |
---|
| 22 | size [0.35 0.35 0.25] |
---|
| 23 | origin [-0.05 0 0 0] |
---|
| 24 | gui_nose 1 |
---|
| 25 | drive "diff" |
---|
| 26 | localization_origin [ 0 0 0 0 ] |
---|
| 27 | topurg(pose [ 0.050 0.000 0 0.000 ]) |
---|
| 28 | ) |
---|
| 29 | |
---|
| 30 | define floorplan model |
---|
| 31 | ( |
---|
| 32 | # sombre, sensible, artistic |
---|
| 33 | color "gray30" |
---|
| 34 | |
---|
| 35 | # most maps will need a bounding box |
---|
| 36 | boundary 1 |
---|
| 37 | |
---|
| 38 | gui_nose 0 |
---|
| 39 | gui_grid 0 |
---|
| 40 | |
---|
| 41 | gui_outline 0 |
---|
| 42 | gripper_return 0 |
---|
| 43 | fiducial_return 0 |
---|
| 44 | laser_return 1 |
---|
| 45 | ) |
---|
| 46 | |
---|
| 47 | # set the resolution of the underlying raytrace model in meters |
---|
| 48 | resolution 0.02 |
---|
| 49 | |
---|
| 50 | interval_sim 100 # simulation timestep in milliseconds |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | window |
---|
| 54 | ( |
---|
| 55 | size [ 745.000 448.000 ] |
---|
| 56 | |
---|
| 57 | rotate [ 0.000 0 ] |
---|
| 58 | scale 28.806 |
---|
| 59 | ) |
---|
| 60 | |
---|
| 61 | # load an environment bitmap |
---|
| 62 | floorplan |
---|
| 63 | ( |
---|
| 64 | name "willow" |
---|
| 65 | bitmap "background.pgm" |
---|
| 66 | size [54.0 58.7 0.5] |
---|
| 67 | pose [ 0 0 0 90.000 ] |
---|
| 68 | ) |
---|
| 69 | |
---|
| 70 | # throw in a robot |
---|
| 71 | erratic( pose [ 0 0 0 0.000 ] name "era" color "blue") |
---|
| 72 | erratic( pose [ 10 10 0 0.000 ] name "two" color "red") |
---|
Note: See
TracBrowser
for help on using the repository browser.