TEB programma

Dependencies:   mbed QEI HIDScope biquadFilter MODSERIAL FastPWM

global.cpp

Committer:
JornD
Date:
2019-10-16
Branch:
Branch2
Revision:
64:5a6bf0cd1c50
Parent:
61:4c7de1e2f9fe
Child:
66:fa7171cf3f67

File content as of revision 64:5a6bf0cd1c50:

#include "global.h"
#include "structures.h"

//Constant values
    const float Ts = 0.002;
    const float PI = 3.14159265359;

//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;