# imu_x_fusion **Repository Path**: maxibooksiyi/imu_x_fusion ## Basic Information - **Project Name**: imu_x_fusion - **Description**: IMU + X(GNSS, 6DoF Odom) Loosely-Coupled Fusion Localization based on ESKF, IEKF, UKF(UKF/SPKF, JUKF, SVD-UKF) and MAP - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2024-09-10 - **Last Updated**: 2025-08-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: myself ## README # IMU + X Fusion IMU + X Loosely-Coupled Fusion Localization --- ## Overview * IMU + GPS - [x] ESKF: [Multi-Sensor Fusion: IMU and GPS loose fusion based on ESKF](https://cgabc.xyz/posts/4e9a780e/) * IMU + 6DoF Odom (e.g.: Stereo Visual Odometry) - [x] ESKF: [IMU and 6 DoF Odometry (Stereo Visual Odometry) Loosely-Coupled Fusion Localization based on ESKF (Presentation)](http://dx.doi.org/10.13140/RG.2.2.28797.69602) - [x] IEKF: https://cgabc.xyz/posts/784a80cb/#iekf - [x] UKF(including JUKF and SVD-UKF): [IMU and 6 DoF Odometry (Stereo Visual Odometry) Loosely-Coupled Fusion Localization based on UKF](http://dx.doi.org/10.13140/RG.2.2.30602.54727) - [x] MAP(User-defined L-M, Ceres-Solver, G2O and GTSAM) ## Features * Dataset - [x] KAIST dataset: ROS publish * Sensors - [x] IMU - [x] Numerical Integration (TODO: RK4) - [ ] Pre-Integration - [ ] Wheel Odometer - [ ] Manometer - [x] GPS - [x] 6DoF Odom (Stereo Visual Odometry) - [ ] LiDAR - [ ] Multi-modal data * State Estimation - [x] EKF - [x] ESKF - [x] IEKF - [x] UKF - [x] JUKF - [x] SVD-UKF - [ ] Particle Filter - [x] MAP - [x] User-defined G-N - [x] Ceres-Solver - [x] G2O - [x] GTSAM * Local / Global Angular Error (Rotation Perturbation) - [x] Local Angular Error (OK) - [x] Global Angular Error (TODO: why Poor) ```cpp enum ANGULAR_ERROR { LOCAL_ANGULAR_ERROR, GLOBAL_ANGULAR_ERROR }; ``` * Debug - [x] Check Measurement Jacobian Matrix ## Requirements tested on Ubuntu 16.04 and Ubuntu 18.04 * Ubuntu 16.04 & ROS Kinetic * OpenCV 3 * ROS package: nmea_navsat_driver * GeographicLib 1.50.1 (built from souce code, cmake 3.18.0 tested) * Ubuntu 18.04 & ROS Melodic * OpenCV 3 * ROS package: nmea_navsat_driver * GeographicLib 1.49 ```sh sudo apt install libgeographic-dev ``` ## Build ```sh mkdir -p ws_msf/src cd ws_msf/src git clone xxx cd .. catkin_make -j4 # error happened when using the default cmake 3.5.1 on Ubuntu 16.04, upgrade it # or catkin build -j4 ``` ## Run on Host ### IMU + GNSS test data: [utbm_robocar_dataset_20180719_noimage.bag](https://lcas.lincoln.ac.uk/owncloud/index.php/s/KfItDFgwwis5Xrk) * [sensor_msgs/Imu] /imu/data: 100 hz * [nmea_msgs/Sentence] /nmea_sentence: 15 hz * [sensor_msgs/NavSatFix] /fix: 5 hz * [nav_msgs/Path] /nav_path: 63 hz ```sh roslaunch imu_x_fusion imu_gnss_fusion.launch rosbag play -s 25 utbm_robocar_dataset_20180719_noimage.bag ``` ROS graph and path on rviz: