An embedded operating system toolkit for the Lego Mindstorms NXT