Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
capacity | |
charge | |
charge_state | |
design_capacity | |
header | |
percentage | |
present | |
rate | |
voltage | |
Static Public Attributes | |
int | CHARGED = 2 |
int | CHARGING = 1 |
int | DISCHARGING = 0 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['header','voltage','rate','charge','capacity','design_capacity','percentage','charge_state','present'] |
string | _full_text |
_has_header = True | |
string | _md5sum = "201bffbb268bdae8f8389acae4ae6db2" |
list | _slot_types = ['std_msgs/Header','float32','float32','float32','float32','float32','int32','uint8','bool'] |
string | _type = "linux_hardware/LaptopChargeStatus" |
Definition at line 9 of file _LaptopChargeStatus.py.
def linux_hardware.msg._LaptopChargeStatus.LaptopChargeStatus.__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,voltage,rate,charge,capacity,design_capacity,percentage,charge_state,present :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 53 of file _LaptopChargeStatus.py.
def linux_hardware.msg._LaptopChargeStatus.LaptopChargeStatus._get_types | ( | self | ) | [private] |
internal API method
Definition at line 99 of file _LaptopChargeStatus.py.
def linux_hardware.msg._LaptopChargeStatus.LaptopChargeStatus.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 124 of file _LaptopChargeStatus.py.
def linux_hardware.msg._LaptopChargeStatus.LaptopChargeStatus.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 176 of file _LaptopChargeStatus.py.
def linux_hardware.msg._LaptopChargeStatus.LaptopChargeStatus.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 105 of file _LaptopChargeStatus.py.
def linux_hardware.msg._LaptopChargeStatus.LaptopChargeStatus.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 156 of file _LaptopChargeStatus.py.
list linux_hardware::msg::_LaptopChargeStatus.LaptopChargeStatus::__slots__ = ['header','voltage','rate','charge','capacity','design_capacity','percentage','charge_state','present'] [static, private] |
Definition at line 50 of file _LaptopChargeStatus.py.
string linux_hardware::msg::_LaptopChargeStatus.LaptopChargeStatus::_full_text [static, private] |
Definition at line 13 of file _LaptopChargeStatus.py.
linux_hardware::msg::_LaptopChargeStatus.LaptopChargeStatus::_has_header = True [static, private] |
Definition at line 12 of file _LaptopChargeStatus.py.
string linux_hardware::msg::_LaptopChargeStatus.LaptopChargeStatus::_md5sum = "201bffbb268bdae8f8389acae4ae6db2" [static, private] |
Definition at line 10 of file _LaptopChargeStatus.py.
list linux_hardware::msg::_LaptopChargeStatus.LaptopChargeStatus::_slot_types = ['std_msgs/Header','float32','float32','float32','float32','float32','int32','uint8','bool'] [static, private] |
Definition at line 51 of file _LaptopChargeStatus.py.
string linux_hardware::msg::_LaptopChargeStatus.LaptopChargeStatus::_type = "linux_hardware/LaptopChargeStatus" [static, private] |
Definition at line 11 of file _LaptopChargeStatus.py.
Definition at line 65 of file _LaptopChargeStatus.py.
Definition at line 65 of file _LaptopChargeStatus.py.
Definition at line 65 of file _LaptopChargeStatus.py.
int linux_hardware::msg::_LaptopChargeStatus.LaptopChargeStatus::CHARGED = 2 [static] |
Definition at line 48 of file _LaptopChargeStatus.py.
Definition at line 47 of file _LaptopChargeStatus.py.
Definition at line 65 of file _LaptopChargeStatus.py.
Definition at line 46 of file _LaptopChargeStatus.py.
Definition at line 65 of file _LaptopChargeStatus.py.
Definition at line 65 of file _LaptopChargeStatus.py.
Definition at line 65 of file _LaptopChargeStatus.py.
Definition at line 65 of file _LaptopChargeStatus.py.
Definition at line 65 of file _LaptopChargeStatus.py.