Module Import alias ImportFrom alias ImportFrom alias TryExcept body ImportFrom alias alias alias ImportFrom alias identifier FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad decorator_list handlers ExceptHandler type NameLoad body ImportFrom alias FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list TryExcept body ImportFrom alias ImportFrom alias ImportFrom alias alias handlers ExceptHandler type NameLoad body Print Str Print Str Expr Call NameLoad Num ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Str orelse If Call NameLoad NameLoad NameLoad body Return NameLoad orelse Raise Call NameLoad Str decorator_list ClassDef bases NameLoad body Expr Str Expr Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Return TupleLoad Call AttributeLoad NameLoad attr Dict handlers ExceptHandler type NameLoad body Raise Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str Expr Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Slice Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call NameLoad keyword Call NameLoad SubscriptLoad NameLoad Slice Num Num keyword Call NameLoad SubscriptLoad NameLoad Slice Num Num keyword Call NameLoad SubscriptLoad NameLoad Slice Num Num keyword Call NameLoad SubscriptLoad NameLoad Slice Num Num keyword Call NameLoad SubscriptLoad NameLoad Slice Num Num keyword Call NameLoad SubscriptLoad NameLoad Slice Num Num keyword Call NameLoad SubscriptLoad NameLoad Slice Num handlers ExceptHandler type NameLoad body Return Call NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call NameLoad Str Return TupleLoad Call AttributeLoad NameLoad attr Dict decorator_list decorator_list Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Dict Str Str NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call NameLoad NameLoad NameLoad If CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr TryExcept body Assign TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr TupleLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Expr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Dict For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareEq Str SubscriptLoad NameLoad Slice Num body Assign NameStore NameLoad Assign NameStore SubscriptLoad NameLoad Slice Num orelse Assign NameStore NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad Call SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad Call SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num attr orelse Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad TryExcept body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad Call NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareNotIn NameLoad NameLoad body Continue If CompareEq Str SubscriptLoad NameLoad Slice Num body Assign NameStore NameLoad Assign NameStore SubscriptLoad NameLoad Slice Num orelse Assign NameStore NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad If BoolOpAnd NameLoad UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Raise Call NameLoad Str If CompareEq NameLoad Str body Assign NameStore NameLoad orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad Call SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr orelse If BoolOpAnd CompareIn NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad body Assign NameStore AttributeLoad Call SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num attr orelse Assign NameStore Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq NameLoad NameLoad body Return Call AttributeLoad Call NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A N/A time datetime datetime functools partial N/A N/A cStringIO StringIO InputType OutputType StringIO StringIO pyStringIO _checkIsStringIO N/A N/A obj N/A N/A N/A N/A isinstance obj N/A InputType OutputType pyStringIO N/A N/A N/A N/A ImportError N/A StringIO StringIO _checkIsStringIO N/A N/A obj N/A N/A N/A N/A isinstance obj StringIO N/A N/A N/A genmsg.names package_resource_name genpy.message Message rospy.rostime Duration Time N/A N/A N/A ImportError N/A N/A Can not import ROS Python libraries. N/A Make sure they are installed and the ROS Environment is setup. N/A N/A exit 1 zope.interface implements rce.util.error InternalError rce.util.interface verifyClass rce.util.converters.interfaces ICustomROSConverter _stringify N/A N/A obj N/A N/A N/A  Internally used method to make sure that strings are of type str
        and not of type unicode.
     N/A N/A isinstance obj unicode N/A N/A N/A N/A obj encode utf-8 N/A N/A N/A isinstance obj str N/A N/A obj N/A N/A N/A TypeError Object is not a string. N/A _DurationConverter N/A object N/A N/A  Convert ROS Duration type to JSON style and back.
     N/A N/A implements ICustomROSConverter decode N/A N/A self data N/A N/A N/A  Generate a rospy.rostime.Duration instance based on the given data
            which should be a string representation of a float.
         N/A N/A N/A Duration from_sec N/A float data N/A encode N/A N/A self rosMsg N/A N/A N/A  Transform the rospy.rostime.Duration instance to a float.
         N/A N/A N/A N/A N/A N/A rosMsg to_sec N/A N/A N/A N/A AttributeError N/A N/A N/A TypeError Received object is not a Duration instance. N/A N/A _TimeConverter N/A object N/A N/A  Convert ROS Time type to JSON style and back.
     N/A N/A implements ICustomROSConverter decode N/A N/A self data N/A N/A N/A  Generate a rospy.rostime.Time instance based on the given data of
            the form 'YYYY-MM-DDTHH:MM:SS.mmmmmm' (ISO 8601).
         N/A N/A + data N/A N/A data N/A data N/A N/A N/A data index + N/A N/A N/A dt N/A datetime year N/A int N/A data N/A 0 4 month N/A int N/A data N/A 5 7 day N/A int N/A data N/A 8 10 hour N/A int N/A data N/A 11 13 minute N/A int N/A data N/A 14 16 second N/A int N/A data N/A 17 19 microsecond N/A int N/A data N/A 20 N/A N/A N/A ValueError N/A N/A N/A Time N/A N/A N/A Time from_sec N/A N/A time mktime N/A N/A dt timetuple N/A encode N/A N/A self rosMsg N/A N/A N/A  Transform the rospy.rostime.Time instance to a string of the form
            'YYYY-MM-DDTHH:MM:SS.mmmmmm' (ISO 8601).
         N/A N/A N/A dt N/A N/A datetime fromtimestamp N/A N/A rosMsg to_sec N/A N/A N/A AttributeError N/A N/A N/A TypeError Received object is not a Time instance. N/A N/A N/A N/A dt isoformat N/A N/A N/A N/A N/A verifyClass ICustomROSConverter _DurationConverter N/A N/A verifyClass ICustomROSConverter _TimeConverter Converter N/A object N/A N/A  This class is used to provide a possibility to convert a ROS message to
        a JSON compatible format and back.

        To add customized Converters use the method 'addCustomConverter' and
        the class must implement the interface 'IROSConverter'.
        As an example view the class ImageConverter.
     N/A _BASE_TYPES N/A bool byte char uint8 int8 uint16 int16 uint32 int32 uint64 int64 float32 float64 string bool int int int int int int int int long long float float str N/A _SPECIAL_TYPES N/A time duration _TimeConverter _DurationConverter __init__ N/A N/A self loader N/A N/A N/A  Initialize the Converter.

            @param loader:      Used loader for ROS resources.
            @type  loader:      Loader
         N/A N/A self _loader loader N/A N/A self _customTypes N/A N/A addCustomConverter N/A N/A self converter N/A N/A N/A  Register a new custom Converter.

            @raise:     rce.error.InternalError,
                        rce.util.interfaces.InterfaceError
         N/A N/A verifyClass ICustomROSConverter converter N/A N/A N/A converter MESSAGE_TYPE N/A self _customTypes N/A N/A N/A InternalError N/A N/A There are multiple Converters given for message type "{0}". format N/A converter MESSAGE_TYPE N/A N/A N/A N/A pkg name N/A package_resource_name N/A converter MESSAGE_TYPE N/A N/A N/A ValueError N/A N/A N/A InternalError msg type is not valid. Has to be of the from pkg/msg, i.e. std_msgs/Int8. N/A N/A N/A self _customTypes N/A N/A converter MESSAGE_TYPE N/A converter N/A N/A N/A self _loader loadMsg pkg name N/A removeCustomConverter N/A N/A self msgType N/A N/A N/A  Unregister a custom Converter.

            @param msgType:     Message type of ROS message as a string, i.e.
                                'std_msgs/Int8', for which the converter should
                                be removed.
            @type  msgType:     str
         N/A N/A N/A N/A N/A self _customTypes N/A msgType N/A N/A N/A KeyError N/A N/A N/A InternalError Tried to remove a custom converter which was never added. N/A _encode N/A N/A self rosMsg N/A N/A N/A  Internally used method which is responsible for the heavy lifting.
         N/A data N/A N/A N/A slotName slotType N/A zip N/A rosMsg __slots__ N/A rosMsg _slot_types N/A N/A N/A [] N/A slotType N/A -2 N/A N/A listBool True N/A slotType N/A slotType N/A -2 N/A N/A listBool False N/A N/A slotType N/A self _BASE_TYPES N/A N/A convFunc N/A N/A self _BASE_TYPES N/A slotType N/A N/A N/A slotType N/A self _SPECIAL_TYPES N/A N/A convFunc N/A N/A N/A N/A self _SPECIAL_TYPES N/A slotType encode N/A N/A N/A slotType N/A self _customTypes N/A N/A convFunc N/A N/A N/A N/A N/A self _customTypes N/A slotType N/A 0 encode N/A N/A convFunc N/A self _encode N/A listBool N/A N/A convFunc N/A partial map convFunc N/A N/A N/A N/A data N/A slotName N/A convFunc N/A getattr rosMsg slotName N/A N/A N/A ValueError N/A e N/A N/A N/A ValueError N/A N/A {0}.{1}: {2} format N/A N/A rosMsg __class__ __name__ slotName e N/A data N/A encode N/A N/A self rosMsg N/A N/A N/A  Generate JSON compatible data from a ROS message.

            @param rosMsg:  The ROS message instance which should be converted.
            @type  rosMsg:  ROS message instance

            @return:        Dictionary containing the parsed message. The basic
                            form does map each field in the ROS message to a
                            key / value pair in the returned data dict. Binaries
                            are added as StringIO instances.
            @rtype:         {}

            @raise:         TypeError, ValueError
         N/A N/A N/A isinstance rosMsg Message N/A N/A N/A TypeError Given rosMsg object is not an instance of genpy.message.Message. N/A N/A converter cls N/A N/A N/A self _customTypes itervalues N/A N/A N/A isinstance rosMsg cls N/A N/A N/A N/A N/A converter encode rosMsg N/A N/A N/A self _encode rosMsg N/A _decode N/A N/A self msgCls data N/A N/A N/A  Internally used method which is responsible for the heavy lifting.
         N/A rosMsg N/A msgCls N/A N/A slotName slotType N/A zip N/A rosMsg __slots__ N/A rosMsg _slot_types N/A N/A N/A slotName data N/A N/A N/A N/A [] N/A slotType N/A -2 N/A N/A listBool True N/A slotType N/A slotType N/A -2 N/A N/A listBool False N/A field N/A data N/A slotName N/A N/A listBool N/A N/A isinstance field N/A list tuple N/A N/A N/A TypeError Given data does not match the definition of the ROS message. N/A N/A slotType string N/A N/A convFunc _stringify N/A N/A N/A slotType N/A self _BASE_TYPES N/A N/A convFunc N/A N/A self _BASE_TYPES N/A slotType N/A N/A N/A slotType N/A self _SPECIAL_TYPES N/A N/A convFunc N/A N/A N/A N/A self _SPECIAL_TYPES N/A slotType decode N/A N/A N/A N/A slotType N/A self _customTypes N/A _checkIsStringIO field N/A N/A convFunc N/A N/A N/A N/A N/A self _customTypes N/A slotType N/A 0 decode N/A N/A convFunc N/A partial N/A self _decode N/A N/A N/A self _loader loadMsg N/A N/A slotType split / N/A listBool N/A N/A convFunc N/A partial map convFunc N/A N/A setattr rosMsg slotName N/A convFunc field N/A rosMsg N/A decode N/A N/A self msgCls data N/A N/A N/A  Generate a ROS message from JSON compatible data.

            @param msgCls:  ROS message class into which the decoded data
                            should filled.
            @type  msgCls:  ROS Message class

            @param data:    Dictionary with keys matching the fields in the
                            desired ROS message. Binary files should be
                            included as StringIO instances.
            @param data:    { str : {} }

            @return:        ROS message of type rosMsg containing the given
                            data.

            @raise:         TypeError, ValueError,
                            rce.util.loader.ResourceNotFound
         N/A N/A _checkIsStringIO data N/A N/A N/A converter cls N/A N/A N/A self _customTypes itervalues N/A N/A N/A msgCls cls N/A N/A N/A N/A N/A converter decode msgCls data N/A N/A N/A self _decode msgCls data N/A N/A