Ask Your Question
0

Inform move_base about blocked plan

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

agbj gravatar image

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

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 imagegvdhoorn ( 2017-05-08 05:23:27 -0600 )edit

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

agbj gravatar imageagbj ( 2017-05-08 05:27:50 -0600 )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 imagegvdhoorn ( 2017-05-08 11:26:51 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 117 times

Last updated: May 09 '17