Robot oscillating before stopping if an obstacle found in ros navigation setup
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.