Public Member Functions | |
def | __init__ |
def | close |
def | flushInput |
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 197 of file SerialClient.py.
def rosserial_python.SerialClient.RosSerialServer.__init__ | ( | self, | |
tcp_portnum, | |||
fork_server = False |
|||
) |
Definition at line 204 of file SerialClient.py.
Definition at line 284 of file SerialClient.py.
Definition at line 257 of file SerialClient.py.
Definition at line 209 of file SerialClient.py.
def rosserial_python.SerialClient.RosSerialServer.read | ( | self, | |
rqsted_length | |||
) |
Definition at line 272 of file SerialClient.py.
Definition at line 236 of file SerialClient.py.
def rosserial_python.SerialClient.RosSerialServer.startSocketServer | ( | self, | |
port, | |||
address | |||
) |
Definition at line 252 of file SerialClient.py.
def rosserial_python.SerialClient.RosSerialServer.write | ( | self, | |
data | |||
) |
Definition at line 260 of file SerialClient.py.
Definition at line 204 of file SerialClient.py.
Definition at line 209 of file SerialClient.py.
Definition at line 272 of file SerialClient.py.
Definition at line 209 of file SerialClient.py.
Definition at line 209 of file SerialClient.py.
Definition at line 204 of file SerialClient.py.