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

📄 gravload.m

📁 robot toolbox很多不全面
💻 M
字号:
%GRAVLOAD Compute the gravity loading on manipulator joints%%	TAUG = GRAVLOAD(ROBOT, Q)%	TAUG = GRAVLOAD(ROBOT, Q, GRAV)%% Compute the joint gravity loading for the manipulator ROBOT in the% configuration Q.%% If Q is a row vector, the result is a row vector of joint torques.% If Q is a matrix, each row is interpretted as a joint state vector, and% the result is a matrix each row being the corresponding joint torques.%% Gravity vector can be given explicitly using the GRAV argument, otherwise% it defaults to the value of the ROBOT object.%% See also: ROBOT, RNE, ITORQUE, CORIOLIS.% $Log: gravload.m,v $% Revision 1.2  2002/04/01 11:47:13  pic% General cleanup of code: help comments, see also, copyright, remnant dh/dyn% references, clarification of functions.%% $Revision: 1.2 $% Copyright (C) 1993-2002, by Peter I. Corkefunction tg = gravload(robot, q, grav)	if numcols(q) ~= robot.n		error('Insufficient columns in q')	end	if nargin == 2,		tg = rne(robot, q, zeros(size(q)), zeros(size(q)));	elseif nargin == 3,		tg = rne(robot, q, zeros(size(q)), zeros(size(q)), grav);	end	

⌨️ 快捷键说明

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