Ask Your Question
2

Move base global planners switching

asked 2012-07-03 02:28:09 -0500

fmarques gravatar image

Hi, After reading http://answers.ros.org/question/9888/switching-global-planner/

I've got some questions regarding the issue of switching global planner. As I can understand the global planner is a parameter of move_base, and it's displayed in the dynamic reconfigure but I cannot change it online?

I need to use different planners and different configurations controlled by a supervisor node. For now the options are:

Kill the move_base node and relaunch it ( roslaunch api ???)

Keep two move_base nodes online and simply reroute the goals.

Somehow change all parameters on the fly using dynamic_reconfigure.

Anyone has experience and doing something similiar, I think this would be a great addition to ros Navigation.

Thanks

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2012-07-03 04:19:31 -0500

joq gravatar image

The consensus answer to the question you linked was to write a supervisory planner that switches between other planners when needed. That would be done using a single move_base instance.

edit flag offensive delete link more

Comments

Thank you I did a simplified version of that( 2 planners only hard coded) works great

fmarques gravatar imagefmarques ( 2012-07-04 03:19:49 -0500 )edit

hi, @joq, I also want to implement same function. However, I can't understand what supervisory planner is and don't know how to implement it. I also asked question, please see this link

scopus gravatar imagescopus ( 2017-07-11 06:49:39 -0500 )edit
1

hi, @fmarques, Have you solved your question? would you like to answer my question? Thank you!

scopus gravatar imagescopus ( 2017-07-11 06:52:19 -0500 )edit
0

answered 2012-07-07 16:59:47 -0500

klapow gravatar image

While a supervisory node certainly works it should be noted that this can be achieved using dynamic_reconfigure either using the gui or a custom client that reconfigures the new planner when needed. The one caveat to this is that these parameters can not be reconfigured while the robot is in motion.

edit flag offensive delete link more

Comments

I've tried earlier with dynamic_reconfigure and the SBPL planner never inicialized. That's why a made the supervisory node. Because I also change alot of navigation parameters when I change the planner. Maybe I made a mistake in the dynamic reconfigure of the global planner

fmarques gravatar imagefmarques ( 2012-07-09 00:07:57 -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

Stats

Asked: 2012-07-03 02:28:09 -0500

Seen: 1,778 times

Last updated: Jul 07 '12