Reference no: EM131102356
E28: Mobile Robotics - Fall 2015 - HOMEWORK 12
One-dimensional particle filter
Your goal is to implement a particle filter for a simulated boat driving along a circular channel. Let x denote the boat's position in the interval [0, 1]. Since the channel is circular, going past x = 1 results in wrapping back around to zero, and vice-versa.
Motion model. The motion model for the boat is obtained by applying a desired displacement to the current state, and adding Gaussian noise with a fixed standard deviation σx = 0.01, before wrapping around:
xt+1 = wrap(xt + ut + εt), εt ∼ N (0, σx)
Measurement model. The depth d(x) of the channel varies according to the function
d(x) = 0.3 + 0.1 cos(2π(x - 0.03)) - 0.06 cos(4π(x - 0.52)) + 0.04 cos(8π(x + 0.88q))
as illustrated here:
![1568_Figure.png](https://secure.expertsmind.com/CMSImages/1568_Figure.png)
so that the shallowest point in the channel lies at approximately x = 0.5 with a depth of roughly d = 0.1. The boat is able to sense the depth of the channel noisily, with additive Gaussian noise that has a known standard deviation σz = 0.04:
zt = d(xt) + νt, νt ∼ N (0, σz)
Task Implement a particle filter that begins with a uniformly random sampling of N = 200 particles over the unit interval [0, 1], and which reads control and measurement values u and v from a text file. Your program should output a scatter plot of particle locations after each motion and measurement update, with particle locations on the x axis, and timesteps on the y axis.
There are two datasets of actions and controls in the starter code distribution at https://www.swarthmore.edu/NatSci/mzucker1/e28_f2015/pf_1d.zip named demo_data.txt and assignment_data.txt. Each text file consists of 25 u, v pairs, one per line. The distribution also contains starter code in both Python and MATLAB that you will find useful. When you are implementing the sensor update step, please consider using the np.random.choice function in Python, or the randsample function in MATLAB for re-sampling the particles after weighting them with the PDF of the measurement model.
Start by verifying that your program produces a plot similar to the one below for the demo_data.txt dataset:
![2429_Figure1.png](https://secure.expertsmind.com/CMSImages/2429_Figure1.png)
Note that in this example, the particle filter very quickly converges on an estimated location of the boat around x = 0.5, moving slowly to the right.
Attachment:- Assignment.zip
Requirements for a banking application
: Consider the following data requirements for a banking application.
|
Which therapeutic approach do you think is best
: Write a paragraph on how this diagnosis could be treated by each of the four major schools of psychotherapy - How might the Prochaska Model of Change assist.
|
Select and describe a specific healthcare operating unit
: Select and describe a specific healthcare operating unit. Examples are an emergency department, a surgical service, a specific nursing unit, and a physician's office practice. Select a type of healthcare service you are familiar with.
|
Write a paper about different types of investment banks
: Write a paper of no more than 1,050 words about different types of investment banks, including financial holding companies, full service investment banks, and boutique investment banks.
|
Implement a particle filter for a simulated boat driving
: E28: Mobile Robotics - Fall 2015 - HOMEWORK 12. Your goal is to implement a particle filter for a simulated boat driving along a circular channel. Let x denote the boat's position in the interval [0, 1]. Since the channel is circular, going past x ..
|
What explains these changes
: Over the past year, M. D. Ryngaert & Co. has realized an increase in its current ratio and a drop in its total assets turnover ratio. However, the company's sales, quick ratio, and fixed assets turnover ratio have remained constant. What explains the..
|
Evaluating the fourier series coefficients of a square wave
: Plot the square-wave approximation by summing the series through the seventh harmonic.
|
How does accounting information assist management
: How does accounting information assist management in measuring efficiency and effectiveness?
|
Develop your own set of health psychology
: Provide a specific set of guidelines that you might present to those with whom you may work in the future, as well as how you might measure the successful application of those guidelines.
|