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

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

Comments

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
0

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
1

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
0

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

Question Tools

Stats

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

Seen: 1,414 times

Last updated: Apr 24 '12