Updates error values
Dependents: locomotion_pid_action_refactor_EMG
Diff: errorFetch.cpp
- Revision:
- 3:71a7dd98fb2c
- Parent:
- 2:d22c458a8a78
- Child:
- 4:2af658a4e54b
diff -r d22c458a8a78 -r 71a7dd98fb2c errorFetch.cpp --- a/errorFetch.cpp Sun Oct 22 07:56:59 2017 +0000 +++ b/errorFetch.cpp Sun Oct 22 08:01:40 2017 +0000 @@ -2,7 +2,6 @@ #include "mbed.h" #include "QEI.h" -#include "refGen.h" // Member function definitions errorFetch::errorFetch(float N, float Ts):gearRatio(N), Ts(Ts), e_pos(0), e_int(0), e_der(0), e_prev(0){