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

📄 inertia.m

📁 Robotics TOOLBOX The Toolbox provides many functions that are useful in robotics including such thi
💻 M
字号:
%INERTIA Compute the manipulator inertia matrix%%	INERTIA(ROBOT, Q)%% Returns the n x n symmetric inertia matrix which relates joint torque % to joint acceleration.% ROBOT describes the manipulator dynamics and kinematics, and Q is% an n element vector of joint state.%% See also: RNE, CINERTIA, ITORQUE, CORIOLIS, GRAVLOAD.% MOD HISTORY% 4/99 add objects% 6/99	init M to zeros rather than [], problem with cat() v 5.3% $Log: inertia.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) Peter Corke 1993function M = inertia(robot, q)	n = robot.n;	if length(q) == robot.n,		q = q(:)';	end	M = zeros(n,n,0);	for Q = q',		m = rne(robot, ones(n,1)*Q', zeros(n,n), eye(n), [0;0;0]);		M = cat(3, M, m);	end

⌨️ 快捷键说明

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