add check in verify regressor
This commit is contained in:
parent
0926a14dfd
commit
599ffa1af8
|
|
@ -56,6 +56,8 @@ j=1;
|
||||||
Vlinear(:, j+1) = BodyVelToLinearVel(V2(:,j+1),G(:,:,j)*M12);
|
Vlinear(:, j+1) = BodyVelToLinearVel(V2(:,j+1),G(:,:,j)*M12);
|
||||||
j=2;
|
j=2;
|
||||||
Vlinear(:, j+1) = BodyVelToLinearVel(V2(:,j+1),G(:,:,j)*M23);
|
Vlinear(:, j+1) = BodyVelToLinearVel(V2(:,j+1),G(:,:,j)*M23);
|
||||||
|
%% Check if screw method is equal to regressor
|
||||||
|
isequal(simplify(tau),simplify(tau_mat))
|
||||||
%% Numerical
|
%% Numerical
|
||||||
clear pi;
|
clear pi;
|
||||||
ndof = robot.ndof;
|
ndof = robot.ndof;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue