Public Member Functions | Public Attributes | List of all members
wiimote_node.WiimoteDataSender Class Reference
Inheritance diagram for wiimote_node.WiimoteDataSender:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, wiiMote, freq=100)
 
def canonicalizeWiistate (self)
 
def obtainWiimoteData (self)
 

Public Attributes

 angular_velocity_covariance
 
 freq
 
 gyroAbsence_covariance
 
 linear_acceleration_covariance
 
 sleepDuration
 
 wiiMote
 
 wiistate
 

Detailed Description

Definition at line 142 of file wiimote_node.py.

Constructor & Destructor Documentation

def wiimote_node.WiimoteDataSender.__init__ (   self,
  wiiMote,
  freq = 100 
)

Definition at line 144 of file wiimote_node.py.

Member Function Documentation

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 187 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 168 of file wiimote_node.py.

Member Data Documentation

wiimote_node.WiimoteDataSender.angular_velocity_covariance

Definition at line 157 of file wiimote_node.py.

wiimote_node.WiimoteDataSender.freq

Definition at line 148 of file wiimote_node.py.

wiimote_node.WiimoteDataSender.gyroAbsence_covariance

Definition at line 164 of file wiimote_node.py.

wiimote_node.WiimoteDataSender.linear_acceleration_covariance

Definition at line 152 of file wiimote_node.py.

wiimote_node.WiimoteDataSender.sleepDuration

Definition at line 149 of file wiimote_node.py.

wiimote_node.WiimoteDataSender.wiiMote

Definition at line 147 of file wiimote_node.py.

wiimote_node.WiimoteDataSender.wiistate

Definition at line 179 of file wiimote_node.py.


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


wiimote
Author(s): Andreas Paepcke, Melonee Wise, Mark Horn
autogenerated on Mon Jun 10 2019 13:42:43