Associated article: Robots and Finite-State Machines
Published source code accompanying the article by Everett F. Carter, Jr. in which he describes the high-level processing he implemented in designing a robot-control systems. Also see ROBOTS.ZIP.
Robots and Finite-State Machines by Everett F. Carter, Jr. Example 1: (a) STATE-MACHINE PROXIMITY APPEND-STATE IR_SCAN APPEND-STATE LEFT_IR APPEND-STATE RIGHT_IR APPEND-STATE BOTH_IR APPEND-STATE END_IR (b) IN-STATE IR_SCAN CONDITION BOTH_IR? CAUSES PROXIMITY_VEC SET_REVERSE ...