Robot Controllers Part 2 with Dr. Christian Hubicki @TheCodingTrain
Robot Controllers Part 2 with Dr. Christian Hubicki  @TheCodingTrain
Uploaded August 2025 | Updated November 2026, 3 days ago
Only three years later, I'm rejoined by Dr. Christian Hubicki to continue our series on robot controllers. Dr. Hubicki gives a presentation on the history of legged robots (like ASIMO and Boston Dynamics) and the principles behind the Raibert Hopper. Then, we attempt to implement a 1D hopping robot simulation in p5.js using a PID controller. Code: thecodingtrain.com/tracks/robot-controllers/robot-controllers/robot-controller-2

p5.js Web Editor Sketches:
πŸ•ΉοΈ 1D Raibert Hopper: editor.p5js.org/codingtrain/sketches/CjfAtvdGx
πŸ•ΉοΈ 1D Raibert Hopper: editor.p5js.org/codingtrain/sketches/EYOfSWBaF
πŸ•ΉοΈ 1D Spring Simulation: editor.p5js.org/codingtrain/sketches/EhhzPIB-h
πŸ•ΉοΈ 2D Hopper: editor.p5js.org/codingtrain/sketches/W_hxT-8ST
πŸ’» Code Example: gist.github.com/shiffman/9eea780b9cada3725887d26ed174d49e

πŸŽ₯ Previous: youtu.be/fWQWX9-8_sA

References:
πŸ”— Dr. Christian Hubicki: christianhubicki.com
πŸ€– Optimal Robotics Lab: optimalroboticslab.com
πŸ“– The Nature of Code: natureofcode.com

Videos:
πŸš‚ youtu.be/fWQWX9-8_sA
πŸš‚ youtu.be/P_xJMH8VvAE
πŸš‚ youtu.be/DHPfoqiE4yQ

Related Coding Challenges:
πŸš‚ youtu.be/Rr-5HiXquhw

Timestamps:
0:00:00 Waiting to Start
0:05:17 Welcome to The Coding Train
0:08:35 Revisiting Part 1 from 2022
0:10:13 Introducing Dr. Christian Hubicki
0:20:10 Dr. Hubicki's Presentation: How to Make a Robot Hop
0:24:00 History of Legged Locomotion: Safety vs. Agility
0:27:09 The 'Safety First' Approach (ZMP, ASIMO)
0:30:34 The 'Agility First' Approach (Mark Raibert, Boston Dynamics)
0:38:17 Whiteboard Explanation: PID Controllers
0:51:30 Whiteboard Explanation: The Raibert Hopper Controller
0:58:07 Transition to Coding in p5.js
1:03:04 Connecting to Nature of Code and Steering Behaviors
1:10:40 Starting with the p5.js Spring Simulation Code
1:24:27 Implementing Hopping Phases (Stance vs. Flight)
1:48:01 Implementing the PID Controller for Hopping Height
2:09:59 Reviewing a Pre-made, Working 1D Hopper Example
2:16:40 Previewing a 2D Hopper Starter Code
2:23:04 Where to Find Dr. Christian Hubicki
2:24:53 What's Next for The Coding Train
2:29:43 Outro and Goodbyes

Christian Hubicki is an Associate Professor of Mechanical Engineering at the FAMU-FSU College of Engineering. His group’s research at the Optimal Robotics Laboratory specializes in legged robotics, applied optimal control, biomechanical modeling, and fast algorithms for adaptive robot behaviors. He earned both his bachelor's and master’s degrees in mechanical engineering from Bucknell University, earned his dual-degree PhD in Robotics and Mechanical Engineering at Oregon State University, and completed his postdoctoral work in the Mechanical Engineering and Physics departments at the Georgia Institute of Technology. His research awards include a Best Technical Paper Finalist at ICRA 2016, Best Paper Winner in 2019 from IEEE Robotics and Automation Magazine, Outstanding Locomotion Paper Winner at ICRA 2022, and a Young Faculty Researcher Grant from the Toyota Research Institute in 2021. His work has been featured at the National Academy of Engineering’s Gilbreth Lecture Series, the TEDx lecture series, and in media outlets from the Science Channel to CBS’s β€œThe Late Show with Stephen Colbert.

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 #p5js #pidcontroller #raiberthopper #simulation #physics #leggedlocomotion #robotcontrol #p5js #matlab
Robot Controllers Part 2 with Dr. Christian HubickiCoding Challenge 158: Shape Classifier Neural Network with ml5.jsLeaving No Tile Unturned! Wave Function Collapse Passenger Showcase #shortsSpring Show 2021 in SpatialChat (ITP/IMA/IMA Low Res)4.3: Particle Systems with Inheritance - The Nature of CodeWorkflow: Terminal, Shell, Node.js, VSCodeGuest Conductor: Twirling Tech GoddessCreative Coding for Beginners - Full Course!Coding Train Live: Exploring New Studio and a Coding Challenge?Guest Conductor: Live Coding with Antonio RobertsCoding Challenge 166: ASCII Text ImagesParticles! #genuary #genuary1 #genuary2024
The Coding Train |

Robot Controllers Part 2 with Dr. Christian Hubicki

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER