Ask Your Question
0

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: https://ibb.co/qkfggyX

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

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
0

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

Rayman gravatar image

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

https://navigation.ros.org/configurat...

edit flag offensive delete link more

Comments

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. https://ibb.co/qkfggyX

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

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: 2021-04-08 06:34:10 -0500

Seen: 58 times

Last updated: Jun 09