Add autonomous code and potentiometers