Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
data | |
dtype | |
header | |
shape | |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['header','data','shape','dtype'] |
string | _full_text |
_has_header = True | |
string | _md5sum = "18efe15e5e1ff3c15a2573bddc555f1b" |
list | _slot_types = ['std_msgs/Header','string','int32[]','string'] |
string | _type = "hrl_lib/NumpyArray" |
Definition at line 9 of file _NumpyArray.py.
def hrl_lib.msg._NumpyArray.NumpyArray.__init__ | ( | self, | |
args, | |||
kwds | |||
) |
Constructor. Any message fields that are implicitly/explicitly set to None will be assigned a default value. The recommend use is keyword arguments as this is more robust to future message changes. You cannot mix in-order arguments and keyword arguments. The available fields are: header,data,shape,dtype :param args: complete set of field values, in .msg order :param kwds: use keyword arguments corresponding to message field names to set specific fields.
Definition at line 40 of file _NumpyArray.py.
def hrl_lib.msg._NumpyArray.NumpyArray._get_types | ( | self | ) | [private] |
internal API method
Definition at line 71 of file _NumpyArray.py.
def hrl_lib.msg._NumpyArray.NumpyArray.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 110 of file _NumpyArray.py.
def hrl_lib.msg._NumpyArray.NumpyArray.deserialize_numpy | ( | self, | |
str, | |||
numpy | |||
) |
unpack serialized message in str into this message instance using numpy for array types :param str: byte array of serialized message, ``str`` :param numpy: numpy python module
Definition at line 196 of file _NumpyArray.py.
def hrl_lib.msg._NumpyArray.NumpyArray.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 77 of file _NumpyArray.py.
def hrl_lib.msg._NumpyArray.NumpyArray.serialize_numpy | ( | self, | |
buff, | |||
numpy | |||
) |
serialize message with numpy array types into buffer :param buff: buffer, ``StringIO`` :param numpy: numpy python module
Definition at line 162 of file _NumpyArray.py.
list hrl_lib::msg::_NumpyArray.NumpyArray::__slots__ = ['header','data','shape','dtype'] [static, private] |
Definition at line 37 of file _NumpyArray.py.
string hrl_lib::msg::_NumpyArray.NumpyArray::_full_text [static, private] |
"""Header header string data int32[] shape string dtype ================================================================================ MSG: std_msgs/Header # Standard metadata for higher-level stamped data types. # This is generally used to communicate timestamped data # in a particular coordinate frame. # # sequence ID: consecutively increasing ID uint32 seq #Two-integer timestamp that is expressed as: # * stamp.secs: seconds (stamp_secs) since epoch # * stamp.nsecs: nanoseconds since stamp_secs # time-handling sugar is provided by the client library time stamp #Frame this data is associated with # 0: no frame # 1: global frame string frame_id """
Definition at line 13 of file _NumpyArray.py.
hrl_lib::msg::_NumpyArray.NumpyArray::_has_header = True [static, private] |
Definition at line 12 of file _NumpyArray.py.
string hrl_lib::msg::_NumpyArray.NumpyArray::_md5sum = "18efe15e5e1ff3c15a2573bddc555f1b" [static, private] |
Definition at line 10 of file _NumpyArray.py.
list hrl_lib::msg::_NumpyArray.NumpyArray::_slot_types = ['std_msgs/Header','string','int32[]','string'] [static, private] |
Definition at line 38 of file _NumpyArray.py.
string hrl_lib::msg::_NumpyArray.NumpyArray::_type = "hrl_lib/NumpyArray" [static, private] |
Definition at line 11 of file _NumpyArray.py.
Definition at line 52 of file _NumpyArray.py.
Definition at line 52 of file _NumpyArray.py.
Definition at line 52 of file _NumpyArray.py.
Definition at line 52 of file _NumpyArray.py.