Problems related to proper working of navigation stack in ROS

asked 2014-01-23 17:47:24 -0500

RB gravatar image

updated 2014-01-28 17:05:11 -0500

ngrennan gravatar image


I am using USARSim/ROS and I am able to move the robot through teleop and generate a map of the environment as well. I am using ROS fuerte with Ubuntu 10.04 with 4GB RAM machine.

Currently, I try to achieve the autonomous navigation using the tutorial I try to move autonomously in a known map using move_base, amcl and map_server.But, I am facing some trouble in achieving proper autonomous behavior.

  1. Whenever I set the the goal through rviz window, then robot doesn't go to that particular position instead it rotate for 2-3 seconds and move to other place and continues it's motion like this.


VIDEO 1 Showing successful achievement of goals

VIDEO 2 Difficult Goal where robot halts and doesn't go to new goal

VIDEO 3 Planner Error when teleop is also active along with move_base

*Robot doesn't move exactly along with the GLOBAL PLAN line and it do have some rotation while approaching the goal. *

Do you have any idea why it is happening?

Global Plan (Path),Local Plan (Path) and Planner are added in the rviz by going through the tutorial

I have included my detailed question in the following Link.

This problem may be due to parameter setting in different configuration files. But can anyone please tell what and where are the files and corresponding parameters that need to be looked into seriously.

Again is this a odometry problem?

Some screen shots are given which shows that error appear when teleop and autonomous navigation both exist

image description

Thanks for co-operation

edit retag flag offensive close merge delete


Usually rotating in place is a clearing behavior, meaning it can't find a valid path to the goal. To check this, visualize the local costmap (just click "add" in rviz and then "add by type" the local costmap. Let me know what you see with that.

Tim Sweet gravatar image Tim Sweet  ( 2014-01-25 06:46:25 -0500 )edit

@Tim Sweet, I have included one more video. What I observe is that the global plan works fine, since there is a line joining robot's position to goal position can be seen in the video as well. But, there is no sign that whether local planner works well or not. I have try to include obstacle and static map as well but those things is not visible in my rviz window? The goal position is very easy, since we have set it in front of its starting postion. Why it is taking too much time?

RB gravatar image RB  ( 2014-01-26 08:33:44 -0500 )edit

Hi, I finally achieve the goal when I stop teleop after moving around the environment and then launch move_base.launch. But sometimes it shows abnormal behavior as updated in the videos of the question.

RB gravatar image RB  ( 2014-01-27 17:46:24 -0500 )edit