Question: In second assignment you have derived Homogeneous Transformations for the Table and Triangle problems. Now plot the homogeneous transformations and verify for the Question 2

In second assignment you have derived Homogeneous Transformations for the Table and Triangle problems. Now plot the homogeneous transformations and verify for the Question 2, triangle problem in MATLAB. Reference code:
|H4x4 Transforms
clear all;
close all;
win =[{:[-2,1,-1,3,-1,4]:}];%% Plotiing WIndow
% Global Refrence Frame F0
H0= eye(4);
trplot(H0, 'color', 'k', 'length', 1, 'arrow', 'frame', '0', 'axis', win)
view(100,30), hold on
% Second frame F1
H01= H0* transl(0,1,1);
trplot(H01, 'color', 'b', 'length', 1, 'arrow', 'frame', '1')
% Thrid frame F2
H02= H01* transl(-0.5,0.5,0);
trplot(H02, 'color', 'm', 'length', 1, 'arrow', 'frame', '2')
% Camera frame F3
H23= transl(0,0,2)* troty(pi)* trotz(pi/2);
H03= H02* H23
trplot(H03, 'color', 'c', 'length', 1, 'arrow', 'frame', '3')
hold off;
Consider the diagram, Find the homogeneous transformations
Consider the diagram, Find the homogeneous transformations H01,H02,H12 representing
the transformations among the three frames shown. Show that H02= H01* H12.(10 Points)
Extra Credit (5 Points)
Try to develop a homogeneous transform H_(2)^(1) from frame 1 to frame 2, by translating along
the hypotenuse of the right triangle shown in the figure.
Hint: Step I-Align an axis of your choice such that it is collinear with the hypotenuse
Step 2- Translate along the hypotenuse
Step 3- Undo Step 1(advisable but not necessary)
Step 4- Align frames 1 and 2.
In second assignment you have derived Homogeneous

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!