Hi all ft member,
1. I am studying ft lesson plan on PID controller for line follower robot
2. i would like to try getting the last 3 position number, average it and feed it back into loop to tune robot
My questions:
how to achieve getting last 3 number and average it out?
thanks
Jonathan
How to read number in data file and do calculation?
Forumsregeln
Bitte beachte die Forumsregeln!
Bitte beachte die Forumsregeln!