Path: SC/Sensor
% GPS receiver model. Models the GPS constellation.
The satellite locations are determined using GPSSatellite.
The model can output a set of default data.
Failure mode is zero output. The regular output is a structure:
.rGPS (3,n) Position of GPS satellites in view
.vGPS (3,n) Velocity of satellites
.range (1,n) Range to the satellites (km)
.rangeRate (1,n) Range rate (km/s)
.iD (1,n) ID of satellites in view
.nSatellites (1,1) Number of satellites in view
See also GPSReceiverNav.
--------------------------------------------------------------------------
Form:
y = GPSReceiver( action, d )
--------------------------------------------------------------------------
-------
Inputs
-------
action (1,:) 'initialize', 'update', 'output', 'set failure', or
'get default datastructure'
d (1,1) Depends on the action
-------
Outputs
-------
y (1,1) Depends on the action
--------------------------------------------------------------------------
AerospaceUtils: Coord/IntersectPlanet SC: Sensor/GPSSatellite SC: Sensor/RangeMeasurement
Back to the SC Module page