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

Gazebo: Turtlebot dont drive straight forward/ Odometry wheel velocity

asked 2017-10-09 07:44:38 -0500

Baumboon gravatar image

updated 2017-10-11 08:16:53 -0500

Hello Guys,

I have encountered the problem that my Turtlebot didn't drive really straight and he also have some problems with the rotation. After a short period the robot loose the straight path and he drifts away more and more. I use the turtlebot from the turtlebot package in gazebo.

I create a Twist msgs: self.cmd_vel = rospy.Publisher('cmd_vel_mux/input/navi', Twist, queue_size=10) and then i set a linear speed: move_cmd = Twist() move_cmd.linear.x = 0.1 move_cmd.angular.z = 0

Is there a way to drive straight with no deviation?

How can i publish the wheel velocity of my turtlebot maybe the wheels have a different velocity?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-02-22 22:50:46 -0500

I would use a feedback loop of some sort. Measure real speed vs commanded speed possibly?

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-10-09 07:44:38 -0500

Seen: 394 times

Last updated: Feb 22 '18