Definition at line 142 of file wiimote_node.py.
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 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.
wiimote_node.WiimoteDataSender.angular_velocity_covariance |
wiimote_node.WiimoteDataSender.freq |
wiimote_node.WiimoteDataSender.gyroAbsence_covariance |
wiimote_node.WiimoteDataSender.linear_acceleration_covariance |
wiimote_node.WiimoteDataSender.sleepDuration |
wiimote_node.WiimoteDataSender.wiiMote |
wiimote_node.WiimoteDataSender.wiistate |
The documentation for this class was generated from the following file: