Publisher Functions

ROS.getNumSubscribers — Method
getNumSubscribers(publisher)

Returns the number of subscribers that are currently connected to this Publisher.

source
ROS.getTopic — Method
getTopic(publisher)

Returns the topic that this Publisher will publish on.

source
ROS.isLatched — Method
isLatched(publisher)

Returns whether or not this topic is latched.

source
ROS.publish — Method
publish(publisher, msg)

Publish a message on the topic associated with this Publisher.

source
ROS.shutdown — Method
shutdown(publisher)

Shutdown the advertisement associated with this Publisher.

source