Main Content

predict

Update states using accelerometer and gyroscope data for insfilterMARG

Description

predict(FUSE,accelReadings,gyroReadings) fuses accelerometer and gyroscope data to update the state estimate.

Input Arguments

collapse all

insfilterMARG, specified as an object.

Accelerometer readings in m/s2, specified as a 3-element row vector.

Data Types: single | double

Gyroscope readings in rad/s, specified as a 3-element row vector.

Data Types: single | double

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Introduced in R2018b