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

Using move_base to turn wheels?

asked 2012-08-12 08:51:58 -0500

bkim gravatar image

updated 2012-08-13 06:30:58 -0500

joq gravatar image


I am currently using move_base(with default local and global planners) to get the robot in the desired position. My problem is that when my robot(2 wheeled, built using real wheelchair) is told to move forward right or forward left, it is making a path that goes around too much to get there. In other words, if the robot is located at (0,0) and is commanded to move to (1,1), it is not turning its wheels enough to get there more directly and rather makes a curvy path with large radius than necessary. Is there a parameter that I can tweak to make the radius of path smaller?

I would appreciate any help, Thank you.

edit retag flag offensive close merge delete


I want to ask something, did you make sure that your motor controller followed the velocity commands sent by move_base(/cmd_vel topic) ?

cagatay gravatar image cagatay  ( 2012-08-12 11:13:57 -0500 )edit

Yes, I am sure I did otherwise the robot would not move at all. My problem is that the planners in move_base are planning paths that are too curvy (i.e. radius larger than necessary), and was wondering if there is anything I can do to make this smaller.

bkim gravatar image bkim  ( 2012-08-13 02:29:14 -0500 )edit

You should probably edit your question so it mentions which version of ROS you are using, and what OS.

joq gravatar image joq  ( 2012-08-13 06:31:58 -0500 )edit

@bkim: Could you post a rosbag of the robot while attempting to execute this plan? Also, include a screenshot of the paths planned and your navigation config files. Do you get curvy paths if you plan to a point further away (say [10,10])?

Eric Perko gravatar image Eric Perko  ( 2012-08-13 07:09:45 -0500 )edit

Check if You are using AMCL. Your Output seems to use some planning algorithm.

sunilsulania9192 gravatar image sunilsulania9192  ( 2012-08-15 22:09:36 -0500 )edit

Please post your answer (below), so people will know this question has been resolved.

joq gravatar image joq  ( 2012-09-01 06:18:23 -0500 )edit

@bkim's comment has been converted to an answer and I have marked it as accepted.

Eric Perko gravatar image Eric Perko  ( 2012-12-18 07:58:28 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-09-01 06:03:23 -0500

bkim gravatar image

Thank you all for your help guys. I found that it was the problem with the PID controller, which was written by some guy before me. PID controller was set such that it limits the gain in angular velocity - quite amused that move_base actually take PID parameters into account.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2012-08-12 08:51:58 -0500

Seen: 740 times

Last updated: Aug 12 '12