cnpcshangbo / OS4-vertical-square-2017a

This is my project folder to support my YouTube video.
https://youtu.be/LWijMJMqVRI
2 stars 1 forks source link

How to check the figures without waiting the animation to finish? #1

Open cnpcshangbo opened 6 years ago

cnpcshangbo commented 6 years ago

Actually, we are able to check the result figures without waiting the animation to finish. On 139 line of OS4.m, the code refers to a script called "visual(L)". L is a parameter. In the file visual.m we can see the commands for showing the result figures:

% Angle Results Button

BOT_ANG=uicontrol('Position',[190 20 100 20],'String','Angle Results',...
   'BackgroundColor',COR_JANELA,'Enable','off','Callback','show_angle_data(L);'); 

% Position Results Button

BOT_POS=uicontrol('Position',[320 20 100 20],'String','Position Results',...
   'BackgroundColor',COR_JANELA,'Enable','off','Callback','show_position_data(L);');

% 3-D Path Button

L=1;
BOT_MAPA=uicontrol('Position',[450 20 100 20],'String','3-D Path',...
   'BackgroundColor',COR_JANELA,'Enable','off','Callback','drawOS43D(L);');