How to Write a Simple PID Line Follow Algorithm
48.4 هزار بار بازدید -
5 سال پیش
-
I made a couple goofs
I made a couple goofs regarding the speed of my motors. I forgot that the motor driver library I was using ranges from 0 to 100 for motor speed and I did my calculations from 0 to 255 so it took longer than normal to find a working P value.
This isn't a true PID in that it doesn't include an I term and it doesn't account for the amount of time between each reading. In a simple PID these don't matter all that much, as long as your readings are consistent in timing.
The blog article for this build can be found here: http://robotresearchlab.com/2019/03/1...
This isn't a true PID in that it doesn't include an I term and it doesn't account for the amount of time between each reading. In a simple PID these don't matter all that much, as long as your readings are consistent in timing.
The blog article for this build can be found here: http://robotresearchlab.com/2019/03/1...
5 سال پیش
در تاریخ 1398/01/03 منتشر شده
است.
48,451
بـار بازدید شده