I know it's been a year, but I just tried and it works very well. I would just recommend making your round do some rotations before start doing the curve
What happens if the three EV3 Color Sensors are all in aligned evenly, straight across the front of the robot? Does the center EV3 Color Sensor have to be mounted a bit more forward than the outermost two EV3 Color Sensors?
I was just too lazy to change the sensor configuration on the robot. It actually works better with the middle sensor in line or behind the other two, so the robot can anticipate the 90 degree turns better. But, with enough programming, you can make anything work.
What if we have a white gap and I want it to catch the other end of my line? the robot will start rotating on itself because of the propotional.. How can I fix this error?
You can learn about programming a line follower to pass over intersections (or gaps) in lines from this tutorial: ua-cam.com/video/LXdm6-Gl0WE/v-deo.html
I imagine that having three EV3 Color Sensors would make it easier to ACQUIRE the line (from a far-away launch point), and then STAY ON the line. If the approach angle is sharp, the outermost EV3 Color Sensors would allow the robot to turn sharply to stay on the line (without overshooting it), correct?
As I said in the video, a 3-sensor line follower is not a replacement for a PID. This is for those extreme cases that a PID can't handle (90 degree turns).
In that case, yes, your PID line follower is much more efficient. It's much easier to get a three-sensor program to that performance level, but if you have a PID that works just as well, then definitely use that.
Not really... With the kind of 3-sensor line follower I show here, you can apply a PID algorithm to the middle sensor, but the two outer sensors will always be Boolean. While it is possible to do it (at least, only for the middle sensor), it wouldn't make much sense to do it, as you wouldn't get many advantages from the added complexity.
builderdude35 has singlehandedly made my will to live skyrocket with these videos. thank you SO MUCH
Thank you so much for your videos!!! They are amazing
I remember you! I used to watch so many of your videos 2 years ago when I first got my ev3. Good on you for still making videos!
Haha, thank you! I hope I can continue as long as I can.
Will this algorithm work for extreme paths for example if there are circles and zig zags?
I know it's been a year, but I just tried and it works very well. I would just recommend making your round do some rotations before start doing the curve
nope its shit af
Can you upload your programs somewhere and put the link here? It's annoying to pause the video and go back into mindstorms to put the block i saw.
you can made a version of that without variables?
Can it work on curved lines??
I have a question
what happens when we put the whole pid part in the middle sensor
Hi there, in my case after completed the mission to follow the line, how to stop the robot in the loop program? Thank you.
See my tutorial on programming loop interrupts
What happens if the three EV3 Color Sensors are all in aligned evenly, straight across the front of the robot? Does the center EV3 Color Sensor have to be mounted a bit more forward than the outermost two EV3 Color Sensors?
I was just too lazy to change the sensor configuration on the robot. It actually works better with the middle sensor in line or behind the other two, so the robot can anticipate the 90 degree turns better. But, with enough programming, you can make anything work.
Mine is going like crazy to the right and left.Any solution?
adjust your proportionality value or whatever that was?
What if we have a white gap and I want it to catch the other end of my line? the robot will start rotating on itself because of the propotional.. How can I fix this error?
You can learn about programming a line follower to pass over intersections (or gaps) in lines from this tutorial: ua-cam.com/video/LXdm6-Gl0WE/v-deo.html
awesome! is there any video of it following a curved line?
No video, but it should be able to handle gentle curves.
I imagine that having three EV3 Color Sensors would make it easier to ACQUIRE the line (from a far-away launch point), and then STAY ON the line. If the approach angle is sharp, the outermost EV3 Color Sensors would allow the robot to turn sharply to stay on the line (without overshooting it), correct?
Great point! You are absolutely correct!
Does this works for the nxt robot? Thanks
Yes.
Nice. Do 4 sensor line follow exist? Also, how would you code a wall follower with one sensor on two sides?
Yes, they exist. Maybe I'll do a video on that!
How is this even close to as efficient as a one sensor PID..?
Reece Robinson, yeah. Also if you buy an EV3 kit it only comes with one. 🙁
DexFire yeah man, we have 3 on our robot, but we only use 1 sensor PID. Takes a full day to calibrate, but it is PERFECT.
As I said in the video, a 3-sensor line follower is not a replacement for a PID. This is for those extreme cases that a PID can't handle (90 degree turns).
Builderdude35 But our PID can do 90 degree turns on either side of the line?
In that case, yes, your PID line follower is much more efficient. It's much easier to get a three-sensor program to that performance level, but if you have a PID that works just as well, then definitely use that.
You need 3 sensors for right angles? I need 1
Will 3 sensor line follower turn properly on Intersections?
Yes, but you will need to program it to react similar to how any other line follower would : ua-cam.com/video/LXdm6-Gl0WE/v-deo.html
Makes you wonder how much programming goes into a Mars rover that can't follow any particular line!
Спасибо Бро))))
I got the same glasses!!!
Sounds like you've got a great fashion sense! ;)
Could i make a 3 sensor PID line follower?
Not really... With the kind of 3-sensor line follower I show here, you can apply a PID algorithm to the middle sensor, but the two outer sensors will always be Boolean. While it is possible to do it (at least, only for the middle sensor), it wouldn't make much sense to do it, as you wouldn't get many advantages from the added complexity.
Thanks!
Line Follower dan Sumo Robot Competition Tech Enthusiast Day D'TEDI SV UGM : ua-cam.com/video/kaL13tEwL1E/v-deo.html
love you