Closed VictorLamoine closed 9 years ago
Hi! Thanks for the pull request.
In a program that will be running longer, but only wants to publish this once at the beginning, the better option would be to use a latched publisher and just publish once at the beginning of the program. The latching option is not a solution here because the program terminates so quickly.
It may be worth update the tutorial with notes like this one, but if you don't have time to touch the wiki tutorial too, I can look at it later.
I updated the pull request. I didn't know about the latch option of the publishers thanks for the information.
I can update the tutorial and let you know when I'm done so you can proof-read.
If you address the comment above I think this is ready to merge. I would appreciate it if you could update the tutorial as well and I'll review it for you.
Thanks for your help!
Pull request updated and wiki modified; the wiki notification has been sent to IsaacSaito
(@130s)
I guess the wiki commit in question is http://wiki.ros.org/action/diff/rviz/Tutorials/Markers%3A%20Basic%20Shapes?action=diff&rev1=24&rev2=25
Looks good to me. Thanks for the help.
This checks whether a node has subscribed to the marker topic. The marker is not published until someone subscribes.
Related answers.ros.org topic.