function KdSlider_Callback(src,eventdata)
global Kd;
%global t;
slider_value = get(src,'Value');
Kd = slider_value;
%fopen(t);
%fwrite(t,['setfudge ' num2str(Kd)]);
%fclose(t);
end

