cwrucutter / snowmower_localization

An EFK for the snowmower.
MIT License
1 stars 1 forks source link

Add second ekf object that only updates in odometry callback functions. Call them ekf_odom_ and ekf_map_. #26

Closed kleinma closed 8 years ago

kleinma commented 8 years ago

Each are updated in odometry sensors. But, only the system update for the ekfodom is updated for the decawave measurement. https://github.com/cwrucutter/snowmower_localization/blob/1c1ea38bc43369e5d111ad427bd2c815abcef81c/src/ekf_node.cpp#L45-L48 This is because odom should be smooth, but allow drift (kinematic model, imu, encoders) and map should eliminate drift but be jumpy (all the others plus decawave beacons).