function KpSlider_Callback(src,eventdata)
global Kp;
slider_value = get(src,'Value');
Kp = slider_value;
end

