Interfaces with the Accelerometer and Gyro.
More...
|
|
| specification |
| |
|
| scheduler |
| |
|
| filebase |
| |
|
| metrics |
| |
|
| callbacks |
| |
|
| mpi |
| |
|
| radian |
| |
|
| device |
| |
|
| config |
| |
|
| inittime |
| |
|
| tottime |
| |
|
| lpf |
| |
|
| steptime |
| |
|
| tmphigh |
| |
|
| tmpaang |
| |
|
| tmpgang |
| |
|
| tmpcang |
| |
|
| cleaned |
| |
|
| orientations |
| |
|
| orientation |
| |
Interfaces with the Accelerometer and Gyro.
§ __init__()
| def IMU.IMU.__init__ |
( |
|
self, |
|
|
|
specification = None, |
|
|
|
scheduler = None, |
|
|
|
stopped = False |
|
) |
| |
Initializes INU object
@param specification
@param scheduler
@param stopped
§ addCallback()
| def IMU.IMU.addCallback |
( |
|
self, |
|
|
|
name, |
|
|
|
callback |
|
) |
| |
adds a callback
@param name str
@param callback function
§ calculate()
| def IMU.IMU.calculate |
( |
|
self | ) |
|
calculates angles from imu data and runs callbacks
§ calibrate()
| def IMU.IMU.calibrate |
( |
|
self | ) |
|
§ initAngles()
| def IMU.IMU.initAngles |
( |
|
self | ) |
|
initializes the angle metrics
§ initComplement()
| def IMU.IMU.initComplement |
( |
|
self | ) |
|
initializes the complementary metrics
§ initHighpass()
| def IMU.IMU.initHighpass |
( |
|
self | ) |
|
initializes the high pass metrics
§ initLowpass()
| def IMU.IMU.initLowpass |
( |
|
self | ) |
|
initializes the low pass metrics
§ initNorm()
| def IMU.IMU.initNorm |
( |
|
self | ) |
|
initializes the normal metrics
§ initRaw()
| def IMU.IMU.initRaw |
( |
|
self | ) |
|
initializes the raw metrics
§ isAvailable()
| def IMU.IMU.isAvailable |
( |
| ) |
|
|
static |
§ removeCallback()
| def IMU.IMU.removeCallback |
( |
|
self, |
|
|
|
name |
|
) |
| |
removes a callback
@param name str
§ shutdown()
| def IMU.IMU.shutdown |
( |
|
self | ) |
|
§ start()
| def IMU.IMU.start |
( |
|
self | ) |
|
§ stop()
§ updateAng()
| def IMU.IMU.updateAng |
( |
|
self | ) |
|
§ updateCom()
| def IMU.IMU.updateCom |
( |
|
self | ) |
|
updates complementary metrics
§ updateHigh()
| def IMU.IMU.updateHigh |
( |
|
self | ) |
|
§ updateLow()
| def IMU.IMU.updateLow |
( |
|
self | ) |
|
§ updateNorm()
| def IMU.IMU.updateNorm |
( |
|
self | ) |
|
§ updateRaw()
| def IMU.IMU.updateRaw |
( |
|
self | ) |
|
The documentation for this class was generated from the following file: