Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes
roomba_500_series.msg._Battery.Battery Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 dock
 header
 level
 power_cord
 time_remaining

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['header','power_cord','dock','level','time_remaining']
string _full_text
 _has_header = True
string _md5sum = "fea569ed505a7f18307badadb1c26b0c"
list _slot_types = ['std_msgs/Header','bool','bool','float32','uint32']
string _type = "roomba_500_series/Battery"

Detailed Description

Definition at line 9 of file _Battery.py.


Constructor & Destructor Documentation

def roomba_500_series.msg._Battery.Battery.__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,power_cord,dock,level,time_remaining

: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 41 of file _Battery.py.


Member Function Documentation

internal API method

Definition at line 75 of file _Battery.py.

unpack serialized message in str into this message instance
:param str: byte array of serialized message, ``str``

Definition at line 100 of file _Battery.py.

def roomba_500_series.msg._Battery.Battery.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 153 of file _Battery.py.

serialize message into buffer
:param buff: buffer, ``StringIO``

Definition at line 81 of file _Battery.py.

def roomba_500_series.msg._Battery.Battery.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 133 of file _Battery.py.


Member Data Documentation

Definition at line 38 of file _Battery.py.

Initial value:
"""Header header
bool power_cord
bool dock
float32 level                   # in %
uint32 time_remaining           # in minutes

================================================================================
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 _Battery.py.

Definition at line 12 of file _Battery.py.

string roomba_500_series::msg::_Battery.Battery::_md5sum = "fea569ed505a7f18307badadb1c26b0c" [static, private]

Definition at line 10 of file _Battery.py.

list roomba_500_series::msg::_Battery.Battery::_slot_types = ['std_msgs/Header','bool','bool','float32','uint32'] [static, private]

Definition at line 39 of file _Battery.py.

string roomba_500_series::msg::_Battery.Battery::_type = "roomba_500_series/Battery" [static, private]

Definition at line 11 of file _Battery.py.

Definition at line 53 of file _Battery.py.

Definition at line 53 of file _Battery.py.

Definition at line 53 of file _Battery.py.

Definition at line 53 of file _Battery.py.

Definition at line 53 of file _Battery.py.


The documentation for this class was generated from the following file:


roomba_500_series
Author(s): Gonçalo Cabrita
autogenerated on Mon Jan 6 2014 11:26:40