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

  Prime number theorem

Dirichlet series

  Proof of bolzano-weierstrass to prove the intermediate value

Every convergent sequence contains either an increasing, or a decreasing subsequence.

  Antisymmetric relations

How many relations on A are both symmetric and antisymmetric?

  Distributed random variables

Daily Airlines fies from Amsterdam to London every day. The price of a ticket for this extremely popular flight route is $75. The aircraft has a passenger capacity of 150.

  Prepare a system of equations

How much money will Dave and Jane raise for charity

  Managing ashland multicomm services

This question is asking you to compare the likelihood of your getting 4 or more subscribers in a sample of 50 when the probability of a subscription has risen from 0.02 to 0.06.]  Talk about the comparison of probabilities in your explanation.

  Skew-symmetric matrices

Skew-symmetric matrices

  Type of taxes and rates in spokane wa

Describe the different type of taxes and their rates in Spokane WA.

  Stratified random sample

Suppose that in the four player game, the person who rolls the smallest number pays $5.00 to the person who rolls the largest number. Calculate each player's expected gain after one round.

  Find the probability density function

Find the probability density function.

  Develop a new linear programming for an aggregate production

Linear programming applied to Aggregate Production Planning of Flat Screen Monitor

  Discrete-time model for an economy

Discrete-time model for an economy

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