$search

wiimote::msg::_IrSourceInfo::IrSourceInfo Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 ir_size
 x
 y

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['x','y','ir_size']
string _full_text
 _has_header = False
string _md5sum = "95274ca88b9f008b99984b9a61d2772e"
list _slot_types = ['float64','float64','int64']
string _type = "wiimote/IrSourceInfo"

Detailed Description

Definition at line 6 of file _IrSourceInfo.py.


Member Function Documentation

def wiimote::msg::_IrSourceInfo::IrSourceInfo::__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:
   x,y,ir_size

@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 36 of file _IrSourceInfo.py.

def wiimote::msg::_IrSourceInfo::IrSourceInfo::_get_types (   self  )  [private]
internal API method

Definition at line 64 of file _IrSourceInfo.py.

def wiimote::msg::_IrSourceInfo::IrSourceInfo::deserialize (   self,
  str 
)
unpack serialized message in str into this message instance
@param str: byte array of serialized message
@type  str: str

Definition at line 82 of file _IrSourceInfo.py.

def wiimote::msg::_IrSourceInfo::IrSourceInfo::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
@type  str: str
@param numpy: numpy python module
@type  numpy: module

Definition at line 113 of file _IrSourceInfo.py.

def wiimote::msg::_IrSourceInfo::IrSourceInfo::serialize (   self,
  buff 
)
serialize message into buffer
@param buff: buffer
@type  buff: StringIO

Definition at line 70 of file _IrSourceInfo.py.

def wiimote::msg::_IrSourceInfo::IrSourceInfo::serialize_numpy (   self,
  buff,
  numpy 
)
serialize message with numpy array types into buffer
@param buff: buffer
@type  buff: StringIO
@param numpy: numpy python module
@type  numpy module

Definition at line 99 of file _IrSourceInfo.py.


Member Data Documentation

Definition at line 33 of file _IrSourceInfo.py.

Initial value:
"""# Sensor data pertaining to the Wiimote infrared camera.
# This message contains data for one of the four infrared 
# light sources that the camera detects.
#
# Each light is specified with a 2D position and 
# a 'source magnitude' (ir_size). If the x dimension
# is set to INVALID_FLOAT, then no light was detected for 
# the respective light. The Wiimote handles up to
# four light sources, and the wiimote_node.py software
# is written to that limit as well.
#
# I am unsure what the 'ir_size' values represent. 
# They are described as 'source magnitude' in some places. I
# *assume* this is signal amplitude, but it's unclear. 
# Note that current lowest level cwiid driver does not 
# seem to pass the ir_size value to the cwiid Wiimote.c. 
# For now this size will therefore be set INVALID

float64 x 
float64 y 
int64 ir_size

"""

Definition at line 10 of file _IrSourceInfo.py.

Definition at line 9 of file _IrSourceInfo.py.

string wiimote::msg::_IrSourceInfo::IrSourceInfo::_md5sum = "95274ca88b9f008b99984b9a61d2772e" [static, private]

Definition at line 7 of file _IrSourceInfo.py.

list wiimote::msg::_IrSourceInfo::IrSourceInfo::_slot_types = ['float64','float64','int64'] [static, private]

Definition at line 34 of file _IrSourceInfo.py.

string wiimote::msg::_IrSourceInfo::IrSourceInfo::_type = "wiimote/IrSourceInfo" [static, private]

Definition at line 8 of file _IrSourceInfo.py.

Definition at line 58 of file _IrSourceInfo.py.

Definition at line 54 of file _IrSourceInfo.py.

Definition at line 56 of file _IrSourceInfo.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends


wiimote
Author(s): Andreas Paepcke and Melonee Wise
autogenerated on Fri Mar 1 15:54:46 2013