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

Turtlebot doesn't walk in a straight line

asked 2015-03-07 10:56:48 -0500

Leejamin gravatar image

There may be something wrong with one of the wheels of my TurtleBot. And it sometimes doesn't walk in a straight line but sometimes does. Are there any algorithms or nodes to monitor the topic which publishes the Twist message and the IMU data to make the TurtleBot walk matching the Twist message? Please help me.

edit retag flag offensive close merge delete



Do you use kobuki or create?

jihoonl gravatar image jihoonl  ( 2015-03-09 19:12:59 -0500 )edit

create. I have calibrated multiple times as well, converging to stable values for correction factors. Still it drifts away towards the left when I command it to move straight

Loneflyer gravatar image Loneflyer  ( 2015-10-20 22:37:10 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-03-09 13:26:20 -0500

Mark Silliman gravatar image

updated 2015-03-09 13:59:07 -0500

First calibrate it to fix major problems:

Traditionally you'd use MoveBaseGoal() instead of sending Twist messages. This will use AMCL to localize while moving forward allowing it to automatically "fix" some drifting etc.

Checkout some examples:

You can use "rostopic echo" to monitor everything TB is doing but I would consider this fairly intimidating when you're getting started.

edit flag offensive delete link more

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: 2015-03-07 10:56:48 -0500

Seen: 1,227 times

Last updated: Mar 09 '15