Path: SC/Sensor
% GPS receiver model with navigation message model.
Failure mode is zero output.
See also GPSOrbit and RangeMeasurement.
--------------------------------------------------------------------------
Form:
y = GPSReceiverNav( action, d )
--------------------------------------------------------------------------
-------
Inputs
-------
action (1,:) 'initialize' 'update' 'output' 'set failure'
'get default datastructure'
d (1,1) Depends on the action
-------
Outputs
-------
y (1,1) Depends on the action
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
.message (:) GPS ephemeris message
--------------------------------------------------------------------------
AerospaceUtils: Coord/IntersectPlanet SC: BasicOrbit/OrbRate SC: Ephem/GMSTime SC: Ephem/MSidDay SC: Ephem/TruEarth SC: Sensor/GPSOrbit SC: Sensor/RangeMeasurement Common: Time/Date2JD Common: Time/JD2T
Back to the SC Module page