Main Content

predict

Update states using accelerometer and gyroscope data for insfilterMARG

Since R2018b

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™.

Version History

Introduced in R2018b