GpsCommunicationsConstellationCreate Method (String, Int32, String) |
Namespace: AGI.Foundation.Navigation.Advanced
public static PlatformCollection Create( string semAlmanacFile, int rolloverCount, string gpsDataFile )
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when semAlmanacFile or gpsDataFile is . |
The following list represents the rollover dates for the GPS week parameter. On or after the date listed below, you will need to use the specified rollover count.
| Date | Rollover Count |
|---|---|
| January 6, 1980 | 0 |
| August 22, 1999 | 1 |
| April 7, 2019 | 2 |
| November 21, 2038 | 3 |
| July 7, 2058 | 4 |
To compute the rollover count for a given date, construct a GlobalPositioningSystemDate and use the value of RolloverCount.
Note that the latest GPSData.txt file should be used and can be downloaded from: https://ftp.agi.com/pub/Catalog/Almanacs/SEM/GPSData.txt.