Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
capacity | |
charge | |
header | |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['header','charge','capacity'] |
string | _full_text |
_has_header = True | |
string | _md5sum = "df2a7089f2b6c7d531f3fa587a65bbf2" |
list | _slot_types = ['std_msgs/Header','float32','float32'] |
string | _type = "erratic_player/BatteryState" |
Definition at line 9 of file _BatteryState.py.
def erratic_player.msg._BatteryState.BatteryState.__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,charge,capacity :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 39 of file _BatteryState.py.
def erratic_player.msg._BatteryState.BatteryState._get_types | ( | self | ) | [private] |
internal API method
Definition at line 67 of file _BatteryState.py.
def erratic_player.msg._BatteryState.BatteryState.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 92 of file _BatteryState.py.
def erratic_player.msg._BatteryState.BatteryState.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 143 of file _BatteryState.py.
def erratic_player.msg._BatteryState.BatteryState.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 73 of file _BatteryState.py.
def erratic_player.msg._BatteryState.BatteryState.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 123 of file _BatteryState.py.
list erratic_player::msg::_BatteryState.BatteryState::__slots__ = ['header','charge','capacity'] [static, private] |
Definition at line 36 of file _BatteryState.py.
string erratic_player::msg::_BatteryState.BatteryState::_full_text [static, private] |
"""Header header float32 charge float32 capacity ================================================================================ 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 _BatteryState.py.
erratic_player::msg::_BatteryState.BatteryState::_has_header = True [static, private] |
Definition at line 12 of file _BatteryState.py.
string erratic_player::msg::_BatteryState.BatteryState::_md5sum = "df2a7089f2b6c7d531f3fa587a65bbf2" [static, private] |
Definition at line 10 of file _BatteryState.py.
list erratic_player::msg::_BatteryState.BatteryState::_slot_types = ['std_msgs/Header','float32','float32'] [static, private] |
Definition at line 37 of file _BatteryState.py.
string erratic_player::msg::_BatteryState.BatteryState::_type = "erratic_player/BatteryState" [static, private] |
Definition at line 11 of file _BatteryState.py.
Definition at line 51 of file _BatteryState.py.
Definition at line 51 of file _BatteryState.py.
Definition at line 51 of file _BatteryState.py.