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 | |
fix_pyserial_for_test | |
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 319 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.__init__ | ( | self, | |
port = None , |
|||
baud = 57600 , |
|||
timeout = 5.0 , |
|||
fix_pyserial_for_test = False |
|||
) |
Initialize node, connect to bus, attempt to negotiate topics.
Definition at line 324 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.handleLoggingRequest | ( | self, | |
data | |||
) |
Forward logging information from serial device into ROS.
Definition at line 680 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 644 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.handleTimeRequest | ( | self, | |
data | |||
) |
Respond to device with system time.
Definition at line 634 of file SerialClient.py.
Determine topics to subscribe/publish.
Definition at line 393 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.run | ( | self | ) |
Forward recieved messages to appropriate publisher.
Definition at line 435 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 695 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.sendDiagnostics | ( | self, | |
level, | |||
msg_text | |||
) |
Definition at line 713 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setPublishSize | ( | self, | |
bytes | |||
) |
Definition at line 517 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setSubscribeSize | ( | self, | |
bytes | |||
) |
Definition at line 522 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupPublisher | ( | self, | |
data | |||
) |
Register a new publisher.
Definition at line 527 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupServiceClientPublisher | ( | self, | |
data | |||
) |
Register a new service client.
Definition at line 597 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupServiceClientSubscriber | ( | self, | |
data | |||
) |
Register a new service client.
Definition at line 615 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupServiceServerPublisher | ( | self, | |
data | |||
) |
Register a new service server.
Definition at line 560 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupServiceServerSubscriber | ( | self, | |
data | |||
) |
Register a new service server.
Definition at line 578 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.setupSubscriber | ( | self, | |
data | |||
) |
Register a new subscriber.
Definition at line 540 of file SerialClient.py.
def rosserial_python.SerialClient.SerialClient.tryRead | ( | self, | |
length | |||
) |
Definition at line 412 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 402 of file SerialClient.py.
Definition at line 324 of file SerialClient.py.
Definition at line 324 of file SerialClient.py.
Definition at line 324 of file SerialClient.py.
Definition at line 324 of file SerialClient.py.
Definition at line 324 of file SerialClient.py.
Definition at line 324 of file SerialClient.py.
Definition at line 324 of file SerialClient.py.
Definition at line 324 of file SerialClient.py.
Definition at line 324 of file SerialClient.py.
Definition at line 324 of file SerialClient.py.
Definition at line 324 of file SerialClient.py.
Definition at line 324 of file SerialClient.py.
Definition at line 324 of file SerialClient.py.
Definition at line 324 of file SerialClient.py.
Definition at line 324 of file SerialClient.py.
Definition at line 324 of file SerialClient.py.
Definition at line 324 of file SerialClient.py.