Motion Control library for 2, 3 inputs Full Bridge + Quadrature Encoder, motor system (also called a 2 wheels robot)

Dependencies:   Encoder_Nucleo_16_bits

Dependents:   FRC_2018 FRC2018_Bis 0hackton_08_06_18 lib_FRC_2019 ... more

Revision:
1:24c444f3716b
Parent:
0:259a31d968a6
Child:
2:d6f14bb935da
--- a/PID.h	Sun May 20 08:34:23 2018 +0000
+++ b/PID.h	Mon May 21 16:16:13 2018 +0000
@@ -106,7 +106,7 @@
      * @param outDir is the Mbed pin used to send direction to the full bridge
      * @param invDir is the Mbed pin used to send direction (in case of 3 pins full bridge)
      */
-    PID(TIM_TypeDef * _TIM, PinName outPWM, PinName outA, PinName outB, double scale = 31.8309886184, double loopTime = 0.001);
+    PID(TIM_TypeDef * TIM, PinName outPWM, PinName outA, PinName outB, double scale = 31.8309886184, double loopTime = 0.001);
 
     /**
      * Set the Kp value