Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes
clearpath_base.msg._PowerSource.PowerSource Class Reference

List of all members.

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"

Detailed Description

Definition at line 8 of file _PowerSource.py.


Constructor & Destructor Documentation

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.


Member Function Documentation

internal API method

Definition at line 56 of file _PowerSource.py.

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.

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.

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

Definition at line 62 of file _PowerSource.py.

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.


Member Data Documentation

Definition at line 19 of file _PowerSource.py.

Initial value:
"""float32 charge
int16 capacity
bool present
bool in_use
uint8 description

"""

Definition at line 12 of file _PowerSource.py.

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.


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


clearpath_base
Author(s): Mike Purvis
autogenerated on Sat Dec 28 2013 16:50:48