Changeset 4760 in ntrip
- Timestamp:
- Oct 22, 2012, 4:20:52 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTRover/bncrtrover.cpp
r4758 r4760 24 24 // Define Input Options 25 25 // -------------------- 26 rtrover_opt opt; 27 rtrover_setOptions(&opt); 26 28 27 29 // Connect to BNC Signals … … 55 57 void t_bncRtrover::slotNewEphGPS(gpsephemeris gpseph) { 56 58 QMutexLocker locker(&_mutex); 59 60 bncTime toc(gpseph.GPSweek, gpseph.TOC); 61 bncTime toe(gpseph.GPSweek, gpseph.TOE); 62 63 rtrover_ephGPS eph; 64 eph._satellite._system = 'G'; 65 eph._satellite._number = gpseph.satellite; 66 eph._TOC._mjd = toc.mjd(); 67 eph._TOC._sec = toc.daysec(); 68 eph._TOE._mjd = toe.mjd(); 69 eph._TOE._sec = toe.daysec(); 70 eph._IODE = gpseph.IODE; 71 eph._IODC = gpseph.IODC; 72 eph._clock_bias = gpseph.clock_bias; 73 eph._clock_drift = gpseph.clock_drift; 74 eph._clock_driftrate = gpseph.clock_driftrate; 75 eph._Crs = gpseph.Crs; 76 eph._Delta_n = gpseph.Delta_n; 77 eph._M0 = gpseph.M0; 78 eph._Cuc = gpseph.Cuc; 79 eph._e = gpseph.e; 80 eph._Cus = gpseph.Cus; 81 eph._sqrt_A = gpseph.sqrt_A; 82 eph._Cic = gpseph.Cic; 83 eph._OMEGA0 = gpseph.OMEGA0; 84 eph._Cis = gpseph.Cis; 85 eph._i0 = gpseph.i0; 86 eph._Crc = gpseph.Crc; 87 eph._omega = gpseph.omega; 88 eph._OMEGADOT = gpseph.OMEGADOT; 89 eph._IDOT = gpseph.IDOT; 90 eph._TGD = gpseph.TGD; 91 eph._health = gpseph.SVhealth; 92 93 rtrover_putGPSEphemeris(&eph); 57 94 } 58 95 … … 71 108 updatetime(&wwGPS, &towGPS, gloeph.tb*1000, 0); // Moscow -> GPS 72 109 bncTime tGPS(wwGPS,towGPS); 110 111 rtrover_ephGlo eph; 112 113 rtrover_putGloEphemeris(&eph); 73 114 } 74 115
Note:
See TracChangeset
for help on using the changeset viewer.