X-Git-Url: https://rtime.felk.cvut.cz/gitweb/fpga/rpi-motor-control.git/blobdiff_plain/f11e0e40b525a7dfd9d452e02e676ee6cd0478a2..32aaacc65b9f894bea0897421277f71375a7f825:/pmsm-control/test_sw/controllers.h diff --git a/pmsm-control/test_sw/controllers.h b/pmsm-control/test_sw/controllers.h index 520745e..5b24148 100644 --- a/pmsm-control/test_sw/controllers.h +++ b/pmsm-control/test_sw/controllers.h @@ -21,18 +21,23 @@ #define PID_P_S 0.16 /*2.3 kmita*/ /*1.4 vhodne jen pro P regulator*/ #define PID_I_S 0.0134 +/** + * \brief No regulation. + */ +inline void zero_controller(struct rpi_state*); + /** * \brief * Very simple position P regulator. * Now only with P-part so that the error doesnt go to zero. */ -void pos_pid(struct rpi_state* state); +void pos_pid(struct rpi_state*); /** * \brief * Very simple PI speed regulator. */ -void spd_pid(struct rpi_state* state); +void spd_pid(struct rpi_state*); #endif /*CONTROLLERS*/