Hi are you using a motor driver for that? How do you feed the motor driver to run. Is L293D driver applicable for that? I've seen the code but couldn't see any feeding to the driver to run the robot. Thanks
The code doesn't show the low level motor functions as the video is about computer vision not motor control. In the video I was using a RPi with a BrickPi hat that allows me to control Lego servo motors. But you can use what ever motor control you want including a L293D H-Bridge
@@outofthebots3122 Thanks for the reply. Could you please provide the logic on how a motor driver run base on that robot vision? How can I run left and right motor base on the captured black line. Thanks
@@fasterTV2023 well it was quite awhile ago I made this robot and video. Basics of any line following robot is a control loop, the sensor gives you what the error is (how far off line u are) then based upon the error u correct the steering. There is a number of ways to do this the most advanced is a PID controller for highest performance but there is simpler from basic on/off controller to proportional controllers. You can see some of my earlier videos on these simple types of controllers. In this video I was using a proportional controller because the angle predicts the future so you don't need a complex PID controller. I was basically doing scale1 * how far of line + scale2 * angle. You will have to adjust/tune the 2 scales for your particular robot
Love your accent mate! 😂
Good video.
Thank you.
very interesting tutorial
how can I do the double black (line interception)??
You can just add this if statement if(w > yourWidthOfTheObject):
For "yourWidthOfTheObject" you can paste your Width
Hope I could help
@@robosapien314 you are the best!!! Thank you.
Hi are you using a motor driver for that? How do you feed the motor driver to run. Is L293D driver applicable for that? I've seen the code but couldn't see any feeding to the driver to run the robot. Thanks
The code doesn't show the low level motor functions as the video is about computer vision not motor control. In the video I was using a RPi with a BrickPi hat that allows me to control Lego servo motors. But you can use what ever motor control you want including a L293D H-Bridge
@@outofthebots3122 Thanks for the reply. Could you please provide the logic on how a motor driver run base on that robot vision? How can I run left and right motor base on the captured black line. Thanks
@@fasterTV2023 well it was quite awhile ago I made this robot and video. Basics of any line following robot is a control loop, the sensor gives you what the error is (how far off line u are) then based upon the error u correct the steering. There is a number of ways to do this the most advanced is a PID controller for highest performance but there is simpler from basic on/off controller to proportional controllers. You can see some of my earlier videos on these simple types of controllers. In this video I was using a proportional controller because the angle predicts the future so you don't need a complex PID controller. I was basically doing scale1 * how far of line + scale2 * angle. You will have to adjust/tune the 2 scales for your particular robot
Is there a contact I can contact other than in this comments menu, I want to ask a few things
U can ask here
can you provide the complete program code?@@outofthebots3122
especially in robot motion programs@@outofthebots3122
man, how can i use this to controll motors
Robocup junior België? :-)
Hello
Hello