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

replanning when the costmap is updated [closed]

asked 2015-06-12 08:59:41 -0500

Naman gravatar image

Hi all,

I am using move_base with default navfn global planner (A*) and TrajectoryPlannerROS as the local planner and I am having some problems with avoiding obstacles which are not in the map. The costmap is updated without any problem but it takes lot of time after that to come up with a new plan and sometimes because of that, the robot gets very close to the obstacle and gets stuck. I feel local_planner is informing the global_planner very late to come up with a new global plan. How can I make sure that the local_planner informs the global planner well in advance so that a new plan can be generated well in advance (assuming the costmap is updated)? I have tried changing different parameters: sim_time, controller_patience which helped but still I face the problem sometimes. Or maybe, how can the global_planner come up with a new global plan as soon as the costmap is updated with obstacles and the original global_plan will not work?

Let me know if you need more information from me. Any help will be appreciated.

Thanks in advance.
Naman Kumar

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Procópio
close date 2018-02-06 08:19:19.133413


I would take Progtologist's advice because your question reveals that you have not really done your homework on the subject.

kwiesz91 gravatar image kwiesz91  ( 2015-09-14 18:23:42 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2015-06-12 09:14:29 -0500

You should take a look at the navigation tutorials.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-06-12 08:59:41 -0500

Seen: 378 times

Last updated: Jun 12 '15