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

move_base without base_local_planner

asked 2015-05-20 17:43:44 -0600

ebeowulf gravatar image

I have an alternative navigation package that generates cmd_vel messages given the plans published on /move_base/NavfnROS/plan. I already redirected topics and everything runs well... but there is a lot of wasted overhead processing in move_base. What is the best method for stripping move base of its local planner?

A couple more specifics: 1) We are using the default global planner ("navfn/NavfnROS") 2) We want to use both the global and local costmaps to produce a plan

Should I be: A) stripping the base_local_planner from the source code? B) write a separate planning node from scratch C) maybe there is a parameter I can set? D) something else?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-05-21 02:31:51 -0600

daenny gravatar image

I think the easiest solution would be to still use move base, but only use the Service Call to create the plans

~make_plan

As described here (1.1.5): http://wiki.ros.org/move_base

Then move_base will still generate the plan based on the local and global costmap, but not execute the plan, and your node can use it to navigate. You could additionally create a "fake local planner" code, which essentially does nothing to reduce some of the memory of move_base, but I am not sure how much effect that would have, since it should never be executed anyway.

edit flag offensive delete link more

Comments

I didn't think about the Service Call - although the node mentioned by David may work as well (haven't tried it yet), the service call solves one of my other problems where move base fails in the middle of executing a plan

ebeowulf gravatar image ebeowulf  ( 2015-05-22 14:01:01 -0600 )edit
0

answered 2015-05-21 11:09:23 -0600

David Lu gravatar image

There are individual nodes that you can run as well. Try using the navfn_node in the navfn package and the costmap_2d_node in the costmap_2d.

edit flag offensive delete link more

Comments

How do you configure the Costmap2DROS to work with navfn in code? I need to give a goal to navfn and obtain its planned path. I have opened a question here: navfn question

RND gravatar image RND  ( 2015-06-18 07:47:09 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-05-20 17:43:44 -0600

Seen: 1,738 times

Last updated: May 21 '15