Robotics Programming: PID Algorithm - Wall Following and Balancing

  Рет қаралды 16,384

Coding Coach

Coding Coach

Күн бұрын

Пікірлер: 46
@JasonLearmouth
@JasonLearmouth 3 жыл бұрын
This is the best PID explanation I've seen, and I've watched at least 15 other videos on the topic. The manually worked example brought it all together for me and I now feel like I can actually implement a PID controller in code myself.
@CodingCoach
@CodingCoach 3 жыл бұрын
I am so glad it was helpful! Thank you for the feedback!
@JasonLearmouth
@JasonLearmouth 3 жыл бұрын
@@CodingCoach No worries. BTW, do you have a GitHub repo with your pseudo code in it? I know there's not much to it, but it would be nice to have the template to start from.
@CodingCoach
@CodingCoach 3 жыл бұрын
I am actually looking at setting that up this week!
@CodingCoach
@CodingCoach 3 жыл бұрын
@@JasonLearmouth I set up access through a sponsorship model using GitHub sponsors. You can learn more here if you are interested: codingcoach.net/sponsor
@ThomasCaetano1970
@ThomasCaetano1970 Ай бұрын
Sometimes the smaller channels provide the best explanations and clarifications. This is a great example.
@peterkanini867
@peterkanini867 Жыл бұрын
What would someone have to be doing, and how much knowledge do you need to have accumulated to come up with such a simple yet robust algorithm? Hat's off to the one who came up with it. Best explanation of the algorithm I have ever seen. My search for this explanation officially ends here. Thanks man!
@jbaisden
@jbaisden 3 жыл бұрын
As someone who is literally trying to figure out a starting place in Robotics, I immediately liked, subscribed, and set alerts on your videos.
@CodingCoach
@CodingCoach 3 жыл бұрын
Awesome, thank you!
@jubair-
@jubair- 10 ай бұрын
Same things done
@kartikbaderiya7323
@kartikbaderiya7323 2 жыл бұрын
I appreciate u a lot for making this video. Literally watched over 50 videos to understand the concept behind PID, finally after watching this video, i can practically implement this in my robot. Thanks a lot buddy
@MathComputerScienceTradi-ge7tw
@MathComputerScienceTradi-ge7tw 11 ай бұрын
Can you please make a video about when the distance from the wall is not at 90 degree angle?
@pramodkalhara3999
@pramodkalhara3999 5 ай бұрын
Bro this is Gold.Thanks Man❤❤❤❤❤❤
@ReDoG129
@ReDoG129 6 ай бұрын
I'm in a robotics class and I HATE MATH WITH A PASSION. But this video will come in handy. I definitely will save this to my favorites. Thanks! 😅😅😅
@maryskurt
@maryskurt 3 жыл бұрын
I hope you are able to continue this series! I check every day for a new video!!!! Thank you for all your work!
@CodingCoach
@CodingCoach 3 жыл бұрын
You are most welcome.. the series is not forgotten :)
@athuldas44
@athuldas44 2 жыл бұрын
sir you are the best teacher i bet there will be no one like you who can explain this algorithm keep sharing your knowledge
@shivangmandvia_drat3569
@shivangmandvia_drat3569 2 жыл бұрын
Awesome explanation on PID 👍
@TheClickMonger
@TheClickMonger 2 жыл бұрын
I love how you explained everything about PID controllers. This is the best PID video I've seen so far. I've been looking for an explanation on how to adjust the COG of the robot when you add weight or if it runs on an incline surface. Can you advise how to code that?
@AhmedRayyan284
@AhmedRayyan284 2 жыл бұрын
please are you going to continue the series ? that was the best one on the youtube and it is bad that it is uncomplated but thanks anyway
@maryskurt
@maryskurt 3 жыл бұрын
That you!! Great Explanation!!!
@CodingCoach
@CodingCoach 3 жыл бұрын
Your welcome!
@nilupuleeamarathunga8021
@nilupuleeamarathunga8021 Жыл бұрын
Thank you. understood well
@Teacher_Ali
@Teacher_Ali 3 жыл бұрын
Great explanation - Thanks.
@CodingCoach
@CodingCoach 3 жыл бұрын
You are welcome!
@Minji_Hanni_Dani_Haerin_Hyein
@Minji_Hanni_Dani_Haerin_Hyein 2 жыл бұрын
T1 --> 17:28 T2 --> 19:54
@gregormurray314
@gregormurray314 Жыл бұрын
great videos, got really excited when i saw what else you were planning on doing (including potential field), been a while since there have been any new videos though, is there anything in the pipeline?
@Jasmine_theboss
@Jasmine_theboss 3 жыл бұрын
wow so cool
@JukaVKcro
@JukaVKcro Жыл бұрын
Very, very nice!! What do you think, is it ok to use PID regulator for line following robot? I have 4 line sensors.
@jonathanr4242
@jonathanr4242 3 жыл бұрын
Another well explained video.
@CodingCoach
@CodingCoach 3 жыл бұрын
Glad you liked it!
@commanderbensisko
@commanderbensisko 3 жыл бұрын
Thank you for this fantastic break down. However, is there an error in the ki calculation of T#4 ? I arrived at 0.5*(-15+36) = 10.5
@CodingCoach
@CodingCoach 3 жыл бұрын
Yes, sorry one of them was off.. I have not figured out how to "post live" add text to the video other then sub-titles which are not often used. Have to take another crack at figuring it out.
@septianmegantara5414
@septianmegantara5414 Жыл бұрын
I'm sorry, i want to ask, from this explanation about PID, can it be applied to humanoid robots?
@brandroid2960
@brandroid2960 Жыл бұрын
You are a very talented teacher. I found your lessons extremely valuable, my only disappointment is that you did not continue. I hope that you will revisit your channel, because I'm certain that you could build a large following in time.
@melvinbullock5674
@melvinbullock5674 3 жыл бұрын
Avidly awaiting further videos in this series! will there be another soon?
@septianmegantara5414
@septianmegantara5414 Жыл бұрын
i'm sorry, i want to ask you a question i want to make an open loop for my robot humanoid, but i confused about how to make the algorith can you teach me to make it?
@okaytree7711
@okaytree7711 2 жыл бұрын
What happened to the next PID video for tuning? Are you doing alright...
@AhmadShaer97
@AhmadShaer97 Жыл бұрын
Where is the navigation algorithms explaintion (A*,potential field) ?
@NikeAirJordanGabes
@NikeAirJordanGabes 3 жыл бұрын
How do you come up with your K values? Like say I am tuning those values, how would I know which one's to increase and decrease? I have a robot following a wall on its right using a Sharp GP2Y0A41SK0F Analog Distance Sensor.
@CodingCoach
@CodingCoach 3 жыл бұрын
It varies for every problem you're solving but a good rule of thumb is to take the plant output you are trying to affect and divide it by the range of your sensor input and the result is the multiplier to the output for Kp.. so for example if my motors have a range of zero to 400 with 400 being full speed. and my sensor gives values of 0 cm to 100 cm. I would have a 4 for my starting Kp.. It may not be good it's just a rule of thumb to get started. then I tune KP usually first. and move on to KI and KD one at a time making small changes
@NikeAirJordanGabes
@NikeAirJordanGabes 3 жыл бұрын
@@CodingCoach Another thing I am wondering is that if we want the robot to be going full speed when it is at the right distance from the wall, could we still use the max speed as our base speed? I do not know how it would work when adding the PID error to the base speed that is already max to the left motor (and of course it will work subtracting it from the right motor).
@aidendeady1513
@aidendeady1513 2 жыл бұрын
Youre a beast :)!
@O_A_Koroleva
@O_A_Koroleva 2 жыл бұрын
Good day. You build robot now or you end all?
@Jasmine_theboss
@Jasmine_theboss 3 жыл бұрын
:)
@Jasmine_theboss
@Jasmine_theboss 3 жыл бұрын
wow my comment is the best
What is a PID Controller? | DigiKey
22:19
DigiKey
Рет қаралды 107 М.
PID Controller Implementation in Software - Phil's Lab #6
20:06
Phil’s Lab
Рет қаралды 216 М.
🎈🎈🎈😲 #tiktok #shorts
0:28
Byungari 병아리언니
Рет қаралды 4,5 МЛН
Their Boat Engine Fell Off
0:13
Newsflare
Рет қаралды 15 МЛН
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 383 М.
I Made Chess 2.0
14:32
From Scratch
Рет қаралды 1,5 МЛН
🤖Я в шоке! ChatGPT пишет Arduino проекты
28:24
Are PID line followers ACTUALLY faster?
6:07
Haase Industries
Рет қаралды 28 М.
Coding Adventure: Ant and Slime Simulations
17:54
Sebastian Lague
Рет қаралды 1,9 МЛН
PID brushless motor control tutorial
16:25
Electronoobs
Рет қаралды 479 М.
Self Balancing Robot Tips that will Save your project
5:36
Hobby Coding
Рет қаралды 35 М.
I made a SUPER FAST Line Follower Robot Using PID!
10:02
Shyam Ravi
Рет қаралды 381 М.
🎈🎈🎈😲 #tiktok #shorts
0:28
Byungari 병아리언니
Рет қаралды 4,5 МЛН