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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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