added gy80 dcm
Dependencies: mbed DCM_AHRS_GY80 PID MMA8451Q
Fork of quadCommand by
main.cpp
- Committer:
- dereklmc
- Date:
- 2013-06-10
- Revision:
- 33:4f62a7a46e71
- Parent:
- 29:799ccb9be2be
- Child:
- 34:d6696dc977a2
File content as of revision 33:4f62a7a46e71:
#include "quadCommand.h" #include "debug.h" #define DEBUG_ENABLE int main() { DEBUG(pc.printf("DEBUG ENABLED\r\n");) Ticker motorProcess; quadCommand quad; // Create quadCommand object. DEBUG(pc.printf("Initialized\r\n");) quad.run(); // Start quadCommand running. //Updates motors on set intervals motorProcess.attach(&quad, &quadCommand::updateMotors, quadCommand::MOTOR_UPDATE/1000.0f); }