Proportional Line Follower for EV3 - Follow the Line Smoothly!

  Рет қаралды 208,894

Builderdude35

Builderdude35

Күн бұрын

Пікірлер: 127
@katel1272
@katel1272 6 жыл бұрын
Thanks for this explanation! I'm going to be running a FLL summer camp and this is perfect for explaining how to do proportional follow the line.
@Builderdude35
@Builderdude35 6 жыл бұрын
You're welcome! Good luck with the summer camp!
@OliverBevan23
@OliverBevan23 4 жыл бұрын
Great video and demonstration of how the values affect the robot's line-following abilities. Would love to have seen how it performs on bends in the line and sharp corners.
@aliburakparlar5475
@aliburakparlar5475 2 жыл бұрын
very nice video thanks to what i learned from you i always came first in competitions thank you very much
@tushitchatterjee8383
@tushitchatterjee8383 5 жыл бұрын
Can it be programed for curved lines?
@emilachsilach4773
@emilachsilach4773 7 жыл бұрын
Thanks Builderdude35 for making this video! It was great and i rely liked it!
@Builderdude35
@Builderdude35 7 жыл бұрын
Thank you! I'm thrilled that you enjoyed it!
@tubby4797
@tubby4797 7 жыл бұрын
really helped me in the FLL.
@Builderdude35
@Builderdude35 7 жыл бұрын
Awesome! I'm glad.
@AndysTechGarage
@AndysTechGarage 7 жыл бұрын
Will try this too with our bots!! Cannot wait!
@Builderdude35
@Builderdude35 7 жыл бұрын
I'm glad to hear that! Keep on experimenting.
@535igo6
@535igo6 5 жыл бұрын
Thanks! I needed this wro2019 elementary! Thx!
@waterhim8250
@waterhim8250 5 жыл бұрын
+1
@trompetenpeter1396
@trompetenpeter1396 3 жыл бұрын
awesome vid
@sorenirae
@sorenirae 5 жыл бұрын
Thx I needed this for my competition!
@firedog9537
@firedog9537 5 жыл бұрын
Same
@sarangsameer399
@sarangsameer399 4 жыл бұрын
Its not working on a curved line. Can u help me out?
@nikolassapalidis1539
@nikolassapalidis1539 5 жыл бұрын
Good channel budy, your the besttttttttt!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@jurijmartincic2268
@jurijmartincic2268 4 жыл бұрын
Thank you a lot. You truly helped me. :)
@jbot8108
@jbot8108 2 жыл бұрын
Thanks
@felixsteiner2528
@felixsteiner2528 7 жыл бұрын
Your Sirius Robot is awsome:)
@Builderdude35
@Builderdude35 7 жыл бұрын
Thank you!
@danieg1431
@danieg1431 5 жыл бұрын
Does it matter if you use the school edition rather than the home edition?
@andyvandyke6154
@andyvandyke6154 4 жыл бұрын
That’s really cool 😎.
@thebruisedreed9766
@thebruisedreed9766 5 жыл бұрын
Thanks for this vid, but I never could get it to work on our FLL EV3 robot after tinkering for about an hour. I suspect it has to do with where our color sensor is placed: not out in front of the robot like yours, but actually underneath the robot slightly behind the wheels. We had to go this way after a disastrous result a couple years ago where the florescent gym lighting at our competition was much different than the warm lighting in my house where we set the programs, and we failed everything we set out to do since the reflected light values were so much different. The next year we put the light sensor beneath the robot so the outside light didn't pollute, and did much better with those kinds of sensors/programs. Is it possible to use a follower program similar to this even though the light is in a different position on the robot? Thanks for the help.
@unagiroll
@unagiroll 5 жыл бұрын
We're having the same issue and also tucked our sensor in the middle under the brick. Were you able to resolve this issue?
@thebruisedreed9766
@thebruisedreed9766 5 жыл бұрын
Shazia Riaz nope. We just did without line following.
@unagiroll
@unagiroll 5 жыл бұрын
@@thebruisedreed9766 interesting. Did you try moving the sensor to the front to test and see if you're right about placement? I might do that. So odd that it won't work. Thanks for responding.
@spaceybread
@spaceybread 7 жыл бұрын
Cool Dude ! I also made a vid on my own program for a line follower
@Builderdude35
@Builderdude35 7 жыл бұрын
Awesome!
@preraksata4667
@preraksata4667 2 жыл бұрын
Can you make this code in Lego Mindstorms classroom software
@ajaykrohilla
@ajaykrohilla 5 жыл бұрын
Good channel, but I need u to make a line follower program with 2 color sensors
@teamshootingstars8885
@teamshootingstars8885 4 жыл бұрын
very helpful! thank you!!
4 жыл бұрын
That's line follower it is nice ¡
@ggelosstavrou9117
@ggelosstavrou9117 5 жыл бұрын
Is it posiible to do pid with medium motors ?? If yes show us please
@Builderdude35
@Builderdude35 5 жыл бұрын
Yes, a PID is a feedback loop algorithm, so you can really apply it to any system that required corrections based on error; that means any motor type for line following. The difference between Medium and Large motors is that Medium motors have no Move Steering block, so you have to make your own by adding/subtracting the power values in two independent motor blocks to make turns.
@ggelosstavrou9117
@ggelosstavrou9117 5 жыл бұрын
@@Builderdude35Ok but i how will i do that.Lets say i find the error (colour sensor value - target) and i multiply times kp.Then how can i make medium motors move in this steering(correction).Please tell me the exact code cause i have to make a medium motor line follower.Thank you!
@Builderdude35
@Builderdude35 5 жыл бұрын
@@ggelosstavrou9117 The output of the PID algorithm is a single numerical value. Set both medium motors to a base power level (ex: 50%) and then add the PID output to the power value of one Med motor, subtract it from the other.
@ggelosstavrou9117
@ggelosstavrou9117 5 жыл бұрын
@@Builderdude35 oh ok thank you very much i will try this! By the way can you watch a video on youtube called robotex 2018 line following 14 years old and older and watch the 3 best robots in the end.You believe it is just pid or it has something more.Please i need your opinion. Thanks a lot!
@aaronacademia4592
@aaronacademia4592 6 жыл бұрын
wowow ur voice has changed so much
@saifeldinmahmoud1941
@saifeldinmahmoud1941 6 ай бұрын
What is the program he is using ?
@andrewmckeever2416
@andrewmckeever2416 7 жыл бұрын
I went to summer camp and there was a robotics competition. The teacher used your videos to show kids everything they could possibly need to know for the program. The challenge was to make a robot drive in a perfect square and points were awarded for staying parallel and time. I used the same line follower (a month before this video) and it failed horribly. I know the program is perfect but the wood wrecked the color and the robot drive in circles. I ended up having to use a gyro sensor and came in third out of 16 teams. I only lost because I got stuck with tiny wheels and the two teams ahead of me had wheels bigger than Sirius. I’m still kinda mad lol.
@Builderdude35
@Builderdude35 7 жыл бұрын
Aww man! I'm sorry to hear it didn't work out! But, you can use this as a learning experience; taller wheels allow a robot to drive over bumps with less of an effect. Anyway, good luck next time!
@OliVer-tq2ku
@OliVer-tq2ku 3 жыл бұрын
I have a problem. I have NXT robot and if I use EV3 program its telling me that my color senzor is getting 0 or 1 and not more. If i measure the light reflection "manually" by the brick Im getting between 45-80 (table and black tape)
@adriancarrillo2935
@adriancarrillo2935 7 жыл бұрын
Good video !!!
@Builderdude35
@Builderdude35 7 жыл бұрын
Thank you!
@kkomang1888
@kkomang1888 6 жыл бұрын
thank you
@clifjonejontilano3578
@clifjonejontilano3578 3 жыл бұрын
Thanks for the info..btw im planning to build a follower guided pantograph for my plasma metal cutter, is it possible to use this design? The follower sensor will be riding on the x y axis table and the x y movements will be controlled by motors, it would need to be reversing..do you have a similar design that would fit my plan build? I wish you could help me..tia! Happy new year!
@akshitagoel6762
@akshitagoel6762 6 жыл бұрын
The robot starts on track but goes too much towards one side after that. Thanks for the video though
@bravesquid6183
@bravesquid6183 7 жыл бұрын
thanks
@Builderdude35
@Builderdude35 7 жыл бұрын
You're welcome.
@youtubeingcactus2851
@youtubeingcactus2851 6 жыл бұрын
your are awesome
@carlitr8s
@carlitr8s 6 жыл бұрын
amazing
@kr4yw656
@kr4yw656 5 жыл бұрын
How do u set a distance for the program
@Builderdude35
@Builderdude35 5 жыл бұрын
See my tutorial on Loop exits.
@carlitr8s
@carlitr8s 6 жыл бұрын
how i can use in curved line?
@clasoplayz1158
@clasoplayz1158 4 жыл бұрын
you can make it SUPER sharp turns
@panayiotamichaelide9773
@panayiotamichaelide9773 5 жыл бұрын
What type of tires/wheels are you using? Is it possible to send me the code of that wheel/tire?
@tjperkins2323
@tjperkins2323 6 жыл бұрын
Hi! I've a serious problem. We're using a robot similar to your robot, Sirius. The weight is distributed equally, it moves in a straight line, and the wheels has a firm grip. We've tried out your proportional line following program, but our robot seems to wiggle and lose track of the line.
@Builderdude35
@Builderdude35 6 жыл бұрын
Your Kp is improperly adjusted. From your description, it seems most likely that it is too large, so try experimenting with a smaller constant.
@bravesquid6183
@bravesquid6183 7 жыл бұрын
Can you make more 2 sensor line followers?
@Builderdude35
@Builderdude35 7 жыл бұрын
I think I've made all that I want to as of now.
@michaelpetrov7821
@michaelpetrov7821 7 жыл бұрын
Good video! But why don't you set the power 100 (-100)? Thank you!
@Builderdude35
@Builderdude35 7 жыл бұрын
As you can see, the robot I show in this demonstration, Sirius, has really tall wheels. 100% power would be too much and the robot would be way too fast to be controllable. If your robot has shorter wheels, then you might be able to try a higher power.
@michaelpetrov7821
@michaelpetrov7821 7 жыл бұрын
Thanks a lot, Builderdude35. But what I have to do to make your Sirius more fast (and controllable)? Can you continue to explain this theme (Line Follower) in your next video? Thank you!
@Builderdude35
@Builderdude35 7 жыл бұрын
You can definitely make it faster than the 35% I showed, but you will need to spend more time tuning. To make your robot more stable, you may want to rethink where the color sensors are in relation to the wheels. Check out this video (kzbin.info/www/bejne/oX-7qJ6MrNOqgqs), it explains what I mean. Also consider a two-sensor line follower; they are more stable.
@oracid
@oracid 7 жыл бұрын
Hi. Why did you not use the maths bloc with ADV mode and (a-b)*c instead of the 2 maths blocs ? Thank for your videos.
@Builderdude35
@Builderdude35 7 жыл бұрын
You can certainly use that block to replace the two math blocks with one. I chose to do two separate blocks because I think it's clearer and easier to teach that way. Also, I don't like having those two extra empty terms. It all works the same way when it runs on the robot, so which way you program is purely a matter of opinion.
@oracid
@oracid 7 жыл бұрын
Thank you for your answer. What do you think to make a video about where to put the sensor ? In front, between the wheels, by a side or in the middle ?
@Builderdude35
@Builderdude35 7 жыл бұрын
Definitely in front. I have a video that goes into a little more detail about sensor placement here: kzbin.info/www/bejne/oX-7qJ6MrNOqgqs
@oracid
@oracid 7 жыл бұрын
Thank you to your parents for having designed you.
@AbubakrJoramirzayev
@AbubakrJoramirzayev 6 ай бұрын
Programm name?¿
@carlitr8s
@carlitr8s 6 жыл бұрын
what is -0,6? help thanks. Carlos from Chile.
@Builderdude35
@Builderdude35 6 жыл бұрын
That is the proportional constant, which you can adjust to make the robot more or less sensitive when line following.
@agilankumar277
@agilankumar277 5 жыл бұрын
it's -0.6
@bradcristina6039
@bradcristina6039 6 жыл бұрын
I help me a lot,thank
@dluders
@dluders 7 жыл бұрын
If the robot starts FAR AWAY from the black line, what is the best way for the 'bot to ACQUIRE the line? If the approach is done at a steep angle (and not perfectly parallel with the black line in the first place), how can the robot "lock onto" the line without overshooting it? If the mat contains a lot of light & dark patches (mimicking the Reflected Light Intensity of the black line), how can the 'bot tell what is the desired line and what is just "clutter"?
@Builderdude35
@Builderdude35 7 жыл бұрын
Thank you for the suggestion! I'll be certain to make a tutorial on this topic in the coming weeks!
@andrewmckeever2416
@andrewmckeever2416 7 жыл бұрын
dluders you can put a loop inside a loop with different end conditions. The inner one can be until it is close to a line and the outer can be the actual color value. That will make it so the robot does not stop until it reaches appropriate distance and on the line (in theory). You could also make the robot drive up to the line and use the line squaring video that builderdude37 already has up. Hope I helped!
@Builderdude35
@Builderdude35 7 жыл бұрын
Thank you for sharing! That's pretty much what I was planning to say in the tutorial.
@tvishach
@tvishach 5 жыл бұрын
I tried the line follower with my robot, but it kept spinning in circles. How do I fix this? Thanks
@Builderdude35
@Builderdude35 5 жыл бұрын
Make sure that your color sensor is detecting the line. You can verify this using Port View to see the reflected light intensity and comparing it to your threshold value.
@imrlyrlybadatcomingupwithn5730
@imrlyrlybadatcomingupwithn5730 5 жыл бұрын
make sure your math block is a - and x
@mikec6111
@mikec6111 5 жыл бұрын
Make sure you're using the correct port for your sensor
@andresdiazmira
@andresdiazmira 5 жыл бұрын
good but bad boi how you turn help im in engkish class in india in colombia help my guy
@anmolkaran57
@anmolkaran57 7 жыл бұрын
How do I make the robot stop at a certain place?
@Builderdude35
@Builderdude35 7 жыл бұрын
Check out my tutorial on loop exits; it's exactly what you need: kzbin.info/www/bejne/lYq1qH5-hZmpbqM
@anmolkaran57
@anmolkaran57 7 жыл бұрын
ok thnks a lot BuilderDude!
@michaelwang1926
@michaelwang1926 6 жыл бұрын
he stole my line follower that i used to come first in ontario!!!
@3dprintingteen537
@3dprintingteen537 5 жыл бұрын
Michael Wang congrats
@nabeelparuk7017
@nabeelparuk7017 7 жыл бұрын
damn you've grown
@KIXEMITNOG
@KIXEMITNOG 5 жыл бұрын
I don't like one sensor line following generally.
@exoug1820
@exoug1820 5 жыл бұрын
do you have robocup tutorials?
@seenyr214
@seenyr214 5 жыл бұрын
yes
@garyg1848
@garyg1848 3 жыл бұрын
Now explain it in Scratch. Thanks
@diegohuijbregtsgarcia5102
@diegohuijbregtsgarcia5102 5 жыл бұрын
eh, so I could also make a math block with c(a-b)?
@squishychart1608
@squishychart1608 5 жыл бұрын
yes that would be correct
@spirospigadiotis2476
@spirospigadiotis2476 5 жыл бұрын
You are osom
@blacklisted2158
@blacklisted2158 5 жыл бұрын
This didn't work for me
@annagogo4868
@annagogo4868 5 жыл бұрын
Merci je vais pas échouer à mon test
@estifanosmoges653
@estifanosmoges653 5 жыл бұрын
It doesn't turn why
@RohanSS
@RohanSS 7 жыл бұрын
10/10 Butiful
@Builderdude35
@Builderdude35 7 жыл бұрын
Thanks!
@ohmingfeng9351
@ohmingfeng9351 7 жыл бұрын
speech 100
@jhonjanoskovacsvideoivegye2375
@jhonjanoskovacsvideoivegye2375 3 жыл бұрын
{>>" Good work/ nice ideas";}
@abb-uy2gi
@abb-uy2gi 7 жыл бұрын
Can't the arbitrary value be 50/(Target-Black intensity) Which means the maximum steering is 50 ? Try it out yourself.
@Builderdude35
@Builderdude35 7 жыл бұрын
Yes, it certainly can be. That's another way of setting up the math to get similar results, but I think that this way is easier to teach. Thanks for sharing!
@boywhogirl3987
@boywhogirl3987 6 жыл бұрын
Thank i going to WRO and iam open ,iam not regular
@aboomar2816
@aboomar2816 7 жыл бұрын
good
@Builderdude35
@Builderdude35 7 жыл бұрын
Thanks.
@adamwarren2006
@adamwarren2006 7 жыл бұрын
This doesn’t work it won’t go round a left turn or a right turn at all
@Builderdude35
@Builderdude35 7 жыл бұрын
You will need to adjust the k value to handle sharper turns. Or, use a PPID algorithm.
@Maya-pw5yv
@Maya-pw5yv 5 жыл бұрын
2:20
@Maya-pw5yv
@Maya-pw5yv 5 жыл бұрын
2:55
@japiocni0km277
@japiocni0km277 5 жыл бұрын
Ńïćê
@globalarts.s.colonymadurai101
@globalarts.s.colonymadurai101 6 жыл бұрын
It is the worst program ever!!!!!
How to Make an Effective EV3 Line Follower in 2 Minutes!
5:45
Builderdude35
Рет қаралды 217 М.
PID Line Follower for EV3 - The Ultimate Line Follower!
21:38
Builderdude35
Рет қаралды 256 М.
Why no RONALDO?! 🤔⚽️
00:28
Celine Dept
Рет қаралды 72 МЛН
ТЮРЕМЩИК В БОКСЕ! #shorts
00:58
HARD_MMA
Рет қаралды 2,6 МЛН
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
EV3 Classroom Line Follower
13:41
Mr. Goddard's STEM Tutorials
Рет қаралды 71 М.
High precision speed reducer using rope
20:19
Aaed Musa
Рет қаралды 2 МЛН
Stop Making THIS MISTAKE With Your LEGO Gyro Sensor
10:18
Builderdude35
Рет қаралды 18 М.
Following a Line with Lego Mindstorms
15:56
Unibots
Рет қаралды 37 М.
Proportional Line Follower for LEGO 51515 - Fast and Reliable
14:31
Builderdude35
Рет қаралды 49 М.
Make a TINY Arduino Drone with FPV Camera - Will It Fly?
20:26
Max Imagination
Рет қаралды 1,3 МЛН
Mindstorms EV3 Tutorial #6: Use the color sensor to follow a line
17:06
How I animate 3Blue1Brown | A Manim demo with Ben Sparks
53:41
3Blue1Brown
Рет қаралды 1 МЛН
Why no RONALDO?! 🤔⚽️
00:28
Celine Dept
Рет қаралды 72 МЛН