|
| def | __init__ (self, protocol) |
| |
| def | finish (self) |
| |
| def | publish (self, topic, message, fragment_size=None, compression="none") |
| |
| def | subscribe (self, msg) |
| |
| def | unsubscribe (self, msg) |
| |
| def | __init__ (self, protocol) |
| |
| def | basic_type_check (self, msg, types_info) |
| |
| def | finish (self) |
| |
| def | handle_message (self, message) |
| |
Definition at line 196 of file subscribe.py.
| def rosbridge_library.capabilities.subscribe.Subscribe.__init__ |
( |
|
self, |
|
|
|
protocol |
|
) |
| |
| def rosbridge_library.capabilities.subscribe.Subscribe.finish |
( |
|
self | ) |
|
| def rosbridge_library.capabilities.subscribe.Subscribe.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'
Definition at line 288 of file subscribe.py.
| def rosbridge_library.capabilities.subscribe.Subscribe.subscribe |
( |
|
self, |
|
|
|
msg |
|
) |
| |
| def rosbridge_library.capabilities.subscribe.Subscribe.unsubscribe |
( |
|
self, |
|
|
|
msg |
|
) |
| |
| rosbridge_library.capabilities.subscribe.Subscribe._subscriptions |
|
private |
| list rosbridge_library.capabilities.subscribe.Subscribe.subscribe_msg_fields |
|
static |
Initial value: 1 = [(
True,
"topic", string_types), (
False,
"type", string_types),
2 (
False,
"throttle_rate", int), (
False,
"fragment_size", int),
3 (
False,
"queue_length", int), (
False,
"compression", string_types)]
Definition at line 198 of file subscribe.py.
| rosbridge_library.capabilities.subscribe.Subscribe.topics_glob = None |
|
static |
| list rosbridge_library.capabilities.subscribe.Subscribe.unsubscribe_msg_fields = [(True, "topic", string_types)] |
|
static |
The documentation for this class was generated from the following file: