Public Member Functions | |
def | __init__ |
def | close |
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 208 of file SerialClient.py.
def rosserial_python.SerialClient.RosSerialServer.__init__ | ( | self, | |
tcp_portnum, | |||
fork_server = False |
|||
) |
Definition at line 215 of file SerialClient.py.
Definition at line 299 of file SerialClient.py.
Definition at line 272 of file SerialClient.py.
Definition at line 302 of file SerialClient.py.
Definition at line 220 of file SerialClient.py.
def rosserial_python.SerialClient.RosSerialServer.read | ( | self, | |
rqsted_length | |||
) |
Definition at line 287 of file SerialClient.py.
Definition at line 247 of file SerialClient.py.
def rosserial_python.SerialClient.RosSerialServer.startSocketServer | ( | self, | |
port, | |||
address | |||
) |
Definition at line 267 of file SerialClient.py.
def rosserial_python.SerialClient.RosSerialServer.write | ( | self, | |
data | |||
) |
Definition at line 275 of file SerialClient.py.
Definition at line 215 of file SerialClient.py.
Definition at line 220 of file SerialClient.py.
Definition at line 287 of file SerialClient.py.
Definition at line 220 of file SerialClient.py.
Definition at line 220 of file SerialClient.py.
Definition at line 215 of file SerialClient.py.