| Home | Trees | Indices | Help |
|
|---|
|
|
Support library for Python autogenerated message files. This defines the Message base class used by genmsg_py as well as support libraries for type checking and retrieving message classes by type name.
| Classes | |
|
ROSMessageException Exception type for errors in roslib.message routines |
|
|
Message Base class of Message data classes auto-generated from msg files. |
|
|
ServiceDefinition Base class of Service classes auto-generated from srv files |
|
|
DeserializationError Message deserialization error |
|
|
SerializationError Message serialization error |
|
| Functions | |||
| Message class |
|
||
| Service class |
|
||
| str |
|
||
|
|||
| str |
|
||
|
|||
| Variables | |
struct_I = struct.Struct('<I')
|
|
__package__ =
|
|
| Function Details |
Get the message class. NOTE: this function maintains a local cache of results to improve performance.
|
Get the service class. NOTE: this function maintains a local cache of results to improve performance.
|
Convert value to string representation
|
Dynamic type checker that maps ROS .msg types to python types and verifies the python value. check_type() is not designed to be fast and is targeted at error diagnosis. This type checker is not designed to run fast and is meant only for error diagnosis.
|
Get string representation of msg arguments
|
Populate message with specified args. Args are assumed to be a list of arguments from a command-line YAML parser. See http://www.ros.org/wiki/ROS/YAMLCommandLine for specification on how messages are filled. fill_message_args also takes in an optional 'keys' dictionary which contain substitute values for message and time types. These values must be of the correct instance type, i.e. a Message, Time, or Duration. In a string key is encountered with these types, the value from the keys dictionary will be used instead. This is mainly used to provide values for the 'now' timestamp.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Jan 11 10:12:15 2013 | http://epydoc.sourceforge.net |