🧀 BigCheese.ai

Social

Model Predictive Control in the Browser with WebAssembly

🧀

Gareth Cross has created an interactive cart-pole system simulation that uses Model Predictive Control (MPC) running in the browser through WebAssembly. Aimed at providing insight into trajectory optimization, it conveniently allows experimentation with simulation via a live web demo. The application is enhanced through visualization with HTML Canvas and an easy-to-use UI, allowing users to interact with the simulator by applying forces, steering, and toggling controls.

  • Live demo available
  • Source code on GitHub
  • Simulation built with WebAssembly
  • Interactive user interface
  • Uses Model Predictive Control