$search
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 195 of file SerialClient.py.
def rosserial_python::SerialClient::RosSerialServer::__init__ | ( | self, | ||
tcp_portnum, | ||||
fork_server = False | ||||
) |
Definition at line 202 of file SerialClient.py.
def rosserial_python::SerialClient::RosSerialServer::close | ( | self | ) |
Definition at line 284 of file SerialClient.py.
def rosserial_python::SerialClient::RosSerialServer::flushInput | ( | self | ) |
Definition at line 257 of file SerialClient.py.
def rosserial_python::SerialClient::RosSerialServer::listen | ( | self | ) |
Definition at line 207 of file SerialClient.py.
def rosserial_python::SerialClient::RosSerialServer::read | ( | self, | ||
rqsted_length | ||||
) |
Definition at line 272 of file SerialClient.py.
def rosserial_python::SerialClient::RosSerialServer::startSerialClient | ( | self | ) |
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 205 of file SerialClient.py.
Definition at line 221 of file SerialClient.py.
Definition at line 273 of file SerialClient.py.
Definition at line 208 of file SerialClient.py.
Definition at line 220 of file SerialClient.py.
Definition at line 204 of file SerialClient.py.