Public Member Functions | |
def | __init__ |
def | flushInput |
def | inWaiting |
def | listen |
def | read |
def | startSerialClient |
def | startSocketServer |
def | write |
Public Attributes | |
fork_server | |
isConnected | |
msg | |
serversocket | |
socket | |
tcp_portnum |
RosSerialServer waits for a socket connection then passes itself, forked as a new process, to SerialClient which uses it as a serial port. It continues to listen for additional connections. Each forked process is a new ros node, and proxies ros operations (e.g. publish/subscribe) from its connection to the rest of ros.
Definition at line 215 of file SerialClient.py.
def rosserial_python.SerialClient.RosSerialServer.__init__ | ( | self, | |
tcp_portnum, | |||
fork_server = False |
|||
) |
Definition at line 222 of file SerialClient.py.
Definition at line 280 of file SerialClient.py.
Definition at line 307 of file SerialClient.py.
Definition at line 227 of file SerialClient.py.
def rosserial_python.SerialClient.RosSerialServer.read | ( | self, | |
rqsted_length | |||
) |
Definition at line 295 of file SerialClient.py.
Definition at line 255 of file SerialClient.py.
def rosserial_python.SerialClient.RosSerialServer.startSocketServer | ( | self, | |
port, | |||
address | |||
) |
Definition at line 275 of file SerialClient.py.
def rosserial_python.SerialClient.RosSerialServer.write | ( | self, | |
data | |||
) |
Definition at line 283 of file SerialClient.py.
Definition at line 222 of file SerialClient.py.
Definition at line 227 of file SerialClient.py.
Definition at line 295 of file SerialClient.py.
Definition at line 227 of file SerialClient.py.
Definition at line 227 of file SerialClient.py.
Definition at line 222 of file SerialClient.py.