ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A
Ask Your Question

robot goes straight to the goal when it is at its left, but always rotates in the wrong direction when the goal is at its right

asked 2013-09-24 04:11:52 -0500

micmac gravatar image

updated 2013-09-24 04:13:37 -0500


I have a non holonomic robot, a neato XV-11 base equipped with an asus xtion pro live (kinect equivalent).

I have set up the navigation stack, and am using TrajectoryPlannerROS as a base local planner, with DWA set to true.

The path planning and obstacle inflation work good (as can be seen in RViz), but when it moves my robot shows a weird behavior:

Lets say the robot is pointing towards some direction. If I set the goal in rviz somewhere further but on the left side of the robot, it goes straight to the goal, with a tendency to overturn a bit too much on the left while doing so. Then when the goal is reached, it rotates correctly to head to the goal direction.

But when I set the goal somewhere further but on the right side, the robot will not start to advance or turn towards the goal immediately, it would slowly turn in the wrong direction (so rotating to the left) until it makes a full turn and then starts to move, and reaches the goal correctly.

So it seems that all movements tend to overturn to the left.

I have checked all my transforms (is the laser transform from the base positionned correctly? and so on...), I have also checked the odometry (sending simple goals like moving forward 1 meter, and checking the rostopic echo output of /odom) but did not found anything wrong.

AMCL also seems to work nicely, as the laser more or less always catches the contour of the given map.

I'd be glad and thankful to your suggestions.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-09-27 03:47:38 -0500

micmac gravatar image

Ok it was a problem of base local planner parameters, I could not pinpoint the exact ones yet, but probably velocity/acceleration constraints. I copied the base local planner parameters from a previous configuration, and now it works.

edit flag offensive delete link more



Hello @micmac , I have the same problem, can you please share the configuration file

AmiraJr gravatar imageAmiraJr ( 2014-08-10 05:10:14 -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

1 follower


Asked: 2013-09-24 04:11:52 -0500

Seen: 622 times

Last updated: Sep 27 '13