TEB programma

Dependencies:   mbed QEI HIDScope biquadFilter MODSERIAL FastPWM

Committer:
JornD
Date:
Thu Oct 17 14:39:36 2019 +0000
Branch:
Branch2
Revision:
67:5ebb08e337ae
Parent:
66:fa7171cf3f67
WORKING - Implemented moving average

Who changed what in which revision?

UserRevisionLine numberNew contents of line
JornD 64:5a6bf0cd1c50 1 //Don't forget to call this file (global.h) where these values are used
JornD 64:5a6bf0cd1c50 2 #ifndef global_h
JornD 64:5a6bf0cd1c50 3 #define global_h
JornD 56:58cbb056e4be 4
JornD 64:5a6bf0cd1c50 5 extern const float PI;
JornD 64:5a6bf0cd1c50 6 extern const float Ts;
JornD 66:fa7171cf3f67 7 //Motor data
JornD 66:fa7171cf3f67 8 extern struct motorStruc motorData;
JornD 64:5a6bf0cd1c50 9
JornD 64:5a6bf0cd1c50 10 //Define Controller structures, shorthand: Set_
JornD 64:5a6bf0cd1c50 11 extern struct ControllerSettings Set_LPFEMG;
JornD 64:5a6bf0cd1c50 12 extern struct ControllerSettings Set_NOTEMG;
JornD 64:5a6bf0cd1c50 13 //--
JornD 64:5a6bf0cd1c50 14 extern struct ControllerSettings Set_Base; //Controller base
JornD 64:5a6bf0cd1c50 15 extern struct ControllerSettings Set_EndAffector; //Controller end affector
JornD 64:5a6bf0cd1c50 16
JornD 64:5a6bf0cd1c50 17 //Define Memory cells of the Input/Output, shorthand: Mem_
JornD 64:5a6bf0cd1c50 18 extern struct MemoryIO Mem_LPFEMG;
JornD 64:5a6bf0cd1c50 19 extern struct MemoryIO Mem_NOTEMG;
JornD 64:5a6bf0cd1c50 20 //--
JornD 64:5a6bf0cd1c50 21 extern struct MemoryIO Mem_Base;
JornD 64:5a6bf0cd1c50 22 extern struct MemoryIO Mem_EndAffector;
JornD 61:4c7de1e2f9fe 23
JornD 64:5a6bf0cd1c50 24 #endif