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

Adding obstacles (lines) to costmap

asked 2014-01-06 16:29:48 -0500

orion gravatar image

updated 2014-01-28 17:07:19 -0500

ngrennan gravatar image

I have a vehicle that uses sbpl to travel through an environment. The vehicle uses lidar to populate the costmap during travel, but data may also be received through other means (visual, other vehicles). Is there a way to populate a costmap using other data?

Currently, I may have obstacle information such as x,y,z position as well as shape information (lenght, width, etc). The only way I can see how to populate the map at the moment is to generate a point cloud with the known obstacle information and then to publish that data.

Another question is whether there is a way to remove that same information from the costmap? For example, what if I travel through the environment near that previous target and find that it is actually not there or has moved?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-05-14 09:33:34 -0500

David Lu gravatar image

If you are using Hydro+, you can create a custom layer to include this information. Layered Costmap Tutorials

edit flag offensive delete link more

Comments

Is this possible in Groovy anyhow?

nanaky gravatar image nanaky  ( 2014-08-05 23:36:48 -0500 )edit

There's a fork of the navigation stack with layered costmaps for Groovy here: https://github.com/DLu/navigation/tree/groovy_dev However, the easier approach might be to just make a fake sensor that puts imaginary obstacles where you don't want the robot to go.

David Lu gravatar image David Lu  ( 2014-08-06 14:53:30 -0500 )edit

Question Tools

5 followers

Stats

Asked: 2014-01-06 16:29:48 -0500

Seen: 2,507 times

Last updated: May 14 '14