class documentation

class Subscribe(Capability):

Constructor: Subscribe(protocol)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method finish Undocumented
Method publish Publish a message to the client
Method subscribe Undocumented
Method unsubscribe Undocumented
Class Variable subscribe_msg_fields Undocumented
Class Variable topics_glob Undocumented
Class Variable unsubscribe_msg_fields Undocumented
Instance Variable _subscriptions Undocumented
def __init__(self, protocol):

Undocumented

def finish(self):

Undocumented

def publish(self, topic, message, fragment_size=None, compression='none'):

Publish a message to the client

Keyword arguments: topic -- the topic to publish the message on message -- a ROS message wrapped by OutgoingMessage fragment_size -- (optional) fragment the serialized message into msgs with payloads not greater than this value compression -- (optional) compress the message. valid values are 'png' and 'none'

def subscribe(self, msg):

Undocumented

def unsubscribe(self, msg):

Undocumented

subscribe_msg_fields =

Undocumented

topics_glob =

Undocumented

unsubscribe_msg_fields =

Undocumented

_subscriptions: dict =

Undocumented