Gazebo | Ignition | Community
Ask Your Question

Turtlebot doesn't stop after killing the velocity command

asked 2014-05-02 17:42:19 -0500

Robert gravatar image

Hi Everyone, I am running two turtlebots (kobuki) with gazebo1.9 and I provided command velocities to each turtlebot using “rostopic pub” command. I noticed that turtlebot keep moving after I killed the command velocity using “Control tab +c”. I am wondering if this anomaly is due to the inertia values for my turtlebot wheels or something else Thanks for any help with this issue

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2014-05-04 03:39:08 -0500

ffurrer gravatar image

Try to send a 0 velocity command.

rostopic pub /cmd_vel geometry_msgs/Twist '[0.0, 0.0, 0.0]' '[0.0, 0.0, 0.0]'

Not sure if this is the right command but give it a try or replace it with the right one and let me know.

Hope that works.

edit flag offensive delete link more


Thanks Ffurrer. I sent a 0 velocity command and the turtlebot stopped. Somebody mentioned the gazebo plugin might not have a timeout on incoming commands when they stop being published it may continue to execute the last received command.

Robert gravatar imageRobert ( 2014-05-05 10:35:41 -0500 )edit

Your tip worked for me. Thanks a lot!!

Robert gravatar imageRobert ( 2014-05-05 10:36:20 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2014-05-02 17:42:19 -0500

Seen: 1,688 times

Last updated: May 04 '14