Public Member Functions | Public Attributes
wiimote_node.WiiSender Class Reference
Inheritance diagram for wiimote_node.WiiSender:
Inheritance graph

List of all members.

Public Member Functions

def __init__
def run

Public Attributes


Detailed Description

Broadcasting complete Wiimote messages to Topic wiimote

Definition at line 542 of file

Constructor & Destructor Documentation

def wiimote_node.WiiSender.__init__ (   self,
  freq = 100 
Initializes the full-Wiimote publisher.
    wiiMote: a bluetooth-connected, calibrated WIIMote instance
    freq:    the message sending frequency in messages/sec. Max is 100, because
     the Wiimote only samples the sensors at 100Hz.

Reimplemented from wiimote_node.WiimoteDataSender.

Definition at line 545 of file

Member Function Documentation

Loop that obtains the latest wiimote state, publishes the data, and sleeps.

The wiimote message, if fully filled in, contains information in common with Imu.msg:
acceleration (in m/s^2), and angular rate (in radians/sec). For each of
these quantities, the IMU message format also wants the corresponding
covariance matrix.

The covariance matrices are the 3x3 matrix with the axes' variance in the 
diagonal. We obtain the variance from the Wiimote instance.  

Definition at line 558 of file

Member Data Documentation

Definition at line 551 of file

Definition at line 567 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