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

What are the subscribed topics of local planner from global planner?

asked 2018-02-13 00:42:12 -0600

malgudi gravatar image

updated 2018-02-13 01:28:42 -0600

jayess gravatar image

Who generates > nav_msg/Path local planner or global planner? If it is generated by global_planner then how local planner use it to avoid obstacle. Can we generate customized nav_msg/Path?? Actually how exactly the communication happens between global planner and local planner, using what topics or messages?

edit retag flag offensive close merge delete

Comments

I'm not sure, but it seems your question is at least partially answered by wiki/navigation/Tutorials/RobotSetup (Robot Setup section).

gvdhoorn gravatar image gvdhoorn  ( 2018-02-13 01:54:50 -0600 )edit

Is it black box?

malgudi gravatar image malgudi  ( 2018-02-13 02:15:20 -0600 )edit

Is it black box?

I don't understand what you're saying. The diagram under "Robot Setup" shows a (terse) overview of the communication between various parts of the navigation stack. I don't see any black boxes.

gvdhoorn gravatar image gvdhoorn  ( 2018-02-13 02:19:16 -0600 )edit
1

note that global and local planner are plugins that are loaded into a single node, move_base. So they don't actually communicate via Topics. They both have a defined API through which the respective Information is passed. They provide Topics e.g. for visualization as well as cmds, but that is it.

mgruhler gravatar image mgruhler  ( 2018-02-13 05:40:08 -0600 )edit

@mig is it through nav_core interfaces? Is there any extra information available on internet, journal or any book?

malgudi gravatar image malgudi  ( 2018-02-14 18:26:28 -0600 )edit
1
2

@mig: ROS Answers is for (new) users to get some guidance on how to approach and/or solve their problem(s).

Your contributions are very much appreciated, but I assume that if @mallikarjun knew what to search for he would've done that.

Perhaps you could extend your comment a bit and post an answer?

gvdhoorn gravatar image gvdhoorn  ( 2018-02-15 02:03:41 -0600 )edit
1

@gvdhoorn@mallikarjun sorry, if my comment was a bit harsh. it wasn't intended to be like that.

mgruhler gravatar image mgruhler  ( 2018-02-15 02:29:21 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-02-15 02:42:35 -0600

mgruhler gravatar image

updated 2018-02-15 02:44:02 -0600

I'll try to answer the questions in order.

All assuming you use the Standard move_base structure as linked to by @gvdhoorn above.

Who generates > nav_msg/Path local planner or global planner?

Both, but actually just for visualization. Typically on something like move_base/<PLANNER>/<local_/global_>plan topics. The local planner also generates a geometry_msgs/Twist message which provides the commanded velocities to the robot.

If it is generated by global_planner then how local planner use it to avoid obstacle.

It is passed from the global planner to the local planner through the nav_core Interfaces.

Can we generate customized nav_msg/Path??

Sure, as both local_planners and global_planners are plugins to move_base you can write your own plugin which creates the plan in a way that you want. Some more Information about how to do this can be found in the Tutorials or here, for example.

Actually how exactly the communication happens between global planner and local planner, using what topics or messages?

As stated above, this happens through the defined nav_core interfaces. For more Details, please refer to the API documentation on the wiki page.

Is it black box?

No, as this is, as all of ROS, OSS. Check the links to the API documentation as well as the github repos on the respective wiki pages.

edit flag offensive delete link more

Comments

Thank you very much.

malgudi gravatar image malgudi  ( 2018-02-15 18:13:25 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-02-13 00:42:12 -0600

Seen: 858 times

Last updated: Feb 15 '18