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

Message sent to turtlesim does not execute.

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

Paul0nc gravatar image

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

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.

Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

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

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

Stats

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

Seen: 283 times

Last updated: Oct 20 '11