- Timestamp:
- May 1, 2011, 4:58:23 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncmodel.cpp
r3169 r3281 1020 1020 int irc = 0; 1021 1021 1022 // Check Glonass 1023 // ------------- 1022 // Check GPS Code 1023 // -------------- 1024 if (irc == 0) { 1025 findMaxRes(vv,satDataGPS, prnCode, maxResCode, prnPhase, maxResPhase); 1026 if (maxResCode > MAXRES_CODE_GPS) { 1027 satDataGPS.remove(prnCode); 1028 prnRemoved = prnCode; 1029 maxRes = maxResCode; 1030 irc = 1; 1031 } 1032 } 1033 1034 // Check Galileo Code 1035 // ------------------ 1036 if (irc == 0) { 1037 findMaxRes(vv,satDataGal, prnCode, maxResCode, prnPhase, maxResPhase); 1038 if (maxResCode > MAXRES_CODE_GAL) { 1039 satDataGal.remove(prnCode); 1040 prnRemoved = prnCode; 1041 maxRes = maxResCode; 1042 irc = 1; 1043 } 1044 } 1045 1046 // Check Glonass Phase 1047 // ------------------- 1024 1048 if (irc == 0) { 1025 1049 findMaxRes(vv,satDataGlo, prnCode, maxResCode, prnPhase, maxResPhase); … … 1032 1056 } 1033 1057 1034 // Check Galileo 1035 // ------------- 1058 // Check Galileo Phase 1059 // ------------------- 1036 1060 if (irc == 0) { 1037 1061 findMaxRes(vv,satDataGal, prnCode, maxResCode, prnPhase, maxResPhase); … … 1042 1066 irc = 1; 1043 1067 } 1044 else if (maxResCode > MAXRES_CODE_GAL) { 1045 satDataGal.remove(prnCode); 1046 prnRemoved = prnCode; 1047 maxRes = maxResCode; 1048 irc = 1; 1049 } 1050 } 1051 1052 // Check GPS 1053 // --------- 1068 } 1069 1070 // Check GPS Phase 1071 // --------------- 1054 1072 if (irc == 0) { 1055 1073 findMaxRes(vv,satDataGPS, prnCode, maxResCode, prnPhase, maxResPhase); … … 1058 1076 prnRemoved = prnPhase; 1059 1077 maxRes = maxResPhase; 1060 irc = 1;1061 }1062 else if (maxResCode > MAXRES_CODE_GPS) {1063 satDataGPS.remove(prnCode);1064 prnRemoved = prnCode;1065 maxRes = maxResCode;1066 1078 irc = 1; 1067 1079 }
Note:
See TracChangeset
for help on using the changeset viewer.