Multi-Sensor Fusion: IMU and GPS loose fusion based on ESKF
Last updated on November 26, 2023 pm
[TOC]
Overview
- 代码:imu_x_fusion
System State Vector
the nominal-state $\mathbf{x}$ and the error-state $\delta \mathbf{x}$
the true-state
ENU Coordinate
- using ENU coordinate
- in ENU coordinate, $\mathbf{g} = \begin{bmatrix} 0 & 0 & -9.81007 \end{bmatrix}^T$
- extrinsic between IMU and GPS: ${}^{I} \mathbf{p}_{G p s}$
State Prediction (IMU-driven system kinematics in discrete time)
The nominal state kinematics
The error-state kinematics
The error-state Jacobian and perturbation matrices
The error-state system is now
The ESKF prediction equations are written:
where
where
ESKF Measurement Update (Fusing IMU with GPS data)
GPS measurement
convert the GPS raw data which is in WGS84 coordinate to ENU by GeographicLib
the filter correction equations
where
the best true-state estimate
Results
path on ROS rviz and plot the result path(fusion_gps.csv & fusion_state.csv) on google map:
Reference
- Quaternion kinematics for the error-state Kalman filter
Multi-Sensor Fusion: IMU and GPS loose fusion based on ESKF
https://cgabc.xyz/posts/4e9a780e/