Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of RT2_P3_students_G4 by
PI_Cntrl.cpp
- Committer:
- altb
- Date:
- 2018-04-09
- Revision:
- 2:769ce5f06d3e
- Parent:
- 0:78ca29b4c49e
- Child:
- 6:8ed679044a72
File content as of revision 2:769ce5f06d3e:
/*#include "PI_Cntrl.h"
using namespace std;
PI_Cntrl::PI_Cntrl(float Kp, float Tn){
    this->Kp = Kp;
    this->Tn = Tn_;
    
    //...
    
    
    }
PI_Cntrl::~PI_Cntrl() {} 
    
void PI_Cntrl::reset(float initValue) {
//...
}
float PI_Cntrl::doStep(float error){
    
    // ...
    
    // -------- Anti-Windup -------- 
    // ...
    // -------- Timeshift --------
    
    
    }*/
            
    