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.
@Builderdude356 жыл бұрын
You're welcome! Good luck with the summer camp!
@OliverBevan234 жыл бұрын
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.
@aliburakparlar54752 жыл бұрын
very nice video thanks to what i learned from you i always came first in competitions thank you very much
@tushitchatterjee83835 жыл бұрын
Can it be programed for curved lines?
@emilachsilach47737 жыл бұрын
Thanks Builderdude35 for making this video! It was great and i rely liked it!
@Builderdude357 жыл бұрын
Thank you! I'm thrilled that you enjoyed it!
@tubby47977 жыл бұрын
really helped me in the FLL.
@Builderdude357 жыл бұрын
Awesome! I'm glad.
@AndysTechGarage7 жыл бұрын
Will try this too with our bots!! Cannot wait!
@Builderdude357 жыл бұрын
I'm glad to hear that! Keep on experimenting.
@535igo65 жыл бұрын
Thanks! I needed this wro2019 elementary! Thx!
@waterhim82505 жыл бұрын
+1
@trompetenpeter13963 жыл бұрын
awesome vid
@sorenirae5 жыл бұрын
Thx I needed this for my competition!
@firedog95375 жыл бұрын
Same
@sarangsameer3994 жыл бұрын
Its not working on a curved line. Can u help me out?
@nikolassapalidis15395 жыл бұрын
Good channel budy, your the besttttttttt!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@jurijmartincic22684 жыл бұрын
Thank you a lot. You truly helped me. :)
@jbot81082 жыл бұрын
Thanks
@felixsteiner25287 жыл бұрын
Your Sirius Robot is awsome:)
@Builderdude357 жыл бұрын
Thank you!
@danieg14315 жыл бұрын
Does it matter if you use the school edition rather than the home edition?
@andyvandyke61544 жыл бұрын
That’s really cool 😎.
@thebruisedreed97665 жыл бұрын
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.
@unagiroll5 жыл бұрын
We're having the same issue and also tucked our sensor in the middle under the brick. Were you able to resolve this issue?
@thebruisedreed97665 жыл бұрын
Shazia Riaz nope. We just did without line following.
@unagiroll5 жыл бұрын
@@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.
@spaceybread7 жыл бұрын
Cool Dude ! I also made a vid on my own program for a line follower
@Builderdude357 жыл бұрын
Awesome!
@preraksata46672 жыл бұрын
Can you make this code in Lego Mindstorms classroom software
@ajaykrohilla5 жыл бұрын
Good channel, but I need u to make a line follower program with 2 color sensors
@teamshootingstars88854 жыл бұрын
very helpful! thank you!!
4 жыл бұрын
That's line follower it is nice ¡
@ggelosstavrou91175 жыл бұрын
Is it posiible to do pid with medium motors ?? If yes show us please
@Builderdude355 жыл бұрын
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.
@ggelosstavrou91175 жыл бұрын
@@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!
@Builderdude355 жыл бұрын
@@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.
@ggelosstavrou91175 жыл бұрын
@@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!
@aaronacademia45926 жыл бұрын
wowow ur voice has changed so much
@saifeldinmahmoud19416 ай бұрын
What is the program he is using ?
@andrewmckeever24167 жыл бұрын
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.
@Builderdude357 жыл бұрын
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-tq2ku3 жыл бұрын
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)
@adriancarrillo29357 жыл бұрын
Good video !!!
@Builderdude357 жыл бұрын
Thank you!
@kkomang18886 жыл бұрын
thank you
@clifjonejontilano35783 жыл бұрын
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!
@akshitagoel67626 жыл бұрын
The robot starts on track but goes too much towards one side after that. Thanks for the video though
@bravesquid61837 жыл бұрын
thanks
@Builderdude357 жыл бұрын
You're welcome.
@youtubeingcactus28516 жыл бұрын
your are awesome
@carlitr8s6 жыл бұрын
amazing
@kr4yw6565 жыл бұрын
How do u set a distance for the program
@Builderdude355 жыл бұрын
See my tutorial on Loop exits.
@carlitr8s6 жыл бұрын
how i can use in curved line?
@clasoplayz11584 жыл бұрын
you can make it SUPER sharp turns
@panayiotamichaelide97735 жыл бұрын
What type of tires/wheels are you using? Is it possible to send me the code of that wheel/tire?
@tjperkins23236 жыл бұрын
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.
@Builderdude356 жыл бұрын
Your Kp is improperly adjusted. From your description, it seems most likely that it is too large, so try experimenting with a smaller constant.
@bravesquid61837 жыл бұрын
Can you make more 2 sensor line followers?
@Builderdude357 жыл бұрын
I think I've made all that I want to as of now.
@michaelpetrov78217 жыл бұрын
Good video! But why don't you set the power 100 (-100)? Thank you!
@Builderdude357 жыл бұрын
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.
@michaelpetrov78217 жыл бұрын
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!
@Builderdude357 жыл бұрын
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.
@oracid7 жыл бұрын
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.
@Builderdude357 жыл бұрын
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.
@oracid7 жыл бұрын
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 ?
@Builderdude357 жыл бұрын
Definitely in front. I have a video that goes into a little more detail about sensor placement here: kzbin.info/www/bejne/oX-7qJ6MrNOqgqs
@oracid7 жыл бұрын
Thank you to your parents for having designed you.
@AbubakrJoramirzayev6 ай бұрын
Programm name?¿
@carlitr8s6 жыл бұрын
what is -0,6? help thanks. Carlos from Chile.
@Builderdude356 жыл бұрын
That is the proportional constant, which you can adjust to make the robot more or less sensitive when line following.
@agilankumar2775 жыл бұрын
it's -0.6
@bradcristina60396 жыл бұрын
I help me a lot,thank
@dluders7 жыл бұрын
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"?
@Builderdude357 жыл бұрын
Thank you for the suggestion! I'll be certain to make a tutorial on this topic in the coming weeks!
@andrewmckeever24167 жыл бұрын
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!
@Builderdude357 жыл бұрын
Thank you for sharing! That's pretty much what I was planning to say in the tutorial.
@tvishach5 жыл бұрын
I tried the line follower with my robot, but it kept spinning in circles. How do I fix this? Thanks
@Builderdude355 жыл бұрын
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.
@imrlyrlybadatcomingupwithn57305 жыл бұрын
make sure your math block is a - and x
@mikec61115 жыл бұрын
Make sure you're using the correct port for your sensor
@andresdiazmira5 жыл бұрын
good but bad boi how you turn help im in engkish class in india in colombia help my guy
@anmolkaran577 жыл бұрын
How do I make the robot stop at a certain place?
@Builderdude357 жыл бұрын
Check out my tutorial on loop exits; it's exactly what you need: kzbin.info/www/bejne/lYq1qH5-hZmpbqM
@anmolkaran577 жыл бұрын
ok thnks a lot BuilderDude!
@michaelwang19266 жыл бұрын
he stole my line follower that i used to come first in ontario!!!
@3dprintingteen5375 жыл бұрын
Michael Wang congrats
@nabeelparuk70177 жыл бұрын
damn you've grown
@KIXEMITNOG5 жыл бұрын
I don't like one sensor line following generally.
@exoug18205 жыл бұрын
do you have robocup tutorials?
@seenyr2145 жыл бұрын
yes
@garyg18483 жыл бұрын
Now explain it in Scratch. Thanks
@diegohuijbregtsgarcia51025 жыл бұрын
eh, so I could also make a math block with c(a-b)?
@squishychart16085 жыл бұрын
yes that would be correct
@spirospigadiotis24765 жыл бұрын
You are osom
@blacklisted21585 жыл бұрын
This didn't work for me
@annagogo48685 жыл бұрын
Merci je vais pas échouer à mon test
@estifanosmoges6535 жыл бұрын
It doesn't turn why
@RohanSS7 жыл бұрын
10/10 Butiful
@Builderdude357 жыл бұрын
Thanks!
@ohmingfeng93517 жыл бұрын
speech 100
@jhonjanoskovacsvideoivegye23753 жыл бұрын
{>>" Good work/ nice ideas";}
@abb-uy2gi7 жыл бұрын
Can't the arbitrary value be 50/(Target-Black intensity) Which means the maximum steering is 50 ? Try it out yourself.
@Builderdude357 жыл бұрын
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!
@boywhogirl39876 жыл бұрын
Thank i going to WRO and iam open ,iam not regular
@aboomar28167 жыл бұрын
good
@Builderdude357 жыл бұрын
Thanks.
@adamwarren20067 жыл бұрын
This doesn’t work it won’t go round a left turn or a right turn at all
@Builderdude357 жыл бұрын
You will need to adjust the k value to handle sharper turns. Or, use a PPID algorithm.