Lambda function for controlling the motor using a position value.
Delegates to controls.positionControl.