亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cinematicadirecta2.m

?? Simulador de orientacion posicion de un brazo robotico de cuatro grados de libertad, en GUI de matla
?? M
?? 第 1 頁 / 共 3 頁
字號:
function varargout = cinematicadirecta2(varargin)

% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name',       mfilename, ...
                   'gui_Singleton',  gui_Singleton, ...
                   'gui_OpeningFcn', @cinematicadirecta2_OpeningFcn, ...
                   'gui_OutputFcn',  @cinematicadirecta2_OutputFcn, ...
                   'gui_LayoutFcn',  [] , ...
                   'gui_Callback',   []);
if nargin && ischar(varargin{1})
    gui_State.gui_Callback = str2func(varargin{1});
end

if nargout
    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
    gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT


% --- Executes just before cinematicadirecta2 is made visible.
function cinematicadirecta2_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject    handle to figure
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% varargin   command line arguments to cinematicadirecta2 (see VARARGIN)

% Choose default command line output for cinematicadirecta2
handles.output = hObject;

% Update handles structure
guidata(hObject, handles);

% UIWAIT makes cinematicadirecta2 wait for user response (see UIRESUME)
% uiwait(handles.figure1);
%Q1
set(handles.Q1,'Value',0); 
set(handles.Q1edit,'String',0); 
%Q2
set(handles.Q2,'Value',0); 
set(handles.Q2edit,'String',0); 
%Q3
set(handles.Q3,'Value',0); 
set(handles.Q3edit,'String',0); 
%Q4
set(handles.Q4,'Value',0); 
set(handles.Q4edit,'String',0);


q1=str2double(get(handles.Q1edit,'string'));
q2=str2double(get(handles.Q2edit,'string'));
q3=str2double(get(handles.Q3edit,'string'));
q4=str2double(get(handles.Q4edit,'string'));

L1 = 1596;
L2 = 390;
L3 = 1220;
L4 = 1555;
L5 = 172;
dh = [pi/2,  L1,  L2, -pi/2, 0;
     -pi/2,   0,  L3,     0, 0;
      pi/2,   0,  L4,  pi/2, 0;
         0, -L5,   0,     0, 0];
         
q=[q1,q2,q3,q4]*pi/180;
A = directa(dh,q);


set(handles.nx,'String',(round((A(1,1))*100))/100);
set(handles.ny,'String',(round((A(2,1))*100))/100);
set(handles.nz,'String',(round((A(3,1))*100))/100);

set(handles.sx,'String',(round((A(1,2))*100))/100);
set(handles.sy,'String',(round((A(2,2))*100))/100);
set(handles.sz,'String',(round((A(3,2))*100))/100);

set(handles.ax,'String',(round((A(1,3))*100))/100);
set(handles.ay,'String',(round((A(2,3))*100))/100);
set(handles.az,'String',(round((A(3,3))*100))/100);

set(handles.Px,'String',(round((A(1,4))*100))/100);
set(handles.Py,'String',(round((A(2,4))*100))/100);
set(handles.Pz,'String',(round((A(3,4))*100))/100);
 

% --- Outputs from this function are returned to the command line.
function varargout = cinematicadirecta2_OutputFcn(hObject, eventdata, handles) 
% varargout  cell array for returning output args (see VARARGOUT);
% hObject    handle to figure
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Get default command line output from handles structure
varargout{1} = handles.output;



function Px_Callback(hObject, eventdata, handles)
% hObject    handle to Px (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'String') returns contents of Px as text
%        str2double(get(hObject,'String')) returns contents of Px as a double


% --- Executes during object creation, after setting all properties.
function Px_CreateFcn(hObject, eventdata, handles)
% hObject    handle to Px (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end



function Py_Callback(hObject, eventdata, handles)
% hObject    handle to Py (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'String') returns contents of Py as text
%        str2double(get(hObject,'String')) returns contents of Py as a double


% --- Executes during object creation, after setting all properties.
function Py_CreateFcn(hObject, eventdata, handles)
% hObject    handle to Py (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end



function Pz_Callback(hObject, eventdata, handles)
% hObject    handle to Pz (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'String') returns contents of Pz as text
%        str2double(get(hObject,'String')) returns contents of Pz as a double


% --- Executes during object creation, after setting all properties.
function Pz_CreateFcn(hObject, eventdata, handles)
% hObject    handle to Pz (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end



function nx_Callback(hObject, eventdata, handles)
% hObject    handle to nx (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'String') returns contents of nx as text
%        str2double(get(hObject,'String')) returns contents of nx as a double


% --- Executes during object creation, after setting all properties.
function nx_CreateFcn(hObject, eventdata, handles)
% hObject    handle to nx (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end



function ny_Callback(hObject, eventdata, handles)
% hObject    handle to ny (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'String') returns contents of ny as text
%        str2double(get(hObject,'String')) returns contents of ny as a double


% --- Executes during object creation, after setting all properties.
function ny_CreateFcn(hObject, eventdata, handles)
% hObject    handle to ny (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end



function nz_Callback(hObject, eventdata, handles)
% hObject    handle to nz (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'String') returns contents of nz as text
%        str2double(get(hObject,'String')) returns contents of nz as a double


% --- Executes during object creation, after setting all properties.
function nz_CreateFcn(hObject, eventdata, handles)
% hObject    handle to nz (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end



function Q4edit_Callback(hObject, eventdata, handles)

le=str2double(get(hObject,'String'));
if le>180
    errordlg('Valor incorrecto o fuera del rango en Q4 "Debe ser un valor entre -180 y 180"','ALERTA');
    set(handles.Q4,'Value',180);
    set(handles.Q4edit,'string',180);
end
if le<-180
    errordlg('Valor incorrecto o fuera del rango en Q4 "Debe ser un valor entre -180 y 180"','ALERTA');
    set(handles.Q4,'Value',-180);
    set(handles.Q4edit,'string',-180);
end
if le<=180 & le>=-180
    set(handles.Q4,'Value',str2double(get(hObject,'String')));
end

q1=str2double(get(handles.Q1edit,'string'));
q2=str2double(get(handles.Q2edit,'string'));
q3=str2double(get(handles.Q3edit,'string'));
q4=str2double(get(handles.Q4edit,'string'));

L1 = 1596;
L2 = 390;
L3 = 1220;
L4 = 1555;
L5 = 172;
dh = [pi/2,  L1,  L2, -pi/2, 0;
     -pi/2,   0,  L3,     0, 0;
      pi/2,   0,  L4,  pi/2, 0;
         0, -L5,   0,     0, 0];
         
q=[q1,q2,q3,q4]*pi/180;
A = directa(dh,q);

set(handles.nx,'String',(round((A(1,1))*100))/100);
set(handles.ny,'String',(round((A(2,1))*100))/100);
set(handles.nz,'String',(round((A(3,1))*100))/100);

set(handles.sx,'String',(round((A(1,2))*100))/100);
set(handles.sy,'String',(round((A(2,2))*100))/100);
set(handles.sz,'String',(round((A(3,2))*100))/100);

set(handles.ax,'String',(round((A(1,3))*100))/100);
set(handles.ay,'String',(round((A(2,3))*100))/100);
set(handles.az,'String',(round((A(3,3))*100))/100);

set(handles.Px,'String',(round((A(1,4))*100))/100);
set(handles.Py,'String',(round((A(2,4))*100))/100);
set(handles.Pz,'String',(round((A(3,4))*100))/100);

% --- Executes during object creation, after setting all properties.
function Q4edit_CreateFcn(hObject, eventdata, handles)
% hObject    handle to Q4edit (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲综合色视频| 国产欧美一区在线| 一区二区免费在线播放| 成人免费视频app| wwww国产精品欧美| 国产精品亚洲专一区二区三区| 欧美色图第一页| 亚洲一区二区三区国产| 色噜噜狠狠一区二区三区果冻| 国产精品一色哟哟哟| 欧美精品一区二区久久久| 免费高清视频精品| 欧美一区二区三区性视频| 午夜国产不卡在线观看视频| 欧美日韩国产精品成人| 视频一区欧美日韩| 欧美精品三级在线观看| 日本午夜一区二区| 久久精品一区二区| 波多野结衣一区二区三区 | 欧美另类videos死尸| 亚洲无线码一区二区三区| 7777精品伊人久久久大香线蕉最新版| 天堂一区二区在线| 欧美精品一区二区三区很污很色的| 国产一区美女在线| 亚洲视频一区二区免费在线观看| 最新热久久免费视频| 欧美日韩一二三| 国产精品1024久久| 亚洲成人免费电影| 久久婷婷成人综合色| 一本色道久久综合亚洲aⅴ蜜桃| 日韩电影在线免费观看| 国产精品区一区二区三| 91麻豆精品国产综合久久久久久| 精品一区二区三区在线视频| 中文字幕在线一区二区三区| 欧美日韩免费高清一区色橹橹 | 在线视频国内一区二区| 日本网站在线观看一区二区三区| 国产日韩欧美激情| 欧美一区二区三区免费视频| 波多野结衣中文字幕一区二区三区 | 久久精品亚洲国产奇米99| 欧美日韩国产bt| 91性感美女视频| 国产成人综合在线| 日韩福利视频导航| 亚洲色图视频网| 国产天堂亚洲国产碰碰| 3d动漫精品啪啪| 欧美顶级少妇做爰| 91丨porny丨中文| 成人爱爱电影网址| 狠狠色丁香婷婷综合久久片| av一本久道久久综合久久鬼色| 美女视频黄 久久| 日韩和的一区二区| 一区二区三区波多野结衣在线观看| 18欧美乱大交hd1984| 国产精品天美传媒| 欧美精品一区二区蜜臀亚洲| 日韩午夜激情免费电影| 欧美精品久久99久久在免费线 | 亚洲精品一区二区三区影院| 欧美一级片在线看| 日韩一区二区免费在线电影| 91精品国产入口| 日韩美女在线视频| 欧美精品一区二区三| 久久久.com| 国产精品美女久久久久久久 | 国产农村妇女毛片精品久久麻豆| 久久久久久电影| 国产精品国产自产拍高清av| 1区2区3区欧美| 亚洲最新在线观看| 日韩高清一区在线| 国产成人综合在线播放| 91亚洲国产成人精品一区二三 | 国产精品免费aⅴ片在线观看| 久久午夜羞羞影院免费观看| 国产午夜精品一区二区三区嫩草 | 在线观看91精品国产麻豆| 欧美日韩性生活| 久久蜜桃av一区二区天堂| 国产精品久久久久久久久免费相片 | 国产主播一区二区三区| 色偷偷一区二区三区| 91精品国产色综合久久不卡电影 | 青青草精品视频| 国产成人精品亚洲777人妖| 欧美伊人久久久久久久久影院| 欧美高清激情brazzers| 国产精品欧美精品| 日韩影院在线观看| 国产精品亚洲视频| 欧美喷潮久久久xxxxx| 国产欧美一区视频| 麻豆精品久久精品色综合| 91免费视频观看| 理论片日本一区| 色一区在线观看| 久久久综合激的五月天| 亚洲18影院在线观看| 成人性生交大片免费看视频在线 | 亚洲午夜久久久久| 国产成人免费视| 欧美一区二区三区日韩| 亚洲一二三区视频在线观看| 国产高清不卡二三区| 日韩午夜电影在线观看| 午夜精品一区二区三区三上悠亚| 成人污污视频在线观看| 国产拍揄自揄精品视频麻豆| 国产精品一区二区久激情瑜伽| 欧美二区三区91| 午夜伦欧美伦电影理论片| 欧美日韩视频专区在线播放| 亚洲综合男人的天堂| 91在线观看高清| 亚洲欧美偷拍卡通变态| 91一区一区三区| 亚洲一级二级三级在线免费观看| 欧美午夜精品一区二区蜜桃 | 国产精品麻豆网站| 99精品欧美一区| 亚洲精品免费视频| 欧美性猛片xxxx免费看久爱| 亚洲国产日韩一级| 欧美婷婷六月丁香综合色| 亚洲一区二区在线免费观看视频| 色婷婷综合久久久中文字幕| 国产精品美日韩| 91官网在线观看| 婷婷六月综合亚洲| 精品国产3级a| eeuss鲁一区二区三区| 亚洲网友自拍偷拍| 91精品国产综合久久精品app| 美女性感视频久久| 久久久国产一区二区三区四区小说 | 欧美亚洲高清一区二区三区不卡| 日韩综合在线视频| 国产午夜精品在线观看| 一本到一区二区三区| 日本伊人色综合网| 久久午夜羞羞影院免费观看| 一本色道久久综合精品竹菊| 日本在线不卡视频一二三区| 国产视频亚洲色图| 亚洲欧洲无码一区二区三区| 欧美丝袜丝交足nylons| 国产凹凸在线观看一区二区| 亚洲欧美精品午睡沙发| 欧美一区二区播放| 不卡的av电影在线观看| 免费成人美女在线观看.| 综合久久给合久久狠狠狠97色| 666欧美在线视频| 91视视频在线观看入口直接观看www | 日韩亚洲欧美在线| 91免费在线视频观看| 国产精品亚洲一区二区三区在线| 日韩专区中文字幕一区二区| 国产精品国产自产拍高清av王其| 欧美不卡在线视频| 51精品国自产在线| 在线观看成人免费视频| 成人丝袜视频网| 国产伦精品一区二区三区视频青涩 | 日本怡春院一区二区| 亚洲精品一二三| 国产精品卡一卡二卡三| 国产午夜精品一区二区三区嫩草| 日韩一区二区三区四区 | 亚洲成人黄色小说| 亚洲精品欧美二区三区中文字幕| 欧美精品一区视频| 精品福利二区三区| 久久综合久色欧美综合狠狠| 日韩欧美在线网站| 日韩免费视频一区| 精品美女一区二区三区| 日本欧美一区二区| 亚洲成人一二三| 亚洲成人动漫一区| 日韩国产欧美在线播放| 免费亚洲电影在线| 国产精品中文字幕一区二区三区| 黄色精品一二区| 国产成人精品亚洲777人妖| 国产不卡视频在线观看| 99久久婷婷国产精品综合| 日本高清成人免费播放| 欧美午夜寂寞影院| 欧美一区二区视频免费观看| 欧美v亚洲v综合ⅴ国产v| 中文字幕欧美激情|