Generates reference based on analog input
Dependents: locomotion_pid_action_refactor_EMG
Diff: refGen.h
- Revision:
- 5:7186da6f562f
- Parent:
- 4:38af2aa14a3f
- Child:
- 6:a8a82cee2705
diff -r 38af2aa14a3f -r 7186da6f562f refGen.h --- a/refGen.h Sun Oct 22 08:01:03 2017 +0000 +++ b/refGen.h Sun Oct 22 08:06:37 2017 +0000 @@ -2,14 +2,12 @@ #define REFGEN_H #include "mbed.h" -#include "biquadChain.h" class refGen { public: refGen(PinName, float); // Constructor sets up the pin to read the reference from float getReference(); // Gets reference position on specified pin - float getFilteredReference(biquadChain BQC); // Gets reference position and filters using filter specified as a biquadChain float maxAngle; bool r_direction;