0

LineRobot - program flow

Overview

Here is a trivial state machine diagram but will be expanded. 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, ActionLineFollow uses lineFollow() function. It is easy to follow the logic by just following function names in mrm-robot-line.cpp file. Study the code as it is self-documented, in order to find details of the implementation.