![]() |
FLL proportional alignment!
1 Attachment(s)
Could someone please help me on making a proportional alignment program with an EV3?
Thank you! |
Re: FLL proportional alignment!
Can you explain what you mean by "proportional alignment"? What do you want the program to do?
|
Re: FLL proportional alignment!
Sorry I did not specify, what the program is supposed to do is align on a colored line with light intensity while using a proportional controller.
Thank You:D |
Re: FLL proportional alignment!
Find the white paper here on CD somewhere called "PID without a PhD", that will help you understand the idea behind a P controller. Then search the term "PID" which is what you are looking for - just that your I and D terms will be ignored.
I'm not a programmer, and i know little about the EV3, but... <Pseudocode> Code:
Does sensor see line? |
Re: FLL proportional alignment!
4 Attachment(s)
We didn't have a LEGO team this year, but last year we had a couple of PID "P" only drives. Attached are a few "test" samples that run in a loop for testing and tuning.
#1: LightDrive: This followed a black line with pin point precision. You're light sensor needs to be about 1/2" to 3/4" away from the line. #2: GyroDrive: We could drive in a straight line using the Gyro. Hope it helps. |
Re: FLL proportional alignment!
Could someone please post a link to "PID without a PHD".
Thanks! |
Re: FLL proportional alignment!
|
| All times are GMT -5. The time now is 08:56. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi