Laser configuration space. More...
Laser configuration space.
The lasercspace driver processes a laser scan to compute the configuration space (`C-space') boundary. That is, it shortens the range of each laser scan such that the resultant scan delimits the obstacle-free portion of the robot's configuration space. This driver is particular useful for writing obstacle avoidance algorithms, since the robot may safely move to any point in the obstacle-free portion of the configuration space.
Note that driver computes the configuration space for a robot of some fixed radius; this radius may be set in the configuration file.
driver ( name "sicklms200" provides ["laser:0"] port "/dev/ttyS0" ) driver ( name "lasercspace" requires ["laser:0"] # read from laser:0 provides ["laser:1"] # output results on laser:1 radius 0.5 )