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

Make global plan that includes obstacles from local costmap

asked 2020-10-17 05:57:22 -0500

tropic gravatar image

updated 2020-10-17 05:58:31 -0500

Hi,

I have a navigation setup for a mobile robot. Local and global costmaps are running and navigation is working, however I would like to have the global planner replan when it sees obstacles in the local costmap. There are situations where it should come up with a new global plan because a pathway is blocked, but now the robot just stops. How can I make the global planner take local costmap obstacles into account if a pathway is blocked in order to generate a new global path?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2020-10-24 13:00:04 -0500

tropic gravatar image

The culprit in my case was the plugins defined in the local and global costmap yaml-files. After removing those plugins and just using the normal settings everything works as expected.

The robot now makes a new global plan when its initial pathway is blocked, see the video below: https://youtu.be/o6uR-MZ-jMY

edit flag offensive delete link more
0

answered 2020-10-17 09:58:27 -0500

JackB gravatar image

See this answer. Its sounds like they describe the same scenario you are encountering (particularly case 1) and has the config files for you to compare against.

edit flag offensive delete link more

Comments

Thank you for your suggestion. I tried that setup, and the specific settings do not work. I am not sure if those are the final settings run by that user, but it seems fundamentally wrong to set the local costmap to static, and some of the settings are redundant. If I run a similar setup the local costmap basically disappears and in won't help the global planner replan when the robot comes about a blocked pathway, unfortunately.

tropic gravatar image tropic  ( 2020-10-24 05:58:03 -0500 )edit

Question Tools

3 followers

Stats

Asked: 2020-10-17 05:57:22 -0500

Seen: 562 times

Last updated: Oct 24 '20