Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
capacity | |
charge | |
description | |
in_use | |
present | |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['charge','capacity','present','in_use','description'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "adbe384d7d69a337a7f2b6bf1d0139cb" |
list | _slot_types = ['float32','int16','bool','bool','uint8'] |
string | _type = "clearpath_base/PowerSource" |
Definition at line 8 of file _PowerSource.py.
def clearpath_base.msg._PowerSource.PowerSource.__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: charge,capacity,present,in_use,description :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 22 of file _PowerSource.py.
def clearpath_base.msg._PowerSource.PowerSource._get_types | ( | self | ) | [private] |
internal API method
Definition at line 56 of file _PowerSource.py.
def clearpath_base.msg._PowerSource.PowerSource.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 _PowerSource.py.
def clearpath_base.msg._PowerSource.PowerSource.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 103 of file _PowerSource.py.
def clearpath_base.msg._PowerSource.PowerSource.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 62 of file _PowerSource.py.
def clearpath_base.msg._PowerSource.PowerSource.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 91 of file _PowerSource.py.
list clearpath_base::msg::_PowerSource.PowerSource::__slots__ = ['charge','capacity','present','in_use','description'] [static, private] |
Definition at line 19 of file _PowerSource.py.
string clearpath_base::msg::_PowerSource.PowerSource::_full_text [static, private] |
"""float32 charge int16 capacity bool present bool in_use uint8 description """
Definition at line 12 of file _PowerSource.py.
clearpath_base::msg::_PowerSource.PowerSource::_has_header = False [static, private] |
Definition at line 11 of file _PowerSource.py.
string clearpath_base::msg::_PowerSource.PowerSource::_md5sum = "adbe384d7d69a337a7f2b6bf1d0139cb" [static, private] |
Definition at line 9 of file _PowerSource.py.
list clearpath_base::msg::_PowerSource.PowerSource::_slot_types = ['float32','int16','bool','bool','uint8'] [static, private] |
Definition at line 20 of file _PowerSource.py.
string clearpath_base::msg::_PowerSource.PowerSource::_type = "clearpath_base/PowerSource" [static, private] |
Definition at line 10 of file _PowerSource.py.
Definition at line 34 of file _PowerSource.py.
Definition at line 34 of file _PowerSource.py.
Definition at line 34 of file _PowerSource.py.
Definition at line 34 of file _PowerSource.py.
Definition at line 34 of file _PowerSource.py.