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

Message sent to turtlesim does not execute.

asked 2011-10-18 13:00:14 -0500

Paul0nc gravatar image

updated 2011-10-18 13:00:55 -0500

I am sending a velocity command message to turtlesim from a C++ program. If I put the message in my main(), it does not appear to execute even though it shows up as a rostopic. If I put the the message in a 'for' or 'while' loop for some number of iterations, it will execute. I thought that (according to the tutorials) that turtlesim executed each velocity command for one second. Can anyone tell me why a single command does not execute for the one second interval?

Running lucid, electric.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-10-20 22:37:15 -0500

Mimax gravatar image

Hi Paul, have a look at publish exactly one message..

This might be helpful

edit flag offensive delete link more

Question Tools


Asked: 2011-10-18 13:00:14 -0500

Seen: 264 times

Last updated: Oct 20 '11