An Unscented Kalman Filter that uses a Constant Turn Rate and Velocity (CTRV) motion model in C++. This Ukf fuses LIDAR and RADAR sensor readings.
- cmake >= v3.5
- make >= v4.1
- gcc/g++ >= v5.4
- Clone this repo.
- Make a build directory:
mkdir build && cd build
- Compile:
cmake .. && make
- Run it:
./UnscentedKF path/to/input.txt path/to/output.txt
. You can find some sample inputs in 'data/'.- eg.
./UnscentedKF ../data/obj_pose-laser-radar-synthetic-input.txt output.txt
- eg.
mez:build/ (master) $ ./TestUKF [22:11:07]
===============================================================================
No tests ran
mez:build/ (master) $ ./UnscentedKF ../data/obj_pose-laser-radar-synthetic-input.txt output.txt [22:11:10]
Accuracy - RMSE:
0.0597576
0.0865825
0.331234
0.215768
Done!
- Check out my implementation of an Extended Kalman Filter in C++