Public Member Functions | Public Attributes | Private Attributes
wiimote.wiistate.GyroReading Class Reference

List of all members.

Public Member Functions

def __add__
def __div__
def __getitem__
def __init__
def __repr__
def __str__
def __sub__
def scale
def tuple

Public Attributes


Private Attributes


Detailed Description

Instances hold one gyroscope reading.

      [PHI], [THETA], [PSI] to obtain respective axis paramters.
      tuple() to obtain phi/theta/psi as a NumPy array.
      +,-,/ to add or subtract readings from each other
      as one vector operation (pairwise for each dimension).

Definition at line 498 of file

Constructor & Destructor Documentation

def wiimote.wiistate.GyroReading.__init__ (   self,
  theTime = None 
Create a (possibly) time stamped WII Reading.

Parameter phiThetaPsi is an array of phi,theta,psi coordinates of the
gyro reading. GyroReading instances can be added, subtracted, and
divided into each other. The operations are pairwise over
phi, theta, and psi. A numpy array of phi,theta,psi is available by
calling tuple(). The time stamp is available via time().

Definition at line 512 of file

Member Function Documentation

def wiimote.wiistate.GyroReading.__add__ (   self,
Adding two gyro readings returns a new reading with components added pairwise.

Definition at line 543 of file

def wiimote.wiistate.GyroReading.__div__ (   self,
Dividing two readings returns a numpy tuple with components divided pairwise.

Definition at line 554 of file

def wiimote.wiistate.GyroReading.__getitem__ (   self,

Definition at line 526 of file

Definition at line 537 of file

Definition at line 531 of file

def wiimote.wiistate.GyroReading.__sub__ (   self,
Subtracting two gyro readings returns a new reading 
with components subtracted pairwise.

Definition at line 547 of file

def wiimote.wiistate.GyroReading.scale (   self,
Return a numpy tuple that with X, Y, Z scaled by the given factor.

Definition at line 559 of file

Definition at line 540 of file

Member Data Documentation

Definition at line 519 of file

Definition at line 519 of file

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

Author(s): Andreas Paepcke and Melonee Wise
autogenerated on Sat Dec 28 2013 17:06:51