Interactive Pendulum Simulator

The pendulum simulator has been created to accompany a coming series of video tutorials entitled ‘How to Balance a Robot’. The series will cover the following:

  • Modelling and Simulating a pendulum using PyGame
  • Modelling and simulating a self balancing robot using Pygame
  • Build your own PID controller for dynamically stabilising an inverted pendulum
  • Dynamically stabilising a real system, namely the T-Bot

You can find the code for the pendulum here.