Public Member Functions | |
def | __init__ |
def | handleLoggingRequest |
def | handleParameterRequest |
def | handleTimeRequest |
def | requestTopics |
def | run |
def | send |
def | setPublishSize |
def | setSubscribeSize |
def | setupPublisher |
def | setupServiceClientPublisher |
def | setupServiceClientSubscriber |
def | setupServiceServerPublisher |
def | setupServiceServerSubscriber |
def | setupSubscriber |
Public Attributes | |
buffer_in | |
buffer_out | |
callbacks | |
lastsync | |
mutex | |
port | |
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 534 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 503 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.handleTimeRequest | ( | self, | |
data | |||
) |
Respond to device with system time.
Definition at line 494 of file SerialClient.py.
Determine topics to subscribe/publish.
Definition at line 339 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.run | ( | self | ) |
Forward recieved messages to appropriate publisher.
Definition at line 345 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 549 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setPublishSize | ( | self, | |
bytes | |||
) |
Definition at line 385 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setSubscribeSize | ( | self, | |
bytes | |||
) |
Definition at line 390 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupPublisher | ( | self, | |
data | |||
) |
Register a new publisher.
Definition at line 395 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupServiceClientPublisher | ( | self, | |
data | |||
) |
Register a new service client.
Definition at line 457 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupServiceClientSubscriber | ( | self, | |
data | |||
) |
Register a new service client.
Definition at line 475 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupServiceServerPublisher | ( | self, | |
data | |||
) |
Register a new service server.
Definition at line 420 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupServiceServerSubscriber | ( | self, | |
data | |||
) |
Register a new service server.
Definition at line 438 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupSubscriber | ( | self, | |
data | |||
) |
Register a new subscriber.
Definition at line 408 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.