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

Robot oscillating before stopping if an obstacle found in ros navigation setup

asked 2018-08-26 00:32:05 -0500

anadgopi1994 gravatar image

My robot is oscillating before stopping if an obstacle is found in the path. This is because, when the robot sees an obstacle, the planner still plan a path through the narrow gap around the obstacle through which the robot can not actually navigate. So how to make the planner not plan a path if the passage if very narrow and the controller should stop the robot. How to solve this problem in ROS navigation stack.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2018-08-26 18:28:48 -0500

fergs gravatar image

Would certainly help to have more information about your robot, and your move_base configuration -- but generally I would say: if the global planner is coming up with a path that the local_planner cannot actually follow (which is what it sounds like), you need to revisit your parameters.

I'd suggest looking closely at the robot inflation in both the global and local costmap -- they should probably be the same, or at least the global should probably be bigger than the local_costmap (since the global planner doesn't really take into account your base drive kinematics).

This tutorial has more about tuning the navigation stack.

edit flag offensive delete link more

Comments

Welcome back @fergs! :)

Martin Günther gravatar image Martin Günther  ( 2018-08-27 02:57:00 -0500 )edit

Thanks Martin!

fergs gravatar image fergs  ( 2018-08-27 10:24:41 -0500 )edit

I already added footprint of the robot in costmap_common_parameter file. I also added inflation radius in this file. So both local_costmap and global_costmap will use this information. Then why stiil the robot robot oscillation before stopping if it sees an obstacle in the path way.

anadgopi1994 gravatar image anadgopi1994  ( 2018-08-28 03:47:02 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-08-26 00:32:05 -0500

Seen: 616 times

Last updated: Aug 26 '18