2014 Eurobot fork
Dependencies: mbed-rtos mbed QEI
Diff: main.cpp
- Revision:
- 49:665bdca0f2cd
- Parent:
- 48:254b124cef02
- Child:
- 50:937e860f4621
diff -r 254b124cef02 -r 665bdca0f2cd main.cpp --- a/main.cpp Fri Apr 12 17:03:53 2013 +0000 +++ b/main.cpp Fri Apr 12 21:07:00 2013 +0000 @@ -75,8 +75,8 @@ Thread updatethread(Kalman::updateloop, NULL, osPriorityNormal, 2084); - //Ticker motorcontroltestticker; - //motorcontroltestticker.attach(MotorControl::motor_control_isr, 0.01); + Ticker motorcontroltestticker; + motorcontroltestticker.attach(MotorControl::motor_control_isr, 0.05); // ai layer thread Thread aithread(AI::ailayer, NULL, osPriorityNormal, 2048);