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

ROS2 Navigator should stop when robot cant reach goal

asked 2021-04-08 06:34:10 -0500

Rinkeeee96 gravatar image

updated 2021-04-08 09:13:40 -0500

Hey all,

I am working on an algorithm for automated reconnaissance. Its working very well, except when I'm sending it to coordinates it cant reach. For my use case this is fine, but the navigation should stop once it cant find a route to the goal pose. But it does not, the robot stays next to the wall and keeps trying. How can I configure it so the navigator stops?

Thanks in advance!

EDIT: log:

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2021-06-09 03:47:14 -0500

Rinkeeee96 gravatar image

To fix this i made my own progress checker as the built in one just did not seem to work.

edit flag offensive delete link more

answered 2021-04-08 06:43:31 -0500

Rayman gravatar image

You can configure SimpleProgressChecker to abort navigation when not enough progress is made:

edit flag offensive delete link more


Thanks for the tip! Ive been playing with these values but sadly its not working. This is the log from once the robot reaches the wall.

Rinkeeee96 gravatar image Rinkeeee96  ( 2021-04-08 09:13:30 -0500 )edit

Question Tools



Asked: 2021-04-08 06:34:10 -0500

Seen: 277 times

Last updated: Jun 09 '21