How to read number in data file and do calculation?
Verfasst: 16 Sep 2023, 08:41
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
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