Learning feed-forward control door