Write a program to simulate the motion of the robot

Assignment Help Computer Engineering
Reference no: EM131101701

E28: Mobile Robotics - Fall 2015 - HOMEWORK 1

1. Orthogonal transformations

Recall that an n x n matrix A is an orthogonal transformation if any of these four equivalent criteria are met:

  • A has n mutually perpendicular, unit length rows or columns
  • the rows or columns of A form an orthonormal basis for Rn
  • AAT = ATA = I
  • A-1 = AT

Also recall that orthogonal transformations preserve inner products. For any orthogonal transformation A and any two vectors x and y,

(Ax) · (Ay) = x · y

Using the definition and property above, prove the following:

a. The product of any two orthogonal transformations A and B is itself an orthogonal transformation.

b. For any orthogonal transformation A and any vector x, ||Ax|| = ||x||

2. Rigid transformations

a. As we said in class, a rigid transformation in 2D parameterized by a rotation matrix R and a translation vector t can be represented by the 3x3 matrix

2453_Figure.png

Show that the product of two such matrices M2 and M1 parameterized by R2, t2, R1, and t1, results in a matrix which is equivalent to the composition of the rigid transformations that we discussed in class.

b. A pair of transformations T1 and T2 is said to obey the commutative property if

T2(T1(p)) = T1(T2(p))

For each of the following, show that the pair of transformations commutes, or provide a counterexample indicating that they do not.

  • any two rotations in R2
  • any two translations in Rn
  • any two rigid transformations in R2
  • any two rotations in R3

3. Simulating robot motion

A differential drive robot has a wheel radius of 0.05 m, and the wheel centers are each a distance 0.05 m from the centerline. Starting out at (xw = 0, yw = 0, θ = 0), the robot's wheels undergo the following velocities:

  • vL = 2, vR = 1.5 for 3 seconds
  • vL = 1.0, vR = -1.0 for 2 seconds
  • vL = 0.5, vR = 2.5 for 2 seconds
  • vL = -1.5, vR = 1.0 for 3 seconds

Write a program to simulate the motion of the robot using the equations from class. You should assume that the robot changes its wheel velocities instantaneously.

a. Run your program three times, with step sizes of ?t = 0.25 s, 0.125 s, and 0.0625 s.

b. Create an x/y plot of all three robot paths on a single graph. Use different colors or line styles to distinguish the paths, and make sure to use an equal aspect ratio when plotting (axis equal, in MATLAB parlance).

c. Note what happens as the timestamp gets smaller. Are there systematic errors caused by large step sizes, or is the error more or less random? Write your answers on the same page as your plot printout.

You can write your program in any programming language you want. Be sure to turn in printouts of both your code and your graph.

Reference no: EM131101701

Questions Cloud

Investment affect economic and social development : Please explain how trade and investment affect economic and social development. Provide an example of a country that had economic and social development from trade and investment. Explain and discuss Theory of Absolute Advantage. How does it differ f..
Contemporary technologies to enhance services : We use a number of contemporary technologies to enhance services that we provide for our customers. One such technology known as ____________ allows us to observe and track products and services in transport.
As information technology has grown in sophistication : As information technology has grown in sophistication, IT professionals have learned how to utilize ____________ for better decision making. They now look for patterns in the collected data that allow us to make better marketing decisions.
Wage pass-through to internalize insurance benefits : using "Wage pass-through" to internalize insurance benefits mean. IF an employee has "firm specific" talents and abilities this means that. indemnity insurance provided incentive for
Write a program to simulate the motion of the robot : Write a program to simulate the motion of the robot using the equations from class. You should assume that the robot changes its wheel velocities instantaneously
Who farms raw cotton in perfectly competitive market : You are economic consultant for Jack, who farms raw cotton in a perfectly competitive market. One day he gives you the following data at his present level of production: Draw a graph for the raw cotton market and a graph for Jacks farm current situat..
Business policy and strategy-industry economic features : Industry Economic Features—What are the industry’s dominant economic features? Industry Competitive Forces—What causes the industry competitive structure and business environment to change? Industry KSF’s—What are the key success factors for future c..
Show model with highly inelastic supply curve : Show a model with a highly inelastic Supply Curve (such as rental units in New York City). Show the effects of a price ceiling on this market. Show: Note any deadweight loss due to the price ceiling. Is it more or less than the standard model?
Religion does not permit them to use birth control measures : How would you classify people that have religious beliefs or their religion does not permit them to use birth control measures? This can affect the validity of your experiment.

Reviews

Write a Review

Computer Engineering Questions & Answers

  E-commerce transaction

Question 1: Suspicious e-commerce transaction includes orders placed by a customer in one country that are shipped to another country. In fact there are no such orders in the Northwind db,  so create a few by modifying some of the "Germany

  Geographic information system for storing point data

For this project you will build a simple Geographic Information System for storing point data. The focus is organizing city records into a database for fast search. For each city you will store the name and its location (X and Y coordinates). Sear..

  Which parts of the assignment were you not able to complete

Which parts of the assignment were you not able to complete fully? For each, explain why you were unable to complete this part and what steps you took to attempt to complete it. Give me as much detail as possible such that I may award partial cred..

  Task1 compile a list of at least four skills that are

task1. compile a list of at least four skills that are listed as essential or desirable from the advertisments you have

  Draw all of the different maximally oriented heaps

Draw all of the different maximally oriented heaps that can be made from the five keys A B C D E, then draw all of the different maximally oriented heaps that can be made from the five keys A A A B B.

  What is a microprocessor

What is a microprocessor. Besides computers, what other products have microprocessors. What current household products that do not contain microprocessors do you think will contain microprocessors in the next 20 years. Why

  Query using an update statement

Here is issue, a table namedPoints varchar(81) has values stored in a column named Point. There are two columns in the Points table, X and Y.

  Question- write down a java program which build a binary

question- write down a java program which build a binary tree given an arithmetic expression.- the arithmetic

  Find out an article which explains how files are organized

find an article that describes how files are organized on a website. what are two best practices regarding web file

  Question1 images can be stored as lossless or lossy bitmaps

question1. images can be stored as lossless or lossy bitmaps. explain differences why are most photographic images

  Defining the class counter

Write down the definition of the class counter consisting of: An instance variable named counter of type int. A constructor which takes one int argument and allocates its value to the counter.

  Discuss other professions aside from health care and

brain saving technologies inc. and the t-health institute medicine through videoconferencing.in a three- to five-page

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd