Public Member Functions | |
def | __init__ (self, tcp_portnum, fork_server=False) |
def | flushInput (self) |
def | inWaiting (self) |
def | listen (self) |
def | read (self, rqsted_length) |
def | startSerialClient (self) |
def | startSocketServer (self, port, address) |
def | write (self, data) |
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 216 of file SerialClient.py.
def rosserial_python.SerialClient.RosSerialServer.__init__ | ( | self, | |
tcp_portnum, | |||
fork_server = False |
|||
) |
Definition at line 223 of file SerialClient.py.
def rosserial_python.SerialClient.RosSerialServer.flushInput | ( | self | ) |
Definition at line 281 of file SerialClient.py.
def rosserial_python.SerialClient.RosSerialServer.inWaiting | ( | self | ) |
Definition at line 308 of file SerialClient.py.
def rosserial_python.SerialClient.RosSerialServer.listen | ( | self | ) |
Definition at line 228 of file SerialClient.py.
def rosserial_python.SerialClient.RosSerialServer.read | ( | self, | |
rqsted_length | |||
) |
Definition at line 296 of file SerialClient.py.
def rosserial_python.SerialClient.RosSerialServer.startSerialClient | ( | self | ) |
Definition at line 256 of file SerialClient.py.
def rosserial_python.SerialClient.RosSerialServer.startSocketServer | ( | self, | |
port, | |||
address | |||
) |
Definition at line 276 of file SerialClient.py.
def rosserial_python.SerialClient.RosSerialServer.write | ( | self, | |
data | |||
) |
Definition at line 284 of file SerialClient.py.
rosserial_python.SerialClient.RosSerialServer.fork_server |
Definition at line 226 of file SerialClient.py.
rosserial_python.SerialClient.RosSerialServer.isConnected |
Definition at line 243 of file SerialClient.py.
rosserial_python.SerialClient.RosSerialServer.msg |
Definition at line 297 of file SerialClient.py.
rosserial_python.SerialClient.RosSerialServer.serversocket |
Definition at line 229 of file SerialClient.py.
rosserial_python.SerialClient.RosSerialServer.socket |
Definition at line 242 of file SerialClient.py.
rosserial_python.SerialClient.RosSerialServer.tcp_portnum |
Definition at line 225 of file SerialClient.py.