University of Cambridge Home Department of Engineering

F-AHG-1: The Part IA Lego exercise and Python

With Part IA computing teaching now delivered in Python, this is the time to re-evaluate the week 1 Lego exercise, which is currently tied to the RWTH NXT Matlab toolbox. The aim of this project is to investigate the possibility of using nxt-python instead. A particular focus will be the feasibility of porting the large amount of existing Matlab code. This project is ideally suited to an experienced Python programmer who also likes playing with Lego.

The hovering helicopter is just one of many documented projects that comprise the Part IA Lego exercise. It comes with 275 lines of pre-supplied Matlab code. How can all this code be translated to Python and rigorously tested, preferably without having to rebuild the Lego model itself?
© Cambridge University Engineering Department
Information provided by Andrew Gee
Last updated: March 2018