Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes
dmp.msg._DMPData.DMPData Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 d_gain
 k_gain
 weights

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['k_gain','d_gain','weights']
string _full_text
 _has_header = False
string _md5sum = "8e103c6e348fe8bbac70d6eb733cedf2"
list _slot_types = ['float64','float64','float64[]']
string _type = "dmp/DMPData"

Detailed Description

Definition at line 8 of file _DMPData.py.


Constructor & Destructor Documentation

def dmp.msg._DMPData.DMPData.__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:
   k_gain,d_gain,weights

: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 20 of file _DMPData.py.


Member Function Documentation

def dmp.msg._DMPData.DMPData._get_types (   self) [private]
internal API method

Definition at line 48 of file _DMPData.py.

def dmp.msg._DMPData.DMPData.deserialize (   self,
  str 
)
unpack serialized message in str into this message instance
:param str: byte array of serialized message, ``str``

Definition at line 69 of file _DMPData.py.

def dmp.msg._DMPData.DMPData.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 108 of file _DMPData.py.

def dmp.msg._DMPData.DMPData.serialize (   self,
  buff 
)
serialize message into buffer
:param buff: buffer, ``StringIO``

Definition at line 54 of file _DMPData.py.

def dmp.msg._DMPData.DMPData.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 92 of file _DMPData.py.


Member Data Documentation

list dmp::msg::_DMPData.DMPData::__slots__ = ['k_gain','d_gain','weights'] [static, private]

Definition at line 17 of file _DMPData.py.

string dmp::msg::_DMPData.DMPData::_full_text [static, private]
Initial value:
"""float64 k_gain
float64 d_gain
float64[] weights

"""

Definition at line 12 of file _DMPData.py.

dmp::msg::_DMPData.DMPData::_has_header = False [static, private]

Definition at line 11 of file _DMPData.py.

string dmp::msg::_DMPData.DMPData::_md5sum = "8e103c6e348fe8bbac70d6eb733cedf2" [static, private]

Definition at line 9 of file _DMPData.py.

list dmp::msg::_DMPData.DMPData::_slot_types = ['float64','float64','float64[]'] [static, private]

Definition at line 18 of file _DMPData.py.

string dmp::msg::_DMPData.DMPData::_type = "dmp/DMPData" [static, private]

Definition at line 10 of file _DMPData.py.

Definition at line 32 of file _DMPData.py.

Definition at line 32 of file _DMPData.py.

Definition at line 32 of file _DMPData.py.


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


dmp
Author(s): Scott Niekum
autogenerated on Fri Jan 3 2014 11:19:23