4 Motor Control, Finite-State Machines, and Waiting for Real-Time Computing | part of An Introduction to Real-Time Computing for Mechanical Engineers: A Lab-Based Approach | MIT Press books | IEEE Xplore