control for robotic arm that can play chess using a granular gripper

Dependencies:   Encoder mbed HIDScope Servo MODSERIAL

Fork of chessRobot by a steenbeek

Revision:
122:1a5df0765790
Parent:
117:b1667291748d
Child:
123:815ace09b753
--- a/main.cpp	Wed Oct 28 13:38:36 2015 +0100
+++ b/main.cpp	Thu Oct 29 12:26:50 2015 +0000
@@ -26,7 +26,7 @@
 void tickerAttach(){
     EMGTick.attach(&emg_activate, 0.005f);
     switchesTick.attach(&switches_activate, 0.02f);
-    debugTick.attach(&debug_activate, 0.03f);
+    debugTick.attach(&debug_activate, motorCall);
     motorTick.attach(&motor_activate, motorCall);
     safetyTick.attach(&safety_activate, 0.001f);
 }
@@ -40,7 +40,7 @@
 
 int main(){
     motorInit();
-    calReady = calibrateMotors();
+    calReady = true;
 
     while (true) {