Pātuhitia tēnei: Applied control theory for embedded systems