
TEB programma
Dependencies: mbed QEI HIDScope biquadFilter MODSERIAL FastPWM
Diff: controller.cpp
- Revision:
- 41:7c4c41326cc6
- Parent:
- 40:82addb417220
- Child:
- 43:9579a1afe9cb
--- a/controller.cpp Mon Oct 14 11:46:35 2019 +0000 +++ b/controller.cpp Mon Oct 14 12:15:43 2019 +0000 @@ -1,8 +1,27 @@ #include "structures.h" +//Hier het omschrijven van TF(s) naar direct (in z) +float TransferToDirect(float P, float Q) +{ + + return Coeff; +} + + void InitializeControllers(void) { + //Define Controller structures ControllerSettings SetOne; + + //Define Memory cells MemoryIO MemOne; + //Write controller setting values to structures + + SetOne.A = Coeff[0]; + SetOne.B = Coeff[1]; + SetOne.C = Coeff[2]; + SetOne.D = Coeff[3]; + SetOne.E = Coeff[4]; + } \ No newline at end of file