How to create a simple publisher to publish current time ?
Hello guys! I am a ros and cpp beginner and I have read the simple ros publisher tutorial given in the wiki. I want to create a simple publisher that can publish time every second. how can I modify the code given in the tutorial to do the same.