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

robot gets stuck in front of obstacle while using navigation stack

asked 2022-12-28 20:17:12 -0500

mirakim gravatar image

updated 2022-12-28 22:33:17 -0500

Hello,

I am working with navigation robot in obstacle situation, using navigation stack.

For the test, I put the robot, obstacle, target in the same line and see if it can avoid the obstacle and go to target, making a curve path.

As I anticipate, the navigation global path is made in a curve to avoid the obstacle. However, the local path does not follow the global path and make the robot get bumped to the obstacle while taking much time to escaping from it.

Is there any way to make the local path be aware of the global path?

Thanks in advance!!

edit retag flag offensive close merge delete

Comments

What do you mean when you say that the robot does not follow the path? Is it not moving at all, or is it moving incorrectly?

ljaniec gravatar image ljaniec  ( 2022-12-28 20:29:46 -0500 )edit

@ljaniec Yes It moves incorrectly! And I figured out that the path I uploaded is global path while the local path keeps ignoring the obstacle. So I change the topic from 'robot does not follow path in collision' to 'local path ignores obstacle'.

mirakim gravatar image mirakim  ( 2022-12-28 20:51:47 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-12-29 15:24:53 -0500

ljaniec gravatar image

@mirakim It would be helpful to see your YAML file with local planner configuration.

You can read more about parameters here: https://wiki.ros.org/base_local_plann...

If you are using TEB planner, check this: https://wiki.ros.org/teb_local_planner

If DW, the first link has a section about it.

The obstacles should be visible in the costmap, perhaps this piece of info is missing and is a source of error?

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-12-28 20:17:12 -0500

Seen: 156 times

Last updated: Dec 29 '22