Library with P, PI and PID controller
Dependents: buttoncontrol includeair includeair Oudverslag
History
added correcttion for the angles which are introduces bij "bevestigingslip"
2015-10-29, by Gerth [Thu, 29 Oct 2015 14:50:14 +0000] rev 20
added correcttion for the angles which are introduces bij "bevestigingslip"
converted floats to doubles
2015-10-29, by Gerth [Thu, 29 Oct 2015 14:02:20 +0000] rev 19
converted floats to doubles
removed fault from pid with lowpass
2015-10-26, by Gerth [Mon, 26 Oct 2015 12:37:56 +0000] rev 18
removed fault from pid with lowpass
added pid with low pass and moved variables error_int and error_prev and Ts to the library (so these do not have to be send to the function when calling a library)
2015-10-26, by Gerth [Mon, 26 Oct 2015 12:25:31 +0000] rev 17
added pid with low pass and moved variables error_int and error_prev and Ts to the library (so these do not have to be send to the function when calling a library)
made error_int zero if the error is whitin the allowed error to prevent controller from spooling up if pod stays stationairy.
2015-10-23, by Gerth [Fri, 23 Oct 2015 12:13:00 +0000] rev 16
made error_int zero if the error is whitin the allowed error to prevent controller from spooling up if pod stays stationairy.
added an errorband, if the error is within this band, the signal to the motors = 0
2015-10-20, by Gerth [Tue, 20 Oct 2015 15:14:14 +0000] rev 15
added an errorband, if the error is within this band, the signal to the motors = 0
adjusted angles for controllers, now use; encoder1(pin a, pin b); encoder2 (pin b, pin a)
2015-10-19, by Gerth [Mon, 19 Oct 2015 13:44:22 +0000] rev 14
adjusted angles for controllers, now use; encoder1(pin a, pin b); encoder2 (pin b, pin a)
updatet documentation;
2015-10-09, by Gerth [Fri, 09 Oct 2015 13:53:18 +0000] rev 13
updatet documentation;
removed fault from code;
2015-10-09, by Gerth [Fri, 09 Oct 2015 13:49:53 +0000] rev 12
removed fault from code;
removed the safety value from constructor and made it a separate function;
2015-10-09, by Gerth [Fri, 09 Oct 2015 13:05:02 +0000] rev 11
removed the safety value from constructor and made it a separate function;