Ask Your Question

Turtlebot forward/backward movement inverted in rviz

asked 2012-04-19 23:36:50 -0500

bootsman gravatar image

We have been working with the "SLAM Map Building with TurtleBot" tutorial for a couple of days now. There is however a strange problem when moving the Turtlebot around; namely that is moves backwards in rviz when we are moving it forward and vica verse. Left and right movement seems to be acting normal, only forward and backward movement is inverted.

Does anyone happen to know why this could be happening?

Thanks in advance.

edit retag flag offensive close merge delete


Hi, I'm facing the same issue, can you please suggest what needs to be done?

AjayKumar gravatar image AjayKumar  ( 2021-12-17 02:08:33 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2012-04-23 18:06:45 -0500

Atom gravatar image

updated 2012-04-23 18:14:44 -0500

Sounds to me as though your teleop code may have been changed thus inverting the drive parameters. What packages are you using to drive your turtlebot around? If you are using the turtlebot_teleop node your Up=Forward should read 1.0 and Down=backwards should read -1.0. I would use rostopic echo to figure out what your teleop is publishing. Also what version of ros are you using?

edit flag offensive delete link more

answered 2012-04-24 01:47:10 -0500

karthik gravatar image

Hi, I have used turtlebot teleop mentioned in this turtorial which works fine for me without any issues. I guess it says to use the buttons u i o; j k l; m , .; as the keys to control the robot. Please check if the topic it publishes is correct or not. I may be wrong but are you simulating the robot or using a real one. How does the real robot move when you give these commands.

Thanks, Karthik

edit flag offensive delete link more

answered 2021-12-17 02:38:38 -0500

I believe u r working on actual turtlebot, not simulated one, invert the laser scanner, to opposite, and you'll be fine. :)

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


Asked: 2012-04-19 23:36:50 -0500

Seen: 1,141 times

Last updated: Apr 24 '12