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:
54:c14c3bc48b8a
Parent:
52:2ac9dee099ce
Child:
55:ee5257fb73df
--- a/actuators.cpp	Fri Oct 09 11:44:05 2015 +0000
+++ b/actuators.cpp	Fri Oct 09 12:08:35 2015 +0000
@@ -110,8 +110,8 @@
 }
 
 void writeMotors(){
-    motor1PID.compute(); // calculate PID outputs, output changes automatically
-    motor2PID.compute();
+    motor1PID.Compute(); // calculate PID outputs, output changes automatically
+    motor2PID.Compute();
 // write new values to motor's
     if (motor1PWM >= 0 ){ // CCW rotation 
         direction1 = false;