elvout / cs393r

CS 393R Graduate Autonomous Robots, Fall 2021 | Autobots
0 stars 0 forks source link

Convert log-likelihoods to linear-likelihoods in `GetLocation`. #47

Closed elvout closed 2 years ago

elvout commented 2 years ago

In addition to fixing GetLocation, I moved particle normalization to its own function so we can reuse code.

In simulation, the car's estimated location is still pretty erratic, but this is due to our simple Gaussian sensor model - one particle's weight tends to overshadow all other weights.

Closes #45