elvout / cs393r

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

Implement a simple Motion Model #27

Closed elvout closed 3 years ago

elvout commented 3 years ago

The 2D motion model outlined in class assumes the robot is a diff-drive robot, and handles all four possible errors in motion.

When new odometry information is available, we predict the a new distribution of particles by sampling from the motion model for each particle.

The change in pose for each particle is outlined here (links to a slide).

k_1, k_2, k_3, and k_4 are hyperparameters we need to tune. (Tracked in a separate issue: #28.) For this issue, just implement the math and make some initial hypothesis for the hyperparameters.

Essentially we're adding noise to the change in pose between the new odometry information and the previous odometry information and updating each particle with the noisy change in pose.