Ask Your Question
0

publishing data one after the other with constant time

asked 2015-04-25 14:01:59 -0500

run_vision gravatar image

updated 2015-04-25 14:35:52 -0500

gvdhoorn gravatar image

Hello,

I would like to publish data from the XML file using pugixml.I need to make the publication (content) one by one with constant time.For example after the publication of first data,it has to wait for 10 secs and then the second data should follow. Since i m in the beginner level in ROS,i don't know how to achieve this task?

Can anyone suggest an idea?

Thanks,

Best Regards, Annaiyan

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-04-26 09:51:24 -0500

kramer gravatar image

You should look at ROS Timers Overview and a tutorial.

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

1 follower

Stats

Asked: 2015-04-25 14:01:59 -0500

Seen: 77 times

Last updated: May 03 '15