Public Member Functions | |
def | __init__ |
def | handleLoggingRequest |
def | handleParameterRequest |
def | handleTimeRequest |
def | requestTopics |
def | run |
def | send |
def | sendDiagnostics |
def | setPublishSize |
def | setSubscribeSize |
def | setupPublisher |
def | setupServiceClientPublisher |
def | setupServiceClientSubscriber |
def | setupServiceServerPublisher |
def | setupServiceServerSubscriber |
def | setupSubscriber |
Public Attributes | |
buffer_in | |
buffer_out | |
callbacks | |
lastsync | |
lastsync_lost | |
mutex | |
port | |
pub_diagnostics | |
publishers | |
services | |
subscribers | |
timeout |
ServiceServer responds to requests from the serial device.
Definition at line 288 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.__init__ | ( | self, | |
port = None , |
|||
baud = 57600 , |
|||
timeout = 5.0 |
|||
) |
Initialize node, connect to bus, attempt to negotiate topics.
Definition at line 293 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.handleLoggingRequest | ( | self, | |
data | |||
) |
Forward logging information from serial device into ROS.
Definition at line 550 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.handleParameterRequest | ( | self, | |
data | |||
) |
Send parameters to device. Supports only simple datatypes and arrays of such.
Definition at line 514 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.handleTimeRequest | ( | self, | |
data | |||
) |
Respond to device with system time.
Definition at line 505 of file SerialClient.py.
Determine topics to subscribe/publish.
Definition at line 347 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.run | ( | self | ) |
Forward recieved messages to appropriate publisher.
Definition at line 353 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.send | ( | self, | |
topic, | |||
msg | |||
) |
Send a message on a particular topic to the device.
Definition at line 565 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.sendDiagnostics | ( | self, | |
level, | |||
msg_text | |||
) |
Definition at line 580 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setPublishSize | ( | self, | |
bytes | |||
) |
Definition at line 396 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setSubscribeSize | ( | self, | |
bytes | |||
) |
Definition at line 401 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupPublisher | ( | self, | |
data | |||
) |
Register a new publisher.
Definition at line 406 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupServiceClientPublisher | ( | self, | |
data | |||
) |
Register a new service client.
Definition at line 468 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupServiceClientSubscriber | ( | self, | |
data | |||
) |
Register a new service client.
Definition at line 486 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupServiceServerPublisher | ( | self, | |
data | |||
) |
Register a new service server.
Definition at line 431 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupServiceServerSubscriber | ( | self, | |
data | |||
) |
Register a new service server.
Definition at line 449 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupSubscriber | ( | self, | |
data | |||
) |
Register a new subscriber.
Definition at line 419 of file SerialClient.py.
Definition at line 293 of file SerialClient.py.
Definition at line 293 of file SerialClient.py.
Definition at line 293 of file SerialClient.py.
Definition at line 293 of file SerialClient.py.
Definition at line 293 of file SerialClient.py.
Definition at line 293 of file SerialClient.py.
Definition at line 293 of file SerialClient.py.
Definition at line 293 of file SerialClient.py.
Definition at line 293 of file SerialClient.py.
Definition at line 293 of file SerialClient.py.
Definition at line 293 of file SerialClient.py.
Definition at line 293 of file SerialClient.py.