Lego Segway Challenge: an introduction to embedded control

The Segway challenge consists of building a Segway-like vehicle in LEGO Mindstorms, and designing a control system which gives it superior performance to that of your competitors. We are going to run two competitions:

  1. Marathon balancing: try to make your Segway balance for as long time as possible

  1. The 10 meter dash: have your Segway drive 10 meter in a better time than your competitors.

You are free in your physical construction, and in the design and coding of the control algorithm. However, to make the competition fair and interesting, we impose the following restrictions on your design: