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

How to pause a mobile robot during navigation?

asked 2015-12-30 04:54:05 -0600

somebodyus gravatar image

Dear all,

How to pause a mobile robot during navigation? How to make the robot restore after the pause?

In my application, I expect the robot can pause for some while after I set the navigation goal. And restore into the navigation process after the pause.

I am now using turtlebot with ROS navigation stack.

Best Regards, Jack

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2016-01-08 09:27:56 -0600

mgruhler gravatar image

AFAIK, this is not currently not possible with the navigation stack.

What do you mean by "pause"? Just standing still?

If yes, there are several ways how to do this. IMHO, the prefered one would probably be do implement a service in the base controller which let's you de/activate reacting to any velocity commands from the navigation stack.

If you need to drive around, you could use the twist_mux node and have something with higher priority then the navigation but lower then what else you need, which is sending zeros.

edit flag offensive delete link more

Comments

@mgruhler: As far as I understand, even if command velocities are being pulled down with twist_mux, the local planner will still keep on replanning. And eventually, this will lead to a series of recovery behaviors, on exhausting of which, the goal will be getting failed.

rajmohan747 gravatar image rajmohan747  ( 2020-12-14 00:49:24 -0600 )edit

You might be right. Though I'm not entirely sure what triggers the recovery behaviors. I thought this would be triggered if the local planner doesn't find a valid path due to obstacles. But other things might factor into this as well.

mgruhler gravatar image mgruhler  ( 2020-12-14 01:15:05 -0600 )edit

Question Tools

Stats

Asked: 2015-12-30 04:54:05 -0600

Seen: 1,210 times

Last updated: Jan 08 '16