Estimate pose from asynchronous MARG and GPS data
The insfilterAsync
object implements sensor fusion of MARG and GPS
data to estimate pose in the NED (or ENU) reference frame. MARG (magnetic, angular rate,
gravity) data is typically derived from magnetometer, gyroscope, and accelerometer data,
respectively. The filter uses a 28-element state vector to track the orientation quaternion
,
velocity, position, MARG sensor biases, and geomagnetic vector. The insfilterAsync
object uses a continuous-discrete extended Kalman filter to estimate these
quantities.
creates an
filter
= insfilterAsyncinsiflterAsync
object to fuse asynchronous MARG and GPS data with
default property values.
allows you to specify the reference frame, filter
= insfilterAsync('ReferenceFrame'
,RF
)RF
, of the
filter
. Specify RF
as 'NED'
(North-East-Down) or 'ENU'
(East-North-Up). The default value is
'NED'
.
also allows you set properties of the created filter
= insfilterAsync(___,Name,Value
)filter
using one or
more name-value pairs. Enclose each property name in single quotes.
predict | Update states based on motion model for
insfilterAsync |
fuseaccel | Correct states using accelerometer data for
insfilterAsync |
fusegyro | Correct states using gyroscope data for
insfilterAsync |
fusemag | Correct states using magnetometer data for
insfilterAsync |
fusegps | Correct states using GPS data for insfilterAsync |
correct | Correct states using direct state measurements for
insfilterAsync |
residual | Residuals and residual covariances from direct state measurements for
insfilterAsync |
residualaccel | Residuals and residual covariance from accelerometer measurements for
insfilterAsync |
residualgps | Residuals and residual covariance from GPS measurements for
insfilterAsync |
residualmag | Residuals and residual covariance from magnetometer measurements for
insfilterAsync |
residualgyro | Residuals and residual covariance from gyroscope measurements for
insfilterAsync |
pose | Current position, orientation, and velocity estimate for
insfilterAsync |
reset | Reset internal states for insfilterAsync |
stateinfo | Display state vector information for insfilterAsync |
copy | Create copy of insfilterAsync |
tune | Tune insfilterAsync parameters to reduce estimation
error |
tunernoise | Noise structure of fusion filter |