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

Navigation - combine static_map with dynamic obstacle detection?

asked 2014-05-27 12:04:30 -0500

Hendrik Wiese gravatar image

Hi guys,

another pretty short question. For the local planner I'd like to combine a static_map (a pgm file) with obstacle data received from a laser scanner. Both information should be accumulated into a local costmap. Is it enough to set the static_map parameter of the local costmap to true? Or does that mean that no dynamic obstacles are detected and avoided by the local planner anymore? Or will it take more than that?

Reason is hat some of the static obstacles are out of the range of my scanner (i.e. below its horizontal detection arc). They are there, I know where they are, they stay there and won't move. Definition of static. All I need the laser scanner for are moving obstacles that I certainly cannot add to the static map.

Thanks a lot!

Cheers, Hendrik

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-05-28 08:36:54 -0500

David Lu gravatar image

This is actually a needed feature for the navigation stack. The static map was originally only intended for use with the global costmap. Since the local map is usually in the odometry frame, if the robot was improperly localized, it would still be able to perform collision free local navigation.

However, as a result, I don't think you can use a static map well in the pre-hydro or post-hydro versions of navigation.

I've opened up an issue on github

edit flag offensive delete link more

Comments

So I assume this cannot be solved by, let's say, next Sunday? Or is there a quick'n'dirty solution that might work but is just untested? And what do you mean with pre- and post-hydro? What about hydro itself? //edit: I suppose I could use the pgm file with an appropriate costmap layer module, right?

Hendrik Wiese gravatar image Hendrik Wiese  ( 2014-05-28 11:16:50 -0500 )edit

For clarification, by post-hydro I meant hydro and the following versions.

David Lu gravatar image David Lu  ( 2014-06-13 17:27:02 -0500 )edit

Alright, thanks.

Hendrik Wiese gravatar image Hendrik Wiese  ( 2014-06-14 06:38:03 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2014-05-27 12:04:30 -0500

Seen: 2,002 times

Last updated: May 28 '14