Robot Controllers Part 1: PID (with Dr. Christian Hubicki)
Base Python CodeThe starter Python code in a Deepnote notebook. Final Python CodeThe final Python code with the completed PID controller. PID ControllerThe p5.js and matter.js implementation of the balancing robot. PID ControllerThe full GitHub repository for this project, including the interactive p5.js demo.
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.
Assistant Professor of Robotics at FAMU-FSU College of Engineering.
Dr. Christian Hubicki's lab at FAMU-FSU College of Engineering.
Dr. Hubicki's YouTube channel.
The second part of this series, where we coded a simulation of a hopping robot.
This video is an introduction to the physics engine Matter.js, a 2D JavaScript physics library that supports rigid body collisions and constraints.