0

Maze Robot - program flow

Overview

Here is a simple state machine diagram. Names of the states are ActionBase's derived classes used to implement the states. Each class uses a function named by deleting "Action" prefix from action class' name. For example, ActionDecide uses decide() function. It is easy to follow the logic by just following function names in mrm-robot-maze.cpp file. Study the code as it is self-documented, in order to find details of the implementation.