⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 emptycheck.m

📁 6自由度机器人仿真程序
💻 M
字号:
% This is a subfunction of rrrproject3.m
% Created by Gan Tao        taogan@eng.buffalo.edu
% Graduate Student of SUNY Buffalo
% Date: Jan.2004
% emptycheck.m is for checking wether the variables for inverse kinematic
% are full. If there are enough for the inverse it sends 0 otherwise send
% 1.


function emck=emptycheck()

global H a1 b1 
global Yp Xp Ypb Xpb Ypc Xpc
global Xg Yg fai
global S1 S2 S3 AD


if isempty(Xg) | isempty(Yg) | isempty(fai) | isempty(H) | isempty(a1) | isempty(b1) | isempty(Yp) | isempty(Xp) | isempty(Xpb) | isempty(Ypb) | isempty(Ypc) | isempty(Xpc)...
        isempty(S1)|isempty(S2)|isempty(S3)|isempty(AD)
    

    emck = 1;
    
else 
    emck = 0;
    
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -