Dynamic-Calibration/utils/screw utils/Ad_transf.m

9 lines
215 B
Mathematica
Raw Normal View History

2019-12-18 11:25:45 +00:00
function Ad_g = Ad_transf(g)
%Computes adjoint matrix of the homogenous transformation
%matrix g = [R p; 0 1]
Ad_g = [g(1:3,1:3), vec2skewSymMat(g(1:3,4))*g(1:3,1:3);
zeros(3,3), g(1:3,1:3)];
end