Incorporating range sensing in the robot navigation function | Synapse