DP

Dependencies:   FastAnalogIn mbed-rtos mbed

control.h

Committer:
romankrej
Date:
2015-04-26
Revision:
0:f3b355df6f26

File content as of revision 0:f3b355df6f26:

#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