Robot Controllers Part 1: PID (with Dr. Christian Hubicki) @TheCodingTrain
Robot Controllers Part 1: PID (with Dr. Christian Hubicki)  @TheCodingTrain
Uploaded July 2022 | Updated September 2026, 1 week ago
In this live stream, Dr. Christian Hubicki and I team up to build a PID Controller, first in python and then in p5.js! We apply the controller to the classic 'cart pole' problem, attempting to balance an inverted pendulum. Code: thecodingtrain.com/tracks/robot-controllers/robot-controllers/robot-controller-1

πŸ’» Github Repo: github.com/CodingTrain/Robot-Controllers
πŸ•ΉοΈ p5.js Web Editor Sketch: editor.p5js.org/codingtrain/sketches/sB1glTRe7

Code Examples:
πŸ’» Base Python Code: tinyurl.com/cart-pole
πŸ’» Final Python Code: tinyurl.com/cartpole-control

πŸŽ₯ Next: youtu.be/3FeySIv-gFM

References:
πŸ”— Dr. Christian Hubicki: christianhubicki.com
πŸ€– Optimal Robotics Laboratory: optimalroboticslab.com
▢️ youtube.com/channel/UCqSfzxT0dcpEPMtVguwzATg

Videos:
πŸš‚ youtu.be/3FeySIv-gFM
πŸš‚ youtu.be/urR596FsU68

Related Coding Challenges:
πŸš‚ youtu.be/TDQzoe9nslY
πŸš‚ youtu.be/KakpnfDv_f0

Timestamps:
0:00:00 Waiting to Start
0:04:38 Welcome!
0:07:30 Introducing Dr. Christian Hubicki
0:09:49 Christian's Introductory Presentation
0:14:48 How to Follow Along
0:16:22 PID Controller Lecture
0:44:09 Coding in Python!
1:23:58 Introducing p5.js and matter.js
1:37:18 Coding in p5.js!
2:48:30 It works!
2:49:19 Wrapping up and next steps

Music from Epidemic Sound

πŸš‚ Website: thecodingtrain.com
πŸ‘Ύ Share Your Creation! thecodingtrain.com/guides/passenger-showcase-guide
🚩 Suggest Topics: github.com/CodingTrain/Suggestion-Box
πŸ’‘ GitHub: github.com/CodingTrain
πŸ’¬ Discord: thecodingtrain.com/discord
πŸ’– Membership: youtube.com/thecodingtrain/join
πŸ›’ Store: standard.tv/codingtrain
πŸ–‹οΈ Twitter: twitter.com/thecodingtrain
πŸ“Έ Instagram: instagram.com/the.coding.train

πŸŽ₯ youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

πŸ”— p5.js: p5js.org
πŸ”— p5.js Web Editor: editor.p5js.org
πŸ”— Processing: processing.org

πŸ“„ Code of Conduct: github.com/CodingTrain/Code-of-Conduct

This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/thecodingtrain.com/issues/new

#robotics #pidcontroller #p5js #python #simulation #physics #robotcontrol #matterjs #cartpole #python #p5js #matterjs
Robot Controllers Part 1: PID (with Dr. Christian Hubicki)Processing Foundation Holiday Telethon 2020The Coding Train Musical Multiverse! #programming #music #shorts#genuary15 physics library!Coding Challenge 187: Bayes TheoremWhat’s new in Nature of Code?Coding Train Live: Side Project Saturday! (Live from the Attic)Machine Learning and the Computer Mouse (from the 2021 Computer Mouse Conference)Coding Challenge 176: Buffons Needleml5.js: Training a Convolutional Neural Network for Image ClassificationCoding Challenge 164: Bending Time SlitscanSaturday Side Project Spooktacular!
The Coding Train |

Robot Controllers Part 1: PID (with Dr. Christian Hubicki)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER