Darwin-River / Robotics

0 stars 0 forks source link

Implement state machine handles in the StateEngine class #10

Closed darozak closed 5 months ago

darozak commented 5 months ago

It will make things more consistent if I use handles to identify state machines just like I do for events and actions in the StateEngine class. This should be easy enough to implement. I'll just need to update the relevant code and Markdown instructions.

darozak commented 5 months ago

I had to relocate all code in LineRacer directory since the Arduino GUI requires you to have all files associated with a sketch in a directory named after the sketch ino file. I also modified the code so that it creates and uses state machine handles (https://github.com/Darwin-River/Robotics/commit/ba2a816f1437460bdd6b223075388e8702858d44). I just need to update this in the StateEngine.md file and possibly the LineRacer.md file.

darozak commented 5 months ago

Done. Added instructions for using createMachnieHandle() to StateEngine.md.