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

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

?? robot.m

?? 四自由度的簡易機器人(轉載)
?? M
?? 第 1 頁 / 共 2 頁
字號:
function varargout = Robot(varargin)
% ROBOT M-file for Robot.fig
%      ROBOT, by itself, creates a new ROBOT or raises the existing
%      singleton*.
%
%      H = ROBOT returns the handle to a new ROBOT or the handle to
%      the existing singleton*.
%
%      ROBOT('CALLBACK',hObject,eventData,handles,...) calls the local
%      function named CALLBACK in ROBOT.M with the given input arguments.
%
%      ROBOT('Property','Value',...) creates a new ROBOT or raises the
%      existing singleton*.  Starting from the left, property value pairs are
%      applied to the GUI before Robot_OpeningFunction gets called.  An
%      unrecognized property name or invalid value makes property application
%      stop.  All inputs are passed to Robot_OpeningFcn via varargin.
%
%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
%      instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES

% Copyright 2002-2003 The MathWorks, Inc.

% Edit the above text to modify the response to help Robot

% Last Modified by GUIDE v2.5 27-May-2007 17:17:27

% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name',       mfilename, ...
                   'gui_Singleton',  gui_Singleton, ...
                   'gui_OpeningFcn', @Robot_OpeningFcn, ...
                   'gui_OutputFcn',  @Robot_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 Robot is made visible.
function Robot_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 Robot (see VARARGIN)

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

% Update handles structure
guidata(hObject, handles);

% UIWAIT makes Robot wait for user response (see UIRESUME)

%global variable for switching specification.jpg
global h; 
h=0;
global p; 
p=1;
%end global

%Intializing and ploting home position of robot
z=get(handles.edit_z,'String');
l1=get(handles.edit_l1,'String');
l2=get(handles.edit_l2,'String');
z=str2double(z);
l1=str2double(l1);
l2=str2double(l2);
xo=[0 0 0 0];
yo=[0 0 0 0];
zo=[0 z z+l1 z+l1+l2];
set(handles.edit_ze,'String',(z+l1+l2));
axes(handles.axes2)
imshow('projsymbol.jpg')
axes(handles.axes1)
grid on;
plot3(xo,yo,zo, 'LineWidth', 8, 'Marker','o'), axis([-z*1.5 z*1.5 -z*1.5 z*1.5 0 z*3]), grid on, xlabel('x'), ylabel('y'), zlabel('z'); 
hold off;
cameratoolbar('NoReset');
%end homepos

% --- Outputs from this function are returned to the command line.
function varargout = Robot_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 edit_z_Callback(hObject, eventdata, handles)
% hObject    handle to edit_z (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 edit_z as text
%        str2double(get(hObject,'String')) returns contents of edit_z as a double
rob_posf;

% --- Executes during object creation, after setting all properties.
function edit_z_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit_z (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
    set(hObject,'BackgroundColor','white');
else
    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end


function edit_l1_Callback(hObject, eventdata, handles)
% hObject    handle to edit_l1 (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 edit_l1 as text
%        str2double(get(hObject,'String')) returns contents of edit_l1 as a double
rob_posf;

% --- Executes during object creation, after setting all properties.
function edit_l1_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit_l1 (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
    set(hObject,'BackgroundColor','white');
else
    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end

function edit_l2_Callback(hObject, eventdata, handles)
% hObject    handle to edit_l2 (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 edit_l2 as text
%        str2double(get(hObject,'String')) returns contents of edit_l2 as a double
rob_posf;

% --- Executes during object creation, after setting all properties.
function edit_l2_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit_l2 (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
    set(hObject,'BackgroundColor','white');
else
    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end

function edit_th1_Callback(hObject, eventdata, handles)
% hObject    handle to edit_th1 (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 edit_th1 as text
%        str2double(get(hObject,'String')) returns contents of edit_th1 as a double
NewStrTh = get(hObject, 'String');
NewTh = str2double(NewStrTh);
set(handles.slider_th1,'Value',NewTh);
rob_posf;

% --- Executes during object creation, after setting all properties.
function edit_th1_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit_th1 (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
    set(hObject,'BackgroundColor','white');
else
    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end


function edit_th2_Callback(hObject, eventdata, handles)
% hObject    handle to edit_th2 (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 edit_th2 as text
%        str2double(get(hObject,'String')) returns contents of edit_th2 as a double
NewStrTh = get(hObject, 'String');
NewTh = str2double(NewStrTh);
set(handles.slider_th2,'Value',NewTh);
rob_posf;

% --- Executes during object creation, after setting all properties.
function edit_th2_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit_th2 (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
    set(hObject,'BackgroundColor','white');
else
    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end



function edit_phi1_Callback(hObject, eventdata, handles)
% hObject    handle to edit_phi1 (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 edit_phi1 as text
%        str2double(get(hObject,'String')) returns contents of edit_phi1 as a double

NewStrPhi = get(hObject, 'String');
NewPhi = str2double(NewStrPhi);
set(handles.slider_phi1,'Value',NewPhi);
rob_posf;

% --- Executes during object creation, after setting all properties.
function edit_phi1_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit_phi1 (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
    set(hObject,'BackgroundColor','white');
else
    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end


function edit_phi2_Callback(hObject, eventdata, handles)
% hObject    handle to edit_phi2 (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 edit_phi2 as text
%        str2double(get(hObject,'String')) returns contents of edit_phi2 as a double
NewStrPhi = get(hObject, 'String');
NewPhi = str2double(NewStrPhi);
set(handles.slider_phi2,'Value',NewPhi);
rob_posf;

% --- Executes during object creation, after setting all properties.
function edit_phi2_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit_phi2 (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
    set(hObject,'BackgroundColor','white');
else
    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end


% --- Executes on slider movement.
function slider_th1_Callback(hObject, eventdata, handles)
% hObject    handle to slider_th1 (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,'Value') returns position of slider
%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
th = get(hObject, 'Value');
set(handles.edit_th1,'String',th);
rob_posf;


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

% Hint: slider controls usually have a light gray background, change
%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.
usewhitebg = 1;
if usewhitebg
    set(hObject,'BackgroundColor',[.9 .9 .9]);
else
    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品1区二区.| 国产精品美女久久久久久| 不卡一区在线观看| 国产在线精品一区二区夜色| 蜜桃精品视频在线| 久久成人18免费观看| 国产一区福利在线| 风间由美一区二区av101| 亚洲国产岛国毛片在线| 久久夜色精品一区| 亚洲国产精品黑人久久久| xf在线a精品一区二区视频网站| 日韩一区二区免费电影| 欧美一区二区在线免费观看| 日韩欧美一区二区在线视频| 久久精品人人爽人人爽| 国产精品成人在线观看| 亚洲va欧美va人人爽| 男人的j进女人的j一区| 国产成人免费av在线| 色综合久久中文字幕综合网| 欧美视频一区二| 精品福利一区二区三区免费视频| 国产色产综合色产在线视频| 一区二区三区精品| 日韩二区三区在线观看| 成人app下载| 日韩一区二区视频| 中文字幕欧美激情| 日韩中文字幕麻豆| 99久久99久久精品免费观看 | 91精品国产综合久久香蕉的特点| 欧美一级理论性理论a| 国产精品久久久久久妇女6080| 一区二区三区日韩欧美精品| 狠狠色丁香久久婷婷综合_中 | 久久精品国产99国产精品| 成人精品国产免费网站| 91精品国产综合久久久久久久 | 国产亚洲一本大道中文在线| 亚洲欧美在线观看| 国产综合色产在线精品| 欧美视频在线播放| 国产精品福利影院| 国模无码大尺度一区二区三区| 色丁香久综合在线久综合在线观看| 精品毛片乱码1区2区3区| 亚洲一二三四区| 懂色av一区二区三区蜜臀| 欧美精品日韩一区| 一区二区免费视频| 成人丝袜18视频在线观看| 这里只有精品视频在线观看| 一区二区三区在线观看国产| 成人av网站在线观看免费| 久久你懂得1024| 久久se精品一区精品二区| 在线免费av一区| **网站欧美大片在线观看| 精品夜夜嗨av一区二区三区| 欧美日本一区二区三区四区| 伊人色综合久久天天人手人婷| 国产福利视频一区二区三区| 91精品国产麻豆国产自产在线| 一区二区在线观看免费| 色999日韩国产欧美一区二区| 中文字幕不卡在线观看| 成人性生交大合| 亚洲国产精品激情在线观看 | 91成人国产精品| 综合中文字幕亚洲| 91污在线观看| 一区二区三区精品在线| 欧美亚洲另类激情小说| 亚洲午夜精品网| 欧美裸体bbwbbwbbw| 天天操天天干天天综合网| 8v天堂国产在线一区二区| 亚洲成a人片在线观看中文| 欧美日韩成人激情| 美日韩一区二区| 欧美videos中文字幕| 国产一区高清在线| 国产精品久久久久久福利一牛影视| 99免费精品在线| 亚洲123区在线观看| 日韩欧美一二三四区| 国产美女在线精品| 亚洲欧洲av在线| 欧美精品久久一区二区三区| 麻豆精品久久久| 国产精品全国免费观看高清| 色偷偷一区二区三区| 五月婷婷久久丁香| 欧美精品一区二区高清在线观看| 国产91精品免费| 亚洲高清中文字幕| 26uuu国产在线精品一区二区| 岛国一区二区在线观看| 亚洲精品老司机| 日韩免费视频一区二区| 97久久超碰精品国产| 日日摸夜夜添夜夜添精品视频 | 欧美日韩在线观看一区二区| 蜜桃视频第一区免费观看| 国产精品久久久久久久久动漫| 日本高清不卡aⅴ免费网站| 午夜精品福利一区二区蜜股av| 日韩美一区二区三区| 色婷婷综合久久| 免费三级欧美电影| 亚洲同性同志一二三专区| 日韩一区二区电影在线| av一区二区不卡| 精品一区二区三区的国产在线播放| 一色屋精品亚洲香蕉网站| 日韩精品一区二区三区中文不卡 | 日本一区免费视频| 欧美三级欧美一级| 国产成人精品一区二区三区网站观看| 亚洲在线视频网站| 国产精品久久久久一区| 精品99一区二区| 69av一区二区三区| 欧洲生活片亚洲生活在线观看| 高清在线观看日韩| 久久国产精品色婷婷| 偷拍日韩校园综合在线| 亚洲精品亚洲人成人网在线播放| 国产日韩欧美a| www国产精品av| 日韩久久久精品| 91麻豆精品国产91久久久更新时间| 91年精品国产| 99久久婷婷国产| 99麻豆久久久国产精品免费| 国产一区二区日韩精品| 久久国产三级精品| 麻豆精品新av中文字幕| 奇米综合一区二区三区精品视频| 亚洲一线二线三线视频| 亚洲精品成人少妇| 亚洲免费在线观看视频| 亚洲欧美日韩人成在线播放| 中文字幕一区二区三区四区| 中文字幕精品综合| 亚洲欧美中日韩| 亚洲精选一二三| 亚洲综合区在线| 首页国产丝袜综合| 日本va欧美va欧美va精品| 美女诱惑一区二区| 精品一二线国产| 韩国av一区二区| 国产98色在线|日韩| 成人免费视频视频在线观看免费 | 日韩欧美在线观看一区二区三区| 欧美欧美欧美欧美| 在线成人午夜影院| 4438亚洲最大| 久久久美女毛片| 中文字幕欧美区| 一区二区三区四区在线播放| 香蕉乱码成人久久天堂爱免费| 日韩精品乱码av一区二区| 麻豆国产欧美日韩综合精品二区 | 亚洲一区二区欧美| 日韩精品视频网站| 九色|91porny| 99久久伊人网影院| 欧美三级电影在线观看| 欧美久久久久久久久| 久久久蜜臀国产一区二区| |精品福利一区二区三区| 爽爽淫人综合网网站| 激情文学综合网| www.66久久| 91精品国产麻豆国产自产在线| 精品国产乱码久久久久久免费| 久久久91精品国产一区二区精品 | 欧美在线不卡视频| 欧美电影免费观看高清完整版在| 国产日韩在线不卡| 亚洲精品va在线观看| 精品中文av资源站在线观看| 99v久久综合狠狠综合久久| 欧美电影影音先锋| 国产精品伦理一区二区| 日韩av中文字幕一区二区三区| 粗大黑人巨茎大战欧美成人| 这里只有精品电影| 亚洲欧美国产三级| 国产一区二区在线视频| 欧美老肥妇做.爰bbww视频| 国产女人aaa级久久久级| 日韩福利电影在线观看| 色婷婷av久久久久久久| 精品国产一区二区在线观看| 亚洲大片免费看| 91麻豆高清视频|