Skip to content

jarmibe7/StateEstimation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

State Estimation Filters

ME 469: HW0

Author: Jared Berry

Due: 10/05/2025

Hello!

To run for submission B, run the following command from directory HW0/:


python run.py

Plots for questions 2, 3, 6, 7, and 8 will populate in plots/, and data (ds0) is located in data/.

Additionally, measurements for question 6 will be printed to the terminal.

JSON files with metrics will also populate in metrics/

I've commented the commands for the extra plots I used in the report. This includes my plots for the augmented UKF comparison, EKF, and particle filter. These will increase run time because I didn't have time to optimize this code, but if you want to run them you can go to main() and uncomment the following lines:


694    # aug()

695    # study_comp()

696    # all_filters()

Adding these three lines will bring the run time from about 3-5 minutes to about 30 minutes.

Code Structure

  • run.py: (From top to bottom) First are functions used to evaluate filter performance and compare trajectories. Next are the motion and measurement model. Next are helper functions for plotting and test trajectory generation. Next are separate functions for each question associated with a plot or data. Finally, the main function.

  • filters.py: Contains all filters implemented.

  • data/ : Contains ds0

  • metrics/ : Contains JSON files with trajectory evaluation results, when compared to ground truth trajectory.

  • plots/ : Contains all figures used in report.

About

A collection of filters for nonlinear state estimation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages