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

  Ways that virtualization is accomplished using software

Can you explain one or two ways that virtualization is accomplished using software and hardware

  What advice or guidance would offer a company

In times of financial difficulty, companies often resort to trimming the human asset base, without proper prior analysis of the long-term impacts of those actions.

  Verilog system

Develop a verilog system which utilizes a block code for the error management. The system must accept a 15-word block of 8-bit data words one word at a time.

  Term paper students self-service website for mobile devices

term paper students self-service website for mobile devices in order to provide a convenient self-service solution for

  Define the limitations of vb-script

OOP is not about programming as much as it is about thinking in a specific way. When you think of an object, you should see it as a set of properties and processes. Properties are the data, and methods are what you do to the data.

  Write application that perfom various temperature conversion

One line 83, add code to call the celsiusJTextFieldActionPerformed method. Pass to the method the ActionEvent object event as the argument.

  What percentage of the books is green

What percentage of the books is green and what is the 90% confidence interval for the percentage of green books?

  Security vulnerability

What is the security vulnerability of this solution

  Describe any environmental conditions or for evidence room

How should the items you collected as evidence be stored in your evidence room. Describe any environmental conditions or concerns for your evidence room (digital evidence can require some unique considerations!), as well any security procedures t..

  What is the most favorite loop structure

What is the most favorite loop structure. How may you use it in a real business programming problem.

  What are some types of surfaces that you would expect to

you will process a variety of porous and nonporous items for latent prints using black fingerprint powder or crushed

  Using microsoft visio or an open source alternative such as

write a two to three page paper in which you using microsoft visio or an open source alternative such as dia create a

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