Figure 5. Sensing the cutting tool's position and adjusting it's speed.