Giter Club home page Giter Club logo

pptacher / probabilistic_robotics Goto Github PK

View Code? Open in Web Editor NEW
1.2K 1.2K 381.0 36.34 MB

solution of exercises of the book "probabilistic robotics"

License: MIT License

MATLAB 20.01% Python 8.42% Julia 7.42% C++ 37.60% Makefile 8.69% Shell 0.29% Dockerfile 0.85% TeX 16.62% C 0.11%
armadillo-library autonomous-vehicles bayesian-inference cpp fastslam google-cloud-platform intel-mkl-library julia kalman-filter lapack matlab navigation numpy particle-filter probabilistic-robotics robotics seif slam textbook-solutions victoria-park-dataset

probabilistic_robotics's People

Contributors

pptacher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

probabilistic_robotics's Issues

What if the covariance matrix is singular?

In Ch.3 assignment 1.3, at t=1, the covariance matrix [0.25, 0.5; 0.5, 1.0] is a singular matrix. When we want to calculate its gaussian probabilistic, we need the matrix to be invertible. How can we deal with this situations.

ch3 ex_1.1 find a mistake about X_t

https://github.com/pptacher/probabilistic_robotics/blob/d31a9f1a3f5e500bd85d98d7fb4fb5743d1222ad/ch3_gaussian_filters/ch3_gaussian_filters.pdf

Question 1.1, 1.2

formula of the kalman filter should be:

$$ x_t = A_t x_{t-1} + B_t u_t + \epsilon_t $$

but not:

$$ x_t = A_t x_{t-1} + B_t u_{t-1} + \epsilon_t $$

which mean control variant $u_{t-1}$ on the last timestamp can't effect current state.

However, the distance (d), speed (v), acceleration (a) formula is:

$$ d_t = d_{t-1} + \Delta t \times v_{t-1} + \frac{1}{2} \Delta t^2 \times a_{t-1} $$

where acceleration ($a_{t-1}$) is from the last timestamp.

which means we need the acceleration from the last timestamp to update current distance and speed.

So we should make the acceleration into the consideration of state $X_t$.

And $X_t = [x_t, \dot{x}_t, \ddot{x}_t]^T$

Why the pdf of ch7 is so large?

the pdf file of other chapters are only 400kB, but for ch7 is more than 40MB, this make my Adobe Reader very slow. Is there any problem?

typo on ch2 4(b) page 11

the squre is not in the right place, and it should be like this:
wrong:

$$ \begin{align}-\frac{(z-x)^2}{2\sigma^2_{GPS}}-\frac{(x-x_{init})^2}{18\sigma^2_{GPS}} &= -\frac{9(z-x)^2+(x-x_{init})^2}{18\sigma^2_{GPS}} \\ &= -\frac{9(z^2-2zx+x^2)+(x^2-2xx_{init}+x_{init}^2)}{18\sigma^2_{GPS}} \\ &= -\frac{{9z^2+x_{init}^2}+10x^2-2xx_{init}-18zx}{18\sigma^2_{GPS}} \\ &= -\frac{{9z^2+x_{init}^2}+10x^2-2(x_{init}+9z)x}{18\sigma^2_{GPS}} \\ &= -\frac{{9z^2+x_{init}^2}-\frac{(x_{init}+9z)^2}{10}+10(x^2-2x\frac{x_{init}+9z}{10}+(\frac{x_{init}+9z}{10})^2)}{18\sigma^2_{GPS}} \\ &= -\frac{{9z^2+x_{init}^2}-\frac{(x_{init}+9z)^2}{10}}{18\sigma^2_{GPS}} -\frac{(x^2-2x\frac{x_{init}+9z}{10}+(\frac{x_{init}+9z}{10})^2)}{18/10\sigma^2_{GPS}} \\ &= -\frac{{9z^2+x_{init}^2}-\frac{(x_{init}+9z)^2}{10}}{18\sigma^2_{GPS}} -\frac{x-\frac{(x_{init}+9z)^2}{10}}{9/5\sigma^2_{GPS}} \\ \end{align} $$

right:

$$ \begin{align}-\frac{(z-x)^2}{2\sigma^2_{GPS}}-\frac{(x-x_{init})^2}{18\sigma^2_{GPS}} &= -\frac{9(z-x)^2+(x-x_{init})^2}{18\sigma^2_{GPS}} \\ &= -\frac{9(z^2-2zx+x^2)+(x^2-2xx_{init}+x_{init}^2)}{18\sigma^2_{GPS}} \\ &= -\frac{{9z^2+x_{init}^2}+10x^2-2xx_{init}-18zx}{18\sigma^2_{GPS}} \\ &= -\frac{{9z^2+x_{init}^2}+10x^2-2(x_{init}+9z)x}{18\sigma^2_{GPS}} \\ &= -\frac{{9z^2+x_{init}^2}-\frac{(x_{init}+9z)^2}{10}+10(x^2-2x\frac{x_{init}+9z}{10}+(\frac{x_{init}+9z}{10})^2)}{18\sigma^2_{GPS}} \\ &= -\frac{{9z^2+x_{init}^2}-\frac{(x_{init}+9z)^2}{10}}{18\sigma^2_{GPS}} -\frac{(x^2-2x\frac{x_{init}+9z}{10}+(\frac{x_{init}+9z}{10})^2)}{18/10\sigma^2_{GPS}} \\ &= -\frac{{9z^2+x_{init}^2}-\frac{(x_{init}+9z)^2}{10}}{18\sigma^2_{GPS}} -\frac{(x-\frac{x_{init}+9z}{10})^2}{9/5\sigma^2_{GPS}} \\ \end{align} $$

Chapter2 Exercise2.2&2.3 answer

Hello, I'm gonna ask a question about answers of Exercise2.2&2.3 of Chapter2, because in the PDF you didn't write any word in it. It is blank now.
Are exercise2.2&2.3 needed to solve by coding? If it does, could you give the answer code for me or share to everyone?

Thanks!

Ch.2 Exercise 3.1

Have you mixed up the transition-matrix for day 3-4? Although, day 5 is correct anyway because day 4 eliminates the error.

E.g.: My approx results for P(X_3=i | z_{2:3}) = (0.599, 0.282, 0.0)

Thx for your great work!

query about the code

Thanks for your sharing. I want to known that whether there are some python code resource about probabilitistic robotics especially in the localization. I will appreciate it if you can tell any message about this topics.

Thanks a lot!
Best Regards,
Wireless Sensor Networks, School of Computer Science, Sichuan University.

Wang Wei(王伟), |mobile: +86-159-0810-6107 | email: [email protected][email protected] |website: https://oneway3124.github.io

Discussion on solution for problem 2.1 in chapter 6

Dear @pptacher
Thank you for your solutions which help me a lot. However I still have some concern about the solution for problem 2.1 in chapter 6.
As we know, the idea coordinates of the mark image in the camera plan is shown as vector , while the real coordinates can be shown as vector . Since the noise in measurement , then

So, according to the solution of problem 1.1, we have

Also it means that

Considern that in problem 2.1 , then

Also it means that

rathern than as shown in the solution of problem 2.1
That is all and it is very appreciated to get your response in the future.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.