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

Inform move_base about blocked plan

asked 2017-05-08 04:42:43 -0500

agbj gravatar image

updated 2017-05-08 10:49:06 -0500

I saw that we can signal move_base that the path is blocked in order to recalculate the global plan as quoted in the next sentence.

~planner_frequency (double, default: 0.0)

The rate in Hz at which to run the global planning loop. If the frequency is set to 0.0, the global planner will only run when a new goal is received or the local planner reports that its path is blocked.

My question is: what is the mechanism in the local planner to inform move base that the path is blocked?

Another question that comes to mind is the centralized architecture problem : If everything is controlled by the ROS master what happens if this entity fails? Does the ROS framework have control mechanisms to recover or stop everything if there is nothing that can be done to recover?

edit retag flag offensive close merge delete

Comments

1

It is bad form to ask two questions in one posting, but to respond to your 'ROS Master' question: the master is only used in initial setup of connections. It is an important component, but no data flows through it. So recovery is possible, but not automatic at this time.

gvdhoorn gravatar image gvdhoorn  ( 2017-05-08 05:23:27 -0500 )edit

Thank you. And if the master fails during the connections establishment?

agbj gravatar image agbj  ( 2017-05-08 05:27:50 -0500 )edit
1

I think you already know the answer: if the master is used during setup of all connections and it fails at that particular point in time, then setup of connections will not complete. Note that new subscriptions and svc reqs without persistent conx will always need the master, not just at init.

gvdhoorn gravatar image gvdhoorn  ( 2017-05-08 11:26:51 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-05-09 05:34:00 -0500

Akif gravatar image

For your first question (since it is also in the title), your local planner should return false from computeVelocityCommands method.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-05-08 04:42:43 -0500

Seen: 390 times

Last updated: May 09 '17