BIRDy/Utils/SymbolicModelData/inertiaMatrixCOM2DH.m

10 lines
336 B
Mathematica
Raw Permalink Normal View History

2021-04-29 09:42:38 +00:00
function [L] = inertiaMatrixCOM2DH(I, Mi, Moment)
% Authors: Quentin Leboutet, Julien Roux, Alexandre Janot and Gordon Cheng
%
% This function computes the inertia matrix L of a robot link at the joint centre position, using the Inertia
% matrix I of the same link but computed at its CoM.
L = I + Skew(Moment)'*Skew(Moment)./Mi;
end