Home | Trees | Indices | Help |
|
---|
|
Warning: do not use this library. It is unstable and most of the routines here have been superceded by other libraries (e.g. rosgraph). These routines will likely be *deleted* in future releases.
Classes | |
ROSHandshakeException Exception to represent errors decoding handshake |
Functions | |||
str |
|
||
|
|||
str |
|
||
[str] |
|
||
str |
|
||
|
|||
str |
|
||
{str: str} |
|
||
{str: str} |
|
||
str |
|
||
int |
|
Variables | |
python3 = 0
|
|
ROS_IP =
|
|
ROS_HOSTNAME =
|
|
SIOCGIFADDR = 35093
|
|
SIOCGIFCONF = 35090
|
|
__package__ =
|
Function Details |
|
|
|
|
|
Determine host-name for use in host-name-based addressing (e.g. XML-RPC URIs):
|
Determine the XMLRPC URI for local servers. This handles the search logic of checking ROS environment variables, the known hostname, and local interface IP addresses to determine the best possible URI.
|
Decode serialized ROS handshake header into a Python dictionary header is a list of string key=value pairs, each prefixed by a 4-byte length field. It is preceeded by a 4-byte length field for the entire header.
|
Read in tcpros header off the socket sock using buffer b.
|
Encode ROS handshake header as a byte string. Each header field is a string key value pair. The encoded header is prefixed by a length field, as is each field key/value pair. key/value pairs a separated by a '=' equals sign. FORMAT: (4-byte length + [4-byte field length + field=value ]*)
|
Write ROS handshake header header to socket sock
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Jun 8 20:33:25 2019 | http://epydoc.sourceforge.net |