- Timestamp:
- Feb 9, 2010, 11:34:51 AM (15 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM3/ephemeris.cpp
r2263 r2285 10 10 #include "bncutils.h" 11 11 #include "timeutils.h" 12 #include "bnctime.h" 12 13 13 14 using namespace std; … … 233 234 int t_ephGlo::IOD() const { 234 235 235 bool old = true;236 bool old = false; 236 237 237 238 if (old) { // 5 LSBs of iod are equal to 5 LSBs of tb … … 242 243 } 243 244 else { 244 return int(fmod(_tki, 3600)) / 30; 245 bncTime tGPS(_GPSweek, _GPSweeks); 246 int hlpWeek = _GPSweek; 247 int hlpSec = int(_GPSweeks); 248 int hlpMsec = int(_GPSweeks * 1000); 249 updatetime(&hlpWeek, &hlpSec, hlpMsec, 0); 250 bncTime tHlp(hlpWeek, hlpSec); 251 double diffSec = tGPS - tHlp; 252 bncTime tMoscow = tGPS + diffSec; 253 return int(tMoscow.daysec() / 900); 245 254 } 246 255 } -
trunk/BNC/bncmodel.cpp
r2283 r2285 65 65 const double sig_amb_0_GPS = 100.0; 66 66 const double sig_amb_0_GLO = 1000.0; 67 const double sig_P3 = 1.0;67 const double sig_P3 = 3.0; 68 68 const double sig_L3_GPS = 0.01; 69 69 const double sig_L3_GLO = 0.01;
Note:
See TracChangeset
for help on using the changeset viewer.