Dit is het actieve stuurprogramma, behorend bij de bacheloropdracht van Menno Sytsma over de integratie van een Twisted string actuator in een handorthese
Dependencies: EMG FastPWM HIDScope mbed-src
Diff: main.cpp
- Revision:
- 6:35d5bab53f44
- Parent:
- 5:d1c6f7fef412
- Child:
- 7:2bbd0147b07b
--- a/main.cpp Fri Jun 17 10:14:23 2016 +0000 +++ b/main.cpp Fri Jun 17 10:21:12 2016 +0000 @@ -220,7 +220,7 @@ Error = Errorberekening(Ref2, Input); Ref_der = Referentie2-Ref_prev; Ref_prev = Referentie2; - Output = PID_controller(Error,0.5,0.1,0.01,0.01, Error_prev, Error_int); + Output = PID_controller(Error,0.5,0.1,0.05,0.01, Error_prev, Error_int); Motor_controller(); if (LoopTimerFlag2==1) { Afgeleide_Force();