control for robotic arm that can play chess using a granular gripper
Dependencies: Encoder mbed HIDScope Servo MODSERIAL
Fork of chessRobot by
Diff: PID/PID.h
- Revision:
- 83:8fa05f53fc73
- Parent:
- 82:4cc8f9ad3fec
--- a/PID/PID.h Tue Oct 20 14:30:54 2015 +0200 +++ b/PID/PID.h Tue Oct 20 14:58:55 2015 +0200 @@ -5,7 +5,7 @@ public: #define MANUAL 0 #define AUTOMATIC 1 - #define DIRECT 0 + #define FORWARD 0 #define REVERSE 1 PID(double*, double*, double*, double, double, double); @@ -27,7 +27,7 @@ private: void Initialize(); - + int controllerDirection; double SampleTime; double *myInput; // * Pointers to the Input, Output, and Setpoint variables double *myOutput; // This creates a hard link between the variables and the