|
This example transfers a wrench from the end-effector frame to the link 6 frame .
clear all
WEResE = [-10*sind(54); 0; 10*cosd(54); 0; -30; 0]; % [Force (N); Moment (N-cm)]
TETo6 = [1 0 0 0; 0 1 0 0; 0 0 1 22; 0 0 0 1];
RETo6 = TETo6(1:3,1:3) XERel6Res6 = TETo6(1:3,4)
RETo6 = 1 0 0 0 1 0 0 0 1 XERel6Res6 = 0 0 22
XCross = [ 0 -XERel6Res6(3) XERel6Res6(2); XERel6Res6(3) 0 -XERel6Res6(1); -XERel6Res6(2) XERel6Res6(1) 0 ]
XCross = 0 -22 0 22 0 0 0 0 0
LambdaETo6 = [RETo6 zeros(3); XCross*RETo6 RETo6 ]
LambdaETo6 = 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 -22 0 1 0 0 22 0 0 0 1 0 0 0 0 0 0 1
W6Res6 = LambdaETo6*WEResE
W6Res6 = -8.0902 0 5.8779 0 -207.9837 0
This MATLAB example illustrates a computation from the textbook Fundamentals of Robot Mechanics by G. L. Long, Quintus-Hyperion Press, 2015. See http://www.RobotMechanicsControl.info for other relevant files.