Patent attributes
Techniques for controlling a moveable component include a moveable component and a controller. The controller is configured to control motion of the moveable component according to a state machine comprising a first and second state. In the first state, the controller holds the moveable component at a current position. The controller transitions the state machine from the first state to the second state in response to detecting a displacement of the moveable component, due to a disturbance, from the current position for longer than a first predetermined duration of time. In the second state, the controller commands the moveable component to perform a motion. The controller remains in the second state until a stop condition is detected, even if the disturbance ends before the stop condition is detected. The controller transitions the state machine from the second state to the first state in response to detecting the stop condition.