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

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.

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

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

Stats

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

Seen: 191 times

Last updated: Oct 09 '14