Home | Tutorials | Wiki | Issues
Ask Your Question
0

Turtlebot doesn't stop after killing the velocity command

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

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
0

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

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

Comments

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 -0600 )edit

Your tip worked for me. Thanks a lot!!

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

Question Tools

Stats

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

Seen: 1,368 times

Last updated: May 04 '14