Ask Your Question
0

static layer on local costmap

asked 2015-01-07 21:11:42 -0500

aswin gravatar image

updated 2015-01-07 22:27:37 -0500

Hi, I would like to use a static layer (in /map i.e. global frame) in the local costmap. So when the robot moves, I want the lethal obstacles in this static layer that are also in the local costmap, to be inflated. How do I do this?

I know static layers are usually added in the global costmap, but for a special case I want the local planner to access this information.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-01-08 01:46:57 -0500

fergs gravatar image

There are currently issues with the static_layer and rolling costmaps. A (unmerged) pull request that may fix this can be found here: https://github.com/ros-planning/navig... .

edit flag offensive delete link more

Comments

Doesnt seem to work, or maybe its trying to solve something else. For now, I havegot this to work in two ways:

1) Create a custom layer and mark all intersection points between a static layer and master layer

2) Publish the static map as a sensor(pointcloud) in /map frame for use by ObstacleLayer

aswin gravatar imageaswin ( 2015-01-08 23:21:17 -0500 )edit

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

Asked: 2015-01-07 21:11:42 -0500

Seen: 1,144 times

Last updated: Jan 08 '15