Better wall avoidance.

This commit is contained in:
2016-06-21 13:33:57 -04:00
parent df09ae9dfe
commit 1283ccfff1
6 changed files with 68 additions and 31 deletions

View File

@@ -25,16 +25,14 @@ define ant_sensor sensor
(
size [0.01 0.05 0.01 ]
range [0 5.0]
fov 60
samples 1
fov 222
samples 222
color_rgba [ 0 1 0 0.2 ]
)
define ant_sonars ranger
(
ant_sensor( pose [ 0 0 0 -60 ] )
ant_sensor( pose [ 0 0 0 0 ] )
ant_sensor( pose [ 0 0 0 60 ] )
ant_sensor( pose [ 0 0 0 0 ] )
)
define ant_bot position