ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Distance of a Robot to Obstacles in a Known Environment

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

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 -0600

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


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

Seen: 167 times

Last updated: Oct 09 '14