20 views

Uploaded by Hamza Ali Imran

Robotics Lab manuals

- Semi
- zoho2.pdf
- Eckart C. the Solution of the Problem of the Simple Oscillator by a Combination of the Schroedinger and the Lanczos Theories 1920
- B.Com. Part- I
- ucinet
- Rga
- Course Outline Part a (1)
- R Introduction
- Chapter 9
- Sample Papers Class XII Computer Science
- grupo 6 (2)
- hw3
- Correlation Matrix - AFL Programming - AmiBroker Community Forum
- B.Tech_Aerosapace_Syllabus.pdf
- 687_1
- Neuro & Fuzzy System Practical Images
- A Comparison of the Performances between a Genetic Algorithm and the Taguchi Method over Artificial Problems
- m 161 Course Outline.
- MatLab Tutorial by Aaron Rababaah
- C1_1

You are on page 1of 7

EL424

LABORATORY MANUAL

Spring 2018

LAB 07

Rigid-Body Motions and Transformation matrix calculation

using MATLAB

Engr. Iqra Akram

STUDENT NAME ROLL NO SEC

______________________________________

LAB ENGINEER SIGNATURE & DATE

_______________________________________________________________

NATIONAL UNIVERSITY OF COMPUTER AND EMERGING SCIENCES (NUCES), ISLAMABAD

Last Edited by: Engr. Iqra Akram Date: 12 Feb, 2018

Verified by: Dr. MukhtarUllah Date: 12 Feb, 2018

LAB: 07 Rigid-Body Motions and Transformation matrix

1. Learning Objectives:

a. Understanding of rigid body motion.

b. Understanding of transformation matrix.

2. Equipment Required:

MATLAB

PC

3. Introduction

invR = RotInv(R) , that command will use to find the inverse of the Rotation matrix.

Vector to Matrix:

so3mat = VecToso3(omg)

Returns the 3 × 3 skew-symmetric matrix corresponding to omg

Matrix to vector:

omg = so3ToVec(so3mat)

Returns the 3-vector corresponding to the 3× 3 skew-symmetric matrix so3mat.

[omghat,theta] = AxisAng3(expc3)

Extracts the rotation axis ˆω and the rotation amount θ from the 3-vector ˆωθ of

exponential coordinates for rotation, expc3.

R = MatrixExp3(so3mat)

Computes the rotation matrix R ∈ SO(3) corresponding to the matrix exponential of so3mat

∈ so(3).

so3mat = MatrixLog3(R)

Computes the matrix logarithm so3mat ∈ so(3) of the rotation matrix R ∈

SO(3).

T = RpToTrans(R,p)

Builds the homogeneous transformation matrix T corresponding to a rotation

matrix R ∈ SO(3) and a position vector p ∈ R3.

[R,p] = TransToRp(T)

Extracts the rotation matrix and position vector from a homogeneous transformation matrix

T.

invT = TransInv(T)

Computes the inverse of a homogeneous transformation matrix T

Task 1:

Find the inverse of the rotation matrix which you find in the last lab.

MATLAB Code:

MATLAB screenshoot:

Task 2:

MATLAB Code:

MATLAB screenshoot:

Task 3:

MATLAB Code:

MATLAB screenshoot:

Task 4:

MATLAB Code:

MATLAB screenshoot:

Task 5:

Compute exponential rotation matrix R for so3mat, which get from task 2.

MATLAB Code:

MATLAB screenshoot:

Task 6:

MATLAB Code:

MATLAB screenshoot:

Task 7:

MATLAB Code:

MATLAB screenshoot:

Task 8:

For Rotation matrix R, which you extract in Lab 6 (last task) and vector p=[2 2 2] find the

transformation matrix T.

MATLAB Code:

MATLAB screenshoot:

Task 9:

Extract Rotation matrix R and vector p from tarnsformation matric T from task 8.

MATLAB Code:

MATLAB screenshoot:

Submission Declaration by the Student:

In submitting this lab write-up to the Lab Engineer/Instructor, I hereby declare that:

I have performed all the practical work myself

I have noted down actual measurements in this writeup from my own working

I have written un-plagarised answers to various questions

I have/have not obtained the desired objectives of the lab.

Reasons of not obtaining objectoves (if applicable): _________________________________

___________________________________________________________________________

___________________________________________________________________________

___________________________________________________________________________

___________________________

Student’s signature and Date

The Lab Engineer can separate this page from the writeup and keep it for his/her own record. It

must be signed by the student with date on it.

Lab Work: objectives achieved (correctness of measurements, calculations, answers to

questions posed, conclusion) ________/30

Lab Writeup: Neatness, appropriateness, intime submission ________/10

Troubleshooting: Were the student able to troubleshoot his/her work when it was

purposedly changed? ________/10

TOTAL: ________/50

Encircle your choice. -2 means poorest/worst/extremely inadequate/irrevlevant, 0 gives an

average score, and +2 means best/most relevant/most adequate.

Did the student remain focused on his/her work during lab? -2 -1 0 1 2

Rate student's behaviour with fellows/staff/Lab Engineer? -2 -1 0 1 2

Did the student cause any distraction during the Lab? -2 -1 0 1 2

Was the student found in any sort of plagiarism? -2 -1 0 1 2

__________________________________________________________________________

__________________________________________________________________________

__________________________________________________________________________

__________________________________________________________________________

___________________________

Lab Engineer’s signature and Date

Student's feedback:[Separate this page; fill it; drop in the Drop Box.]

Providing feedback for every lab session is optional. No feedback means you are satisified

The Lab Committee will consider only duly filled forms submitted within one week after the

lab

This feedabck is for LAB session: LAB Number: _____, Date: _____________________

General (to provide feedback on a persistent practice/ocurrence in LABs).

Your current CGPA is in the range 4.00 to 3.00/2.99 to 2.00/1.99 to 1.00/0.99 to 0.00

For a Particular

Who conducted the LAB? __________________________________________________

Actual Start time: _______________ Total Duration of Lab: _______________________

Instruction Duration: _________________ Practical Duration: _____________________

LAB writeup available before LAB?Yes/No with the Photocopier/in LAB/in SLATE

Had the theory related to lab been covered in theory class?Yes/No

Encircle your choice. -2 means poorest/worst/extremely inadequate/irrevlevant, 0 gives an

average score, and +2 means best/most relevant/most adequate.

Instruction How much did you understand about the practical? -2 -1 0 +1 +2

Session How much content was irrelevant to the practical? -2 -1 0 +1 +2

Did the instructor allowed Q/A and discussion? -2 -1 0 +1 +2

Practical Did you get sufficient time for practical? -2 -1 0 +1 +2

Presence in lab at all time? -2 -1 0 +1 +2

Ability to convey? -2 -1 0 +1 +2

Lab Readiness to help during practical? -2 -1 0 +1 +2

Engineer Readiness to discuss theoretical aspects? -2 -1 0 +1 +2

Helps in troubleshooting? -2 -1 0 +1 +2

Guides hows & whys of troubleshooting? -2 -1 0 +1 +2

How friendly was the lab staff? -2 -1 0 +1 +2

Staff Presence of staff throughout the lab session? -2 -1 0 +1 +2

Impact of availability of staff on your practical? -2 -1 0 +1 +2

Performance of Electronic Instruments? -2 -1 0 +1 +2

Equipment Performance of Breadboard/experiment kit? -2 -1 0 +1 +2

Performance of circuit components esp. ICs? -2 -1 0 +1 +2

Overall Your overall rating for the whole lab session? -2 -1 0 +1 +2

__________________________________________________________________________

__________________________________________________________________________

- SemiUploaded bynishutha3340
- zoho2.pdfUploaded byPrincy
- Eckart C. the Solution of the Problem of the Simple Oscillator by a Combination of the Schroedinger and the Lanczos Theories 1920Uploaded byJorge Silva de Rivas
- B.Com. Part- IUploaded byhimanshubnl
- ucinetUploaded byLuckyClover
- RgaUploaded byGesang Rakhmad Utomo
- Course Outline Part a (1)Uploaded bydavy123
- R IntroductionUploaded bylamaram32
- Chapter 9Uploaded byS.T
- Sample Papers Class XII Computer ScienceUploaded byKNOWLEDGE CREATORS
- grupo 6 (2)Uploaded bySandra Pizarro
- hw3Uploaded byapi-462058007
- Correlation Matrix - AFL Programming - AmiBroker Community ForumUploaded bySharad
- B.Tech_Aerosapace_Syllabus.pdfUploaded byAnonymous VKv75qe98
- 687_1Uploaded byCyrus Jia
- Neuro & Fuzzy System Practical ImagesUploaded byPradeep Karmakar
- A Comparison of the Performances between a Genetic Algorithm and the Taguchi Method over Artificial ProblemsUploaded byw.madmax42
- m 161 Course Outline.Uploaded byLWANGA FRANCIS
- MatLab Tutorial by Aaron RababaahUploaded byhrababaa
- C1_1Uploaded byDonaugu
- A Triangular Membrane Element With Rotational Degrees of FreedomUploaded byMohammad
- The Ms Mathematics Program2 With CD 1358924354Uploaded byAldren Delina Rivera
- jawapan khawarizmiUploaded byNorliyana Idris
- Matlab Lecture 2Uploaded byalex9862
- Problem Solving With Maple, A Handbook (1998)Uploaded byapi-3728906
- mmex1Uploaded byDaniel Espinal
- CE525_SW_01Uploaded byce526
- MIT6_094IAP10_assn02Uploaded byRosh Otojanov
- 83949100Uploaded byHarbey Alexander Millan Cardenas
- B. Tech II Sem SyllabusUploaded bykhananu

- Lecture+39Uploaded byHamza Ali Imran
- Lab_08_itr Intro to roboticsUploaded byHamza Ali Imran
- Load Characteristics, load curve, load factor and max demand detals slidesUploaded byHamza Ali Imran
- entrepreneurshipUploaded byHamza Ali Imran
- Intro To Robotics (Grubler's formula practice Question)Uploaded byHamza Ali Imran
- Average load, load+factor, demand factor and diversity factor easy slidesUploaded byHamza Ali Imran
- Lecture+34Uploaded byHamza Ali Imran
- Lab_09_itr (2)Intro to roboticsUploaded byHamza Ali Imran
- Lab_06_itr (1)Intro to roboticsUploaded byHamza Ali Imran
- Lab%2B01-itr (1)Intro to roboticsUploaded byHamza Ali Imran
- Lecture1_DSP_16012017Uploaded byHamza Ali Imran
- Q1 sol part 1 aUploaded byHamza Ali Imran
- Lecture+29Uploaded byHamza Ali Imran
- Packet Sniffing and IPv4 HeaderUploaded byHamza Ali Imran
- Lecture+31Uploaded byHamza Ali Imran
- electromagentic problemsUploaded byHamza Ali Imran
- Lecture+30Uploaded byHamza Ali Imran
- Lecture+27Uploaded byHamza Ali Imran
- A Survey of Transport Protocols ForWireless SensorUploaded byHamza Ali Imran
- Lecture+28Uploaded byHamza Ali Imran
- HW2EMT.pdfUploaded byHamza Ali Imran

- Derivation of the Euler-Rodrigues Formula for Three-dimensional Rotations From the General Formula for Four-dimensional RotationsUploaded byhmalikn7581
- Lecture 17 - Representation Theory of Lie Groups and Lie Algebras (Schuller's Geometric Anatomy of Theoretical Physics)Uploaded bySimon Rea
- Imaginary PhysicsUploaded byesotec
- Dam, Koch, Lillholm - Quaternions, Interpolation and AnimationUploaded byAlan Doberman
- [Tabachnikov S.] Mathematical Methods of Classical(BookFi.org)Uploaded byFelipe Narvaez Miranda
- A Drift Eliminated Attitude & Position Estimation Algorithm in 3DUploaded bySampa Das
- lect06_2Uploaded byVamsi Pavan
- PH1Uploaded byTrung Ngo
- Unver Ciftci and Holger Waalkens- Holonomy reduced dynamics of triatomic molecular systemsUploaded byMaxnamew
- GroupUploaded bysoumensahil
- 3 d Pendulum Cdc 2004Uploaded byFabiano Formagini
- Chap9 TopologicalUploaded byAlice Baldwin
- Homotopy Groups and Exact SequencesUploaded byParampreetWalia
- Analytical and Numerical Approximation of Effective Diffusivities in the Cytoplasm of Biological CellsUploaded byAl-Kawthari As-Sunni
- Global Formulations of Lagrangian and Hamiltonian Dynamics on Manifolds a Geometric Approach to Modeling and AnalysisUploaded byGiculPiticul
- Spherical HarmonicsUploaded bycarlosgm
- Attitude filtering on SO3.pdfUploaded byalvaroroman92
- Pauli MatricesUploaded byAnthony Rogers
- Lectures on Mechanics 1992 (2009 Rev)Uploaded byzzjjh
- Spin RotUploaded byMartín Figueroa
- Quantum Mechanics - Chapter7 - Angular Momentum and RotationsUploaded byГордан Ѓоргоски
- GroupTheory-SERC2015Uploaded bysoumensahil
- Rotation MatrixUploaded bychessgeneral
- Introduction to SupersymmetryUploaded byweiss13
- Applied Geometric AlgebraUploaded byschlemihl69
- Group Theory with applicationsUploaded byAleandro Antidormi
- Rigid Motion and Homogeneous Transformations1Uploaded byPereira
- Crystal-Field Theory, Tight-Binding Method, And Jahn-Teller EffectUploaded bydragonlj1
- 10-spinorsUploaded byhimanshudhol25
- Lecture Notes in Lie Groups.pdfUploaded byHoang Bao Tran Tan