Pulnix TMC-7DSP Manual do Utilizador Página 31

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 32
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 30
30
%%%%%%%%%%%%%%%%%%%%%%%
% The actual curve: % ---------------------------------------
%%%%%%%%%%%%%%%%%%%%%%%
pause(2);
%curve model name:
%mn = 'point';
%mn = 'homef';
mn = 'model';
%mn = 'circle3';
%mn = 'ysin9'
% Uncomment these two, if you don't want the home point in the picture
%Acquire; %Take the first picture
%oldImage = newImage; %Saves taken image to the pathImage
if(k == 0)
%SetCurveParameters(newImage) % Define desired curve from
% picture and set parameters for model
wc_build(mn) % let's build with new parameters
end
wc_start(mn)
pause(1);
while(wc_isrunning(mn))
% Save laser point every 0.5 second
Acquire;
savePath;
oldImage = pathImage;
pause(0.1);
end
wc_stop(mn);
figure;
imshow(pathImage);
%error = DefineError(pathImage) % Define error for actual and desired
% curves. ILC. Set model parameters
% again, according to defined error.
%if(error < e)
% break;
%end
x_dir_home = abs(x_dir - 4); % Home is in the opposite direction to start
point (usually)
y_dir_home = abs(y_dir - 4);
wc_start('homef'); % Go back to home point
pause(1);
while(wc_isrunning('homef'))
pause(1);
end
Vista de página 30
1 2 ... 26 27 28 29 30 31 32

Comentários a estes Manuais

Sem comentários