This project implemented a Kalman filter and a particle filter to estimate the robot’s position as it executes the path.
- run ./install.sh (Make the script executable by running chmod +x install.sh in the terminal.)
- python3 demo.py
- You should see PR2 localizing in GUI and two plots of each filter
- Demo outputs are shown below
Below are the output results for the Kalman Filter.
In the video, the red line is the ground truth, the yellow dots are estimations from the Kalman Filter and the blue dots are noisy sensor measurements.
In the picture, the green line is the ground truth, the red dots are estimations from the Kalman Filter and the blue dots are noisy sensor measurements.
Below are the output results for the Particle Filter.
In the video, the red line is the ground truth, the blue dots are estimations from the Particle Filter and the green dots are sampling particles.
In the picture, the black line is the ground truth, the blue dots are estimations from the Particle Filter, the green dots are noisy sensor measurements and the red dots are sampling particles.
Below compares the Kalman Filter and Particle Filter under the same scenario. The green line is the ground truth, the blue dots are estimations from the Kalman Filter and the red dots are estimations from the Particle Filter.




