Changeset 9785 in ntrip for trunk/BNC/src/ephemeris.cpp
- Timestamp:
- Jun 29, 2022, 12:03:05 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/ephemeris.cpp
r9774 r9785 1700 1700 else if ( iLine == 5 ) { 1701 1701 if ( readDbl(line, pos[0], fieldLen, _IDOT ) || 1702 readDbl(line, pos[2], fieldLen, _ TOEweek)) {1702 readDbl(line, pos[2], fieldLen, _BDTweek)) { 1703 1703 _checkState = bad; 1704 1704 return; … … 1732 1732 } 1733 1733 1734 _TOE.setBDS(int(_ TOEweek), _TOEsec);1734 _TOE.setBDS(int(_BDTweek), _TOEsec); 1735 1735 1736 1736 // remark: actually should be computed from second_tot … … 1940 1940 .arg(_sqrt_A, 19, 'e', 12); 1941 1941 1942 double toes = 0.0; 1943 if (_TOEweek > -1.0) {// RINEX input 1944 toes = _TOEsec; 1945 } 1946 else {// RTCM stream input 1947 toes = _TOE.bdssec(); 1948 } 1949 out << QString(fmt) 1950 .arg(toes, 19, 'e', 12) 1942 out << QString(fmt) 1943 .arg(_TOEsec, 19, 'e', 12) 1951 1944 .arg(_Cic, 19, 'e', 12) 1952 1945 .arg(_OMEGA0, 19, 'e', 12) … … 1959 1952 .arg(_OMEGADOT, 19, 'e', 12); 1960 1953 1961 double toew = 0.0; 1962 if (_TOEweek > -1.0) {// RINEX input 1963 toew = _TOEweek; 1964 } 1965 else {// RTCM stream input 1966 toew = double(_TOE.bdsw()); 1967 } 1968 out << QString(fmt) 1969 .arg(_IDOT, 19, 'e', 12) 1970 .arg(0.0, 19, 'e', 12) 1971 .arg(toew, 19, 'e', 12) 1972 .arg(0.0, 19, 'e', 12); 1954 out << QString(fmt) 1955 .arg(_IDOT, 19, 'e', 12) 1956 .arg(0.0, 19, 'e', 12) 1957 .arg(_BDTweek, 19, 'e', 12) 1958 .arg(0.0, 19, 'e', 12); 1973 1959 1974 1960 out << QString(fmt) … … 1979 1965 1980 1966 double tots = 0.0; 1981 if (_TOEweek > -1.0) {// RINEX input 1967 if (_receptDateTime.isValid()) {// RTCM stream input 1968 tots = _TOE.bdssec(); 1969 } 1970 else { // RINEX input 1982 1971 tots = _TOT; 1983 }1984 else {// RTCM stream input1985 tots = _TOE.bdssec();1986 1972 } 1987 1973 out << QString(fmt)
Note:
See TracChangeset
for help on using the changeset viewer.