Gains for pid compensator as function of xy position