Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes
ethercat_hardware.msg._RawFTData.RawFTData Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 missed_samples
 sample_count
 samples

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['samples','sample_count','missed_samples']
string _full_text
 _has_header = False
string _md5sum = "85f5ed45095367bfb8fb2e57954c0b89"
list _slot_types = ['ethercat_hardware/RawFTDataSample[]','int64','int64']
string _type = "ethercat_hardware/RawFTData"

Detailed Description

Definition at line 9 of file _RawFTData.py.


Constructor & Destructor Documentation

def ethercat_hardware.msg._RawFTData.RawFTData.__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:
   samples,sample_count,missed_samples

: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 27 of file _RawFTData.py.


Member Function Documentation

internal API method

Definition at line 55 of file _RawFTData.py.

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

Definition at line 81 of file _RawFTData.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 140 of file _RawFTData.py.

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

Definition at line 61 of file _RawFTData.py.

def ethercat_hardware.msg._RawFTData.RawFTData.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 119 of file _RawFTData.py.


Member Data Documentation

Definition at line 24 of file _RawFTData.py.

Initial value:
"""# Raw Data from WG035 F/T input via WG006 (gripper MCB).
RawFTDataSample[] samples  # The realtime loop receives upto 4 new samples each 1hKhz cycle 
int64 sample_count         # Counts number of samples
int64 missed_samples       # Counts number of samples that were missed
================================================================================
MSG: ethercat_hardware/RawFTDataSample
# One raw Data sample from WG035 F/T input via WG006 (gripper MCB).
uint64  sample_count
int16[] data
uint16  vhalf
"""

Definition at line 13 of file _RawFTData.py.

Definition at line 12 of file _RawFTData.py.

string ethercat_hardware::msg::_RawFTData.RawFTData::_md5sum = "85f5ed45095367bfb8fb2e57954c0b89" [static, private]

Definition at line 10 of file _RawFTData.py.

list ethercat_hardware::msg::_RawFTData.RawFTData::_slot_types = ['ethercat_hardware/RawFTDataSample[]','int64','int64'] [static, private]

Definition at line 25 of file _RawFTData.py.

string ethercat_hardware::msg::_RawFTData.RawFTData::_type = "ethercat_hardware/RawFTData" [static, private]

Definition at line 11 of file _RawFTData.py.

Definition at line 39 of file _RawFTData.py.

Definition at line 39 of file _RawFTData.py.

Definition at line 39 of file _RawFTData.py.


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


ethercat_hardware
Author(s): Rob Wheeler (email: wheeler@willowgarage.com), Maintained by Derek King (email: dking@willowgarage.com)
autogenerated on Thu Apr 24 2014 15:43:45