Question: Please make a Matlab code for just e . ) using corke matlab robotics toolbox. funct rpy 2 tr ( ) and transl ( )

Please make a Matlab code for just e.) using corke matlab robotics toolbox. funct rpy2tr() and transl(). i already did a-d MATLAB EXERCISE 2B
a) Write a MATLAB program to calculate the homogeneous transformation matrix
?BAT when the user enters Z-Y-x Euler angles -- and the position vector
?APB. Test for two examples:
i)=10,=20,=30, and ?APB={[1,2,3]}T.
ii) For =20(==0),?APB={[3,0,1]}T.
b) For =20(==0),?APB={[3,0,1]}T, and ?BP={[1,0,1]}T, use MATLAB to
calculate ?AP; demonstrate with a sketch that your results are correct. Also, using
the same numbers, demonstrate all three interpretations of the homogeneous
transformation matrix - the (b) assignment is the second interpretation, transform
mapping.
c) Write a MATLAB program to calculate the inverse homogeneous transformation
matrix ?BAT-1=?ABT, using the symbolic formula. Compare your result with a
numerical MATLAB function (e.g., inv). Demonstrate that both methods yield
correct results (i.e.,?BATBAT-1=?BATB-1?AT=I4). Demonstrate this for examples (i)
and (ii) from (a) above.
d) Define ?BAT to be the result from (a)(i) and ?CBT to be the result from (a)(ii).
i) Calculate ?CAT, and show the relationship via a transform graph. Do the same
for ?ACT.
ii) Given ?CAT and ?CBT from (d)(i)-assume you don't know ?BAT, calculate it, and
compare your result with the answer you know.
iii) Given ?CAT and ?BAT from (d)(i)-assume you don't know ?CBT, calculate it, and
compare your result with the answer you know.
e) Check all results by means of the Corke MATLAB Robotics Toolbox. Try
functions rpy2tr() and transl().
 Please make a Matlab code for just e.) using corke matlab

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 Databases Questions!