M Seiser / Mbed 2 deprecated SWDEV_FunkGen_copy

Dependencies:   Serial_HL mbed

Fork of ProcVisDemo by michael hollegha

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers TP1Ord.h Source File

TP1Ord.h

00001 #ifndef TP1Ord_h
00002 #define TP1Ord_h
00003 
00004 class TP1Ord{
00005     public:
00006         float y; //ausgangswert
00007     private:
00008         float _alpha, _beta; //Koeffizient für fg 
00009     public:
00010         TP1Ord();
00011         
00012     //einen Abtastschritt des Filters rechnen 
00013     //es entsteht neues y
00014    void CalcOneStep(float aX);
00015    
00016    
00017    //fg(Zeitkonstante des Filters setzen
00018    //aAlpha 0...1
00019    void SetAlpha(float aAlpha);
00020     
00021 };
00022 
00023 #endif