Main Content

Inertial Sensor Fusion

IMU and GPS sensor fusion to determine orientation and position

Use inertial sensor fusion algorithms to estimate orientation and position over time. The algorithms are optimized for different sensor configurations, output requirements, and motion constraints. You can directly fuse IMU data from multiple inertial sensors. You can also fuse IMU data with GPS data.

Functions

expand all

ecompassOrientation from magnetometer and accelerometer readings
imufilterOrientation from accelerometer and gyroscope readings
ahrsfilterOrientation from accelerometer, gyroscope, and magnetometer readings
ahrs10filterHeight and orientation from MARG and altimeter readings
complementaryFilterEstimate orientation using complementary filter
insfilterMARGEstimate pose from MARG and GPS data
insfilterAsyncEstimate pose from asynchronous MARG and GPS data
insfilterErrorStateEstimate pose from IMU, GPS, and monocular visual odometry (MVO) data
insfilterNonholonomicEstimate pose with nonholonomic constraints
insfilterCreate inertial navigation filter
insCFEstimate pose and velocity using complementary filter (Since R2026a)
insCFOptionsOptions for configuration of insCF object (Since R2026a)
insCFAccelerometerModel accelerometer readings for insCF sensor fusion (Since R2026a)
insCFGPSModel GPS readings for insCF sensor fusion (Since R2026a)
insCFGyroscopeModel gyroscope readings for insCF sensor fusion (Since R2026a)
insCFMagnetometerModel magnetometer readings for insCF sensor fusion (Since R2026a)
insCFMotionOrientationMotion model for 3-D orientation estimation using insCF (Since R2026a)
insCFMotionPoseMotion model for 3-D pose estimation using insCF (Since R2026a)
insEKFInertial Navigation Using Extended Kalman Filter (Since R2022a)
insOptionsOptions for configuration of insEKF object (Since R2022a)
insAccelerometerModel accelerometer readings for sensor fusion (Since R2022a)
insGPSModel GPS readings for sensor fusion (Since R2022a)
insGyroscopeModel gyroscope readings for sensor fusion (Since R2022a)
insMagnetometerModel magnetometer readings for sensor fusion (Since R2022a)
insMotionOrientationMotion model for 3-D orientation estimation (Since R2022a)
insMotionPoseModel for 3-D motion estimation (Since R2022a)
insCreateMotionModelTemplateCreate template file for motion model (Since R2022b)
insCreateSensorModelTemplateCreate template file for sensor model (Since R2022b)
positioning.INSMotionModelBase class for defining motion models used with insEKF (Since R2022a)
positioning.INSSensorModelBase class for defining sensor models used with insEKF (Since R2022a)
tunerconfigFusion filter tuner configuration options
tunernoiseNoise structure of fusion filter
tunerPlotPosePlot filter pose estimates during tuning

Blocks

AHRSOrientation from accelerometer, gyroscope, and magnetometer readings
IMU FilterEstimate orientation using IMU Filter (Since R2023b)
ecompassCompute orientation from accelerometer and magnetometer readings (Since R2024a)
Complementary FilterEstimate orientation using complementary filter (Since R2023a)

Topics

Featured Examples