The motion of controlled mechanical systems with prescribed constraints (servoconstraints)