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 |
def | tryRead |
def | txStopRequest |
Public Attributes | |
buffer_in | |
buffer_out | |
callbacks | |
lastsync | |
lastsync_lost | |
mutex | |
port | |
protocol_ver | |
protocol_ver1 | |
protocol_ver2 | |
pub_diagnostics | |
publishers | |
services | |
subscribers | |
synced | |
timeout |
ServiceServer responds to requests from the serial device.
Definition at line 314 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 319 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.handleLoggingRequest | ( | self, | |
data | |||
) |
Forward logging information from serial device into ROS.
Definition at line 652 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 616 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.handleTimeRequest | ( | self, | |
data | |||
) |
Respond to device with system time.
Definition at line 606 of file SerialClient.py.
Determine topics to subscribe/publish.
Definition at line 382 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.run | ( | self | ) |
Forward recieved messages to appropriate publisher.
Definition at line 408 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 667 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.sendDiagnostics | ( | self, | |
level, | |||
msg_text | |||
) |
Definition at line 685 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setPublishSize | ( | self, | |
bytes | |||
) |
Definition at line 489 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setSubscribeSize | ( | self, | |
bytes | |||
) |
Definition at line 494 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupPublisher | ( | self, | |
data | |||
) |
Register a new publisher.
Definition at line 499 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupServiceClientPublisher | ( | self, | |
data | |||
) |
Register a new service client.
Definition at line 569 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupServiceClientSubscriber | ( | self, | |
data | |||
) |
Register a new service client.
Definition at line 587 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupServiceServerPublisher | ( | self, | |
data | |||
) |
Register a new service server.
Definition at line 532 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupServiceServerSubscriber | ( | self, | |
data | |||
) |
Register a new service server.
Definition at line 550 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupSubscriber | ( | self, | |
data | |||
) |
Register a new subscriber.
Definition at line 512 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.tryRead | ( | self, | |
length | |||
) |
Definition at line 396 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.txStopRequest | ( | self, | |
signal, | |||
frame | |||
) |
send stop tx request to arduino when receive SIGINT(Ctrl-c)
Definition at line 388 of file SerialClient.py.
Definition at line 319 of file SerialClient.py.
Definition at line 319 of file SerialClient.py.
Definition at line 319 of file SerialClient.py.
Definition at line 319 of file SerialClient.py.
Definition at line 319 of file SerialClient.py.
Definition at line 319 of file SerialClient.py.
Definition at line 319 of file SerialClient.py.
Definition at line 319 of file SerialClient.py.
Definition at line 319 of file SerialClient.py.
Definition at line 319 of file SerialClient.py.
Definition at line 319 of file SerialClient.py.
Definition at line 319 of file SerialClient.py.
Definition at line 319 of file SerialClient.py.
Definition at line 319 of file SerialClient.py.
Definition at line 319 of file SerialClient.py.
Definition at line 319 of file SerialClient.py.