Ask Your Question
0

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.

Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 164 times

Last updated: Oct 20 '11