Publisher Functions
ROS.getNumSubscribers — MethodgetNumSubscribers(publisher)Returns the number of subscribers that are currently connected to this Publisher.
ROS.getTopic — MethodgetTopic(publisher)Returns the topic that this Publisher will publish on.
ROS.isLatched — MethodisLatched(publisher)Returns whether or not this topic is latched.
ROS.publish — Methodpublish(publisher, msg)Publish a message on the topic associated with this Publisher.
ROS.shutdown — Methodshutdown(publisher)Shutdown the advertisement associated with this Publisher.