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

  Write down a dual formulation of linear program

Write down a dual formulation of this linear program - describe how the dual formulation can be used to obtain a feasibility cut in the L-shaped method.

  Determine the liquid and vapor molar volumes

Assuming Raoult's Law to be valid, prepare a Txy diagram for a mixture n-butane (1) and n-hexane (2) at 1 atm. Make the plot in terms of n-butane and be sure to clearly label the bubble line and the dew line. Use the following increments for T:

  Calculate and interpret the profit variance

Calculate and interpret the profit variance and calculate and interpret the revenue variance - How are the variances calculated above related?

  Effective consulting research methods report

You have been contracted by a company to hire the next chief executive officer (CEO). The company has given you ten potential candidates for the position of chief executive officer (CEO), but it wants you to first gather data on the executives to ..

  Using unique prime factorisation find gcd

Determine whether each of the statements is true or false. If true, give a proof. If false, give a counterexample - What possible remainders do perfect cubes leave when divided by 7?

  Create a null and alternate hypothesis

In looking at your business, when and why would you want to use a one-sample mean test (either z or t) or a two-sample t-test? Create a null and alternate hypothesis for one of these issues. How would you use the results?

  What was the senior citizens total percentage savings

What price do senior citizens pay for the same item from the Trim-A Tree Shop - What was the senior citizen's total percentage savings? (percentage change) Give one decimal place on the percent.

  Briefly explain why the bernoulli process assumptions

Briefly explain why the Bernoulli process assumptions and what is the probability that all three 20 ml samples will show 0 or 1 bacteria?

  Develop simulations that can be readily tested in matlab

BE101 Engineering Mathematics - Is your implementation exactly the same as the algorithm described in the paper? If they are not exactly the same, why did you make those changes?

  What is the probability that this string is a mirror image

What is the probability that this string is a mirror image of itself and compute the probability that all of the balls in the sample are the same color

  Field of education that implies one of the anova studies

Provide a plausible research question in the field of education that implies one of the ANOVA studies. Identify your research question, your research (alternative) hypothesis, and your null hypothesis. Also, identify your independent and dependent..

  Evaluate the indefinite integrals

Evaluate the indefinite integrals and Evaluate the definite integrals

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