Write a simulator to evaluate some control strategies

Assignment Help Engineering Mathematics
Reference no: EM131102187

E28: Mobile Robotics - Fall 2015 - HOMEWORK 6

Pure pursuit overview

In class, we showed that the pure pursuit algorithm for driving along a line can be straightforward to implement if we have access to the transformation TLR from the robot frame to the line frame. We assume the line frame is defined such that the line lies on the x-axis of the coordinate frame.

We also assume the robot-to-line transformation is given by

1653_Figure.png

So the point (x, y) specifies the position of the robot in the line frame.

To run the pure pursuit controller, then:

1. Compute the point pc, the closest point on the line to the robot. In the line frame, the coordinates are simply (x, 0).

2. March ahead of pc along the line by some distance α to obtain pd, the pursuit point for the robot. The line-frame coordinates of pd are (x + α, 0).

3. Issue the controls

x· R = kx,                θ· = kθ(cy/cx)

where the point (cx, cy) are the coordinates of pd, expressed in the robot frame - that is, the coordinates obtained by mapping the point (x + α, 0) through the inverse of the transformation TLR.

Simulated pure pursuit

Write a simulator to evaluate some control strategies for pure pursuit. Assume you have a differential drive robot whose body-frame velocities x·R and 9·R can be commanded directly (note: you can probably re-use some code, and throw away the parts that deal with vL and vR).

a. Start the robot at (x, y, θ) = (0, -0.5, 0). Set the gains to α = 0.2, kx = 0.1 and kθ = 2.0, and simulate for 30 seconds using Euler's method with ?t = 0.01 second.

Graph the motion of the robot in the world frame on an (x, y) plot. Make sure your plot has equal scaling on the x and y axes (in MATLAB, for instance, use the axis equal command).

b. Simulate what happens with a look ahead distance too small (α = 0.05) and too large (α = 1.0). Submit plots for each.

c. Restore α = 0.2 and simulate what happens when you clamp the angular velocity to be in the ±0.15 rad/s range (i.e. enforce a maximum rotational velocity limit). You should see some oscillation in the robot's motion. Modify the α and/or kθ gains to fix the behavior, and submit plots of both the overshooting and fixed behavior, with the second plot labeled with the new gains.

Reference no: EM131102187

Questions Cloud

The ulleval university hospital officials plan : a. If the Ulleval University Hospital in Oslo requires special treatment for newborn babies weighing less than 2700 g, what is the percentage of newborn babies requiring special treatment?
Do you find any of its services ethically objectionable : Visit Purina.com. Do you find any of its services ethically objectionable? Why, or why not? Review the privacy policies of Purina.com. What does the privacy policy cover that reassures you? Is there anything of concern?
Declining in the american economy : How would you account for the fact that although some observers claim competition is declining in the American economy, every business firm insists that it faces strenuous competition? Explain.
Public sector in terms of decision making : In which of the following ways is the private market sector similar to the public sector in terms of decision making?
Write a simulator to evaluate some control strategies : E28: Mobile Robotics - Fall 2015 - HOMEWORK 6. Write a simulator to evaluate some control strategies for pure pursuit. Assume you have a differential drive robot whose body-frame velocities x·R and 9·R can be commanded directly
Challenges to corporations face with regards to social media : What challenges to corporations face with regards to social media? Do companies have social media policies for sharing information? Provide an example.
Find the value of b : Explain why this asymptotic expression remains valid without first approximating the denominator r2 in (9.88) by r1
A nationwide sample about their views : Gays in the military. In 2010, a Quinnipiac University Poll and a CNN Poll each asked a nationwide sample about their views on openly gay men and women serving in the military.11 Here are the two questions:
What are maximum profits : Given the current wage is $100 and the price of output is equal to $3.00. 1. How many workers need to be hired? 2. What are maximum profits?

Reviews

Write a Review

Engineering Mathematics Questions & Answers

  Find the equation of the regression line for the data

Is there a correlation between x and y in Problem 1?  Use Table A-5 to help you to explain your answer.  Don't just say yes or no! Find the equation of the regression line for the data in Problem 1. Round your slope and y-intercept to three decimal..

  Linear programming model for alexis harrington

How much would the return for cattle have to increase in order for Alexis to invest only in cattle? Should all of Alexis's inheritance be invested according to the optimal solution?

  What is the probability that a victim randomly selected

What is the probability that a victim randomly selected from this list of transportation fatalities for 2007 died in a train or a plane accident? Round answer to two decimal places.

  Find the work w done on the gas during the entire process.

A cylinder with initial volume V contains a sample of gas at pressure p. The gas is heated in such a way that its pressure is directly proportional to its volume. After the gas reaches the volume 3V and pressure 3p, it is cooled isobarically to it..

  System with a refrigeration capacity

If the ambient temperature is 25°C, determine how long it will take for a system with a refrigeration capacity of 8 kW to precool this truck.

  The formula c 59 f - 32 where f gt - 45967 expresses the

question the formula c 59 f - 32 where f gt - 459.67 expresses the celsius temperature c as a function of the

  Determine what happens to the turtle population

Differential equation to determine what happens to the turtle population in the long run -remote island satisfies the differential equation

  Null and the alternative hypothesis

For problem below, state the null and the alternative hypothesis, determine a critical value, present a test statistic, and provide a p-value and your decision. Use

  What is the temperature inside the refrigerator

A can of soda is taken from the refrigerator, and is left in a room whose temperature is 24°C. After half an hour the temperature of the can was 12°C and after another half an hour the temperature of the can was 16°C. What is the temperature insid..

  Graphical representation of a linear program

A graphical representation of a linear program is shown in the attachment. The shaded area represents the feasible region, and the dashed line in the middle is the slope of the objective function.

  Find out what it takes to qualify for a loan

Select a financial institution and find out what it takes to qualify for a loan. Try to understand the rationale for the institution's rules, policies, and guidelines about loan approval.

  Total cost of meeting the delivery schedule

Management wants to know how many units should be produced in each week to minimize the total cost of meeting the delivery schedule. Formulate this problem as a transportation problem by constructing the appropriate parameter table.

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