Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
type | |
Static Public Attributes | |
int | BOOL = 6 |
int | FLOAT32 = 5 |
int | INT16 = 2 |
int | INT32 = 4 |
int | STRING = 0 |
int | UINT16 = 1 |
int | UINT32 = 3 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['type'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "f61664a4dc14b6b365fb43df66f4679e" |
list | _slot_types = ['uint8'] |
string | _type = "nasa_r2_common_msgs/MappedType" |
Definition at line 8 of file _MappedType.py.
def nasa_r2_common_msgs.msg._MappedType.MappedType.__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: type :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 35 of file _MappedType.py.
def nasa_r2_common_msgs.msg._MappedType.MappedType._get_types | ( | self | ) | [private] |
internal API method
Definition at line 57 of file _MappedType.py.
def nasa_r2_common_msgs.msg._MappedType.MappedType.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 73 of file _MappedType.py.
def nasa_r2_common_msgs.msg._MappedType.MappedType.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 99 of file _MappedType.py.
def nasa_r2_common_msgs.msg._MappedType.MappedType.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 63 of file _MappedType.py.
def nasa_r2_common_msgs.msg._MappedType.MappedType.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 88 of file _MappedType.py.
list nasa_r2_common_msgs::msg::_MappedType.MappedType::__slots__ = ['type'] [static, private] |
Definition at line 32 of file _MappedType.py.
string nasa_r2_common_msgs::msg::_MappedType.MappedType::_full_text [static, private] |
"""uint8 STRING = 0 uint8 UINT16 = 1 uint8 INT16 = 2 uint8 UINT32 = 3 uint8 INT32 = 4 uint8 FLOAT32 = 5 uint8 BOOL = 6 uint8 type """
Definition at line 12 of file _MappedType.py.
nasa_r2_common_msgs::msg::_MappedType.MappedType::_has_header = False [static, private] |
Definition at line 11 of file _MappedType.py.
string nasa_r2_common_msgs::msg::_MappedType.MappedType::_md5sum = "f61664a4dc14b6b365fb43df66f4679e" [static, private] |
Definition at line 9 of file _MappedType.py.
list nasa_r2_common_msgs::msg::_MappedType.MappedType::_slot_types = ['uint8'] [static, private] |
Definition at line 33 of file _MappedType.py.
string nasa_r2_common_msgs::msg::_MappedType.MappedType::_type = "nasa_r2_common_msgs/MappedType" [static, private] |
Definition at line 10 of file _MappedType.py.
int nasa_r2_common_msgs::msg::_MappedType.MappedType::BOOL = 6 [static] |
Definition at line 30 of file _MappedType.py.
int nasa_r2_common_msgs::msg::_MappedType.MappedType::FLOAT32 = 5 [static] |
Definition at line 29 of file _MappedType.py.
int nasa_r2_common_msgs::msg::_MappedType.MappedType::INT16 = 2 [static] |
Definition at line 26 of file _MappedType.py.
int nasa_r2_common_msgs::msg::_MappedType.MappedType::INT32 = 4 [static] |
Definition at line 28 of file _MappedType.py.
int nasa_r2_common_msgs::msg::_MappedType.MappedType::STRING = 0 [static] |
Definition at line 24 of file _MappedType.py.
Definition at line 47 of file _MappedType.py.
int nasa_r2_common_msgs::msg::_MappedType.MappedType::UINT16 = 1 [static] |
Definition at line 25 of file _MappedType.py.
int nasa_r2_common_msgs::msg::_MappedType.MappedType::UINT32 = 3 [static] |
Definition at line 27 of file _MappedType.py.