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

How does the DWA planner handle continuously updated goals?

asked 2018-07-25 11:07:01 -0600

xjman530 gravatar image

updated 2018-07-25 11:42:06 -0600

Hello! I would appreciate some assistance since I am pretty new to ROS. I am running ROS indigo with ubuntu 14.04.

I am continuously updating the goal position of my robot (arlo-bot). I am wondering how the DWA_Local_Planner, and even the Global Planner, handles trajectory (path) formulation if I continuously publish the goal before the robot reaches the goal (move_base_simple/goal topic). Does it simply ignore the previous goal and recomputes the optimal trajectory for the newest goal? Or does it query all the goals until it reaches each goal, acting like a planning path? I am trying to determine how to set up my code so the robot can make the smoothest and fastest transitions between goals so that it does not stop to re-calculate the trajectory for every updated goal.

Thank you.

edit retag flag offensive close merge delete

Comments

On the other hand, I'm also worried the robot will not move if you continuously send it an updated path plan. Is there away to just append a via-point to the current plan instead of sending the planner the entire path_plan over and over again? I'm afraid this is why the robot is not moving. Thanks.

xjman530 gravatar image xjman530  ( 2018-08-02 15:33:09 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2018-07-25 19:24:03 -0600

stevejp gravatar image

Does it simply ignore the previous goal and recomputes the optimal trajectory for the newest goal?

This is what will happen if you continuously send goals. The move_base simple action server will receive the new goal, send it to the global planner to generate your global plan, and then the global plan is passed off to the local planner for path following / obstacle avoidance etc. If you're looking for more flexibility in your navigation strategy, you should check out the move_base_flex package.

edit flag offensive delete link more

Comments

Do you think this the main cause that my robot will not move, because it just can't determine a path, or is it due to some other error in my code?

xjman530 gravatar image xjman530  ( 2018-08-02 15:35:11 -0600 )edit
0

answered 2020-11-03 02:18:06 -0600

darshb34 gravatar image

first setup dwa and navstack (movebase) to accept single goal and make it working.

Then use waypoint navigation package.

https://github.com/danielsnider/follo...

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2018-07-25 11:07:01 -0600

Seen: 679 times

Last updated: Nov 03 '20