gnssSensor
Description
The gnssSensor
System object™ simulates a global navigation satellite system (GNSS) to generate position and
velocity readings based on local position and velocity data. The object calculates satellite
positions and velocities based on the sensor time and data that specifies the satellite orbital parameters. The
object uses only the Global Positioning System (GPS) constellations for calculations. To set
the starting positions of the satellites, set the InitialTime property.
To generate GNSS position and velocity readings:
Create the
gnssSensor
object and set its properties.Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?
Calling the object increments the time of the sensor and propagates the satellite position and velocities based on the orbital parameters.
Creation
Description
returns a
GNSS
= gnssSensorgnssSensor
System object
GNSS
that computes global navigation satellite system receiver
readings based on local position and velocity input.
specifies the reference frame in which the GNSS readings are reported.GNSS
= gnssSensor(ReferenceFrame=RF
)
sets properties using one or more name-value arguments. For example,
GNSS
= gnssSensor(___,Name=Value)gnssSensor("SampleRate",2)
creates a simulated GNSS with a sample
rate of 2 Hz.
Input Arguments
Properties
Usage
Description
[
computes global navigation satellite system receiver readings from the position and
velocity inputs.positionReadings
,velocityReadings
,status
] = GNSS(position
,velocity
)
Input Arguments
Output Arguments
Object Functions
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)
Examples
More About
References
[1] Groves, Paul D. Principles of GNSS, Inertial, and Multisensor Integrated Navigation Systems. 2nd ed, Artech House, 2013.
Extended Capabilities
Version History
Introduced in R2020b