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

📄 pseudoi.m

📁 The Robotics Toolbox provides many functions that are useful in robotics such as kinematics, dyn
💻 M
字号:
%% Author: epokh
%% Website: www.epokh.org/drupy
%% This software is under GPL

%%Description:
%%input: m=total mass of the link
%% I=the inertia matrrix (3x3)
%% c=position of the centre of mass of the link
%%output= the pseudo inertia matrix

function pseudoI=pseudoI(m,I,c)

pseudoI=[(-I(1,1)+I(2,2)+I(3,3))/2, I(1,2),I(1,3),m*c(1);
         I(1,2),(I(1,1)-I(2,2)+I(3,3))/2,I(2,3),m*c(2);
         I(1,3),I(2,3),(I(1,1)+I(2,2)-I(3,3))/2,m*c(3);
         m*c(1),m*c(2),m*c(3),m];

end

⌨️ 快捷键说明

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