$search

wiimote_node::WiimoteDataSender Class Reference

Inheritance diagram for wiimote_node::WiimoteDataSender:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def canonicalizeWiistate
def obtainWiimoteData

Public Attributes

 angular_velocity_covariance
 freq
 gyroAbsence_covariance
 linear_acceleration_covariance
 sleepDuration
 wiiMote
 wiistate

Detailed Description

Definition at line 149 of file wiimote_node.py.


Member Function Documentation

def wiimote_node::WiimoteDataSender::__init__ (   self,
  wiiMote,
  freq = 100 
)
def wiimote_node::WiimoteDataSender::canonicalizeWiistate (   self  ) 
Scale accelerator, nunchuk accelerator, and gyro readings to be m/sec^2, m/sec^2 and radians/sec, respectively.

Definition at line 194 of file wiimote_node.py.

def wiimote_node::WiimoteDataSender::obtainWiimoteData (   self  ) 
Retrieve one set of Wiimote measurements from the Wiimote instance. Return scaled accelerator and gyro readings.

We canonicalize both accelerator and gyro data through
scaling them by constants that turn them into m/sec^2, and 
radians/sec, respectively.

Return: list of canonicalized accelerator and gyro readings. 

Definition at line 175 of file wiimote_node.py.


Member Data Documentation

Definition at line 164 of file wiimote_node.py.

Definition at line 155 of file wiimote_node.py.

Definition at line 171 of file wiimote_node.py.

Definition at line 159 of file wiimote_node.py.

Definition at line 156 of file wiimote_node.py.

Definition at line 154 of file wiimote_node.py.

Definition at line 186 of file wiimote_node.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:47 2013