DP

Dependencies:   FastAnalogIn mbed-rtos mbed

Fork of dipl_prace_v10 by Roman Krejci

control.h

Committer:
romankrej
Date:
2015-04-28
Revision:
1:28d74f044818
Parent:
0:f3b355df6f26

File content as of revision 1:28d74f044818:

#ifndef _CONTROL_H
#define _CONTROL_H

#include "mbed.h"
class cControl {
    public:
        
        /* Constructor */
        cControl();
        
        /* This method compute required current and save it to shared resource */        
        void setCurrent();
    
    private: 
        /* State feedback constants */
        float K[4];
        
        float q[3];
        float e[3];
        float u_old;

};
#endif