ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Distance of a Robot to Obstacles in a Known Environment

asked 2014-10-08 20:03:40 -0500

ROSCMBOT gravatar image

I know this is not a trivial question, but Is there a way in ROS to compute the distance of a robot to the closest obstacle in a known environment.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-10-09 10:40:54 -0500

David Lu gravatar image

Right now, the inflation layer has functionality to figure out how far any point in the costmap is from the closest obstacle. It could extended to just output the distance. This might be the best approach, depending on what kind of application you're looking for.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-10-08 20:03:40 -0500

Seen: 191 times

Last updated: Oct 09 '14