
TEB programma
Dependencies: mbed QEI HIDScope biquadFilter MODSERIAL FastPWM
global.cpp
- Committer:
- JornD
- Date:
- 2019-10-17
- Branch:
- Branch2
- Revision:
- 67:5ebb08e337ae
- Parent:
- 66:fa7171cf3f67
File content as of revision 67:5ebb08e337ae:
#include "global.h" #include "structures.h" //Constant values const float Ts = 0.002; const float PI = 3.14159265359; //Define Motor Data structure motorStruc motorData; //Define Controller structures, shorthand: Set_ //For the EMG filters ControllerSettings Set_LPFEMG; ControllerSettings Set_NOTEMG; //For the different controllers ControllerSettings Set_Base; //Controller base ControllerSettings Set_EndAffector; //Controller end affector //Define Memory cells of the Input/Output, shorthand: Mem_ //For the EMG filters MemoryIO Mem_LPFEMG; MemoryIO Mem_NOTEMG; //For the different controllers MemoryIO Mem_Base; MemoryIO Mem_EndAffector;