insGPS
Description
The insGPS
object models GPS readings for sensor fusion.
Passing an insGPS
object to an insEKF
object enables the
insEKF
object to fuse position and optional velocity data. For details on
the GPS model, see Algorithms.
Creation
Syntax
Description
creates an
sensor
= insGPSinsGPS
object. Passing the created sensor
to an
insEKF
object enables the
insEKF
object to fuse position and optional velocity data. When fusing
data with the fuse
object function of
insEKF
, pass
sensor
as the second argument to identify the data as obtained from
a GPS.
To enable position and velocity estimation in insEKF
, use a motion
model that models position and velocity states, such as the insMotionPose
object.
Properties
Examples
Algorithms
The insGPS
object models the GPS reading as the longitude, latitude,
and altitude (LLA) position, and optional velocity data in the navigation frame.
Depending on whether you include the velocity data when using the fuse
object function of insEKF
, the measurement
equation takes one of two forms:
If you do not fuse velocity data, the measurement is the latitude in meters, longitude in degrees, and altitude in meters (LLA).
If you fuse velocity data, the measurement is the LLA measurement, and the velocity of the platform in m/s, expressed in the reference frame defined by the
ReferenceLoation
property of theinsGPS
object and theReferenceFrame
property of theinsEKF
object.
Version History
Introduced in R2022a