Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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().
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Climate And Environmental Database Systems

Authors: Michael Lautenschlager ,Manfred Reinke

1st Edition

1461368332, 978-1461368335

More Books

Students also viewed these Databases questions