diff --git a/EENX15_LQR/EENX15_LQR.ino b/EENX15_LQR/EENX15_LQR.ino index 3508e9c..c8160a8 100644 --- a/EENX15_LQR/EENX15_LQR.ino +++ b/EENX15_LQR/EENX15_LQR.ino @@ -1,11 +1,10 @@ #include - int lastCorrectionTime = 0; int lastPrintTime = 0; -static int fastTimer = 80; -static int slowTimer = 800; +static int fastTimer = 80; //ms +static int slowTimer = 800; //ms //lqr stuff const uint8_t statesNumber = 4; diff --git a/EENX15_LQR/LQR.ino b/EENX15_LQR/LQR.ino index 1420c8c..e0f1b09 100644 --- a/EENX15_LQR/LQR.ino +++ b/EENX15_LQR/LQR.ino @@ -21,4 +21,3 @@ void lqr() { speed = speed*scaleConst; } -