Update Project 2: Localization.

Fix minor bug in resample test: the weights array had the wrong shape.

Add more motion model tests to identify turning issues.

Show particle filter plot legend to label state estimate vs ground truth.
2 jobs for main in 5 minutes and 12 seconds (queued for 1 second)
Name Stage Failure
failed
test_packages Test
  >>>

Summary: 74 tests, 6 errors, 36 failures, 0 skipped
Uploading artifacts for failed job
Uploading artifacts...
/builds/cse478/21sp/mushr478/.workspaces/**/test_results/**/*.xml: found 23 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=1285975 responseStatus=201 Created token=ziYM3Uxr
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
lint Test
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
$ python3 -m flake8
./localization/src/localization/motion_model.py:92:9: F841 local variable 'n_particles' is assigned to but never used
./localization/src/localization/particle_filter.py:44:9: F841 local variable 'n_particles' is assigned to but never used
./localization/src/localization/particle_filter.py:156:9: E303 too many blank lines (2)
./localization/src/localization/particle_filter.py:369:1: W391 blank line at end of file
./localization/src/localization/resampler.py:4:1: F401 'numpy as np' imported but unused
Cleaning up file based variables
ERROR: Job failed: exit code 1