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

publishing data one after the other with constant time

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

run_vision gravatar image

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

gvdhoorn gravatar image


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?


Best Regards, Annaiyan

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

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

kramer gravatar image

You should look at ROS Timers Overview and a tutorial.

edit flag offensive delete link more

Question Tools

1 follower


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

Seen: 112 times

Last updated: May 03 '15