Commented Motor Control Code