Changeset 9209 in ntrip
- Timestamp:
- Nov 3, 2020, 4:22:03 PM (4 years ago)
- Location:
- branches/BNC_2.12/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/RTCM3/RTCM3Decoder.cpp
r9205 r9209 1047 1047 GETFLOAT(eph._sqrt_A, 32, 1.0 / (double )(1 << 19)) 1048 1048 if (eph._sqrt_A < 1000.0) { 1049 #ifdef BNC_DEBUG_BCEP 1049 1050 emit(newMessage(QString("%1: Block %2 (%3) SQRT_A %4 m!") 1050 1051 .arg(_staID).arg(1020,4).arg(eph._prn.toString().c_str()) 1051 1052 .arg(eph._sqrt_A,10,'F',3).toAscii(), true)); 1053 #endif 1052 1054 return false; 1053 1055 } … … 1107 1109 GETBITS(eph._almanac_health_availablility_indicator, 1) /* almanac health ok */ 1108 1110 if (eph._almanac_health_availablility_indicator == 0.0) { 1111 #ifdef BNC_DEBUG_BCEP 1109 1112 emit(newMessage(QString("%1: Block %2 (%3): ALM = %4: missing data!") 1110 1113 .arg(_staID).arg(1019,4).arg(eph._prn.toString().c_str()) 1111 1114 .arg(eph._almanac_health_availablility_indicator).toAscii(), true)); 1115 #endif 1112 1116 return false; 1113 1117 } … … 1148 1152 GETBITS(eph._M_NT, 11) /* GLONASS-M Nt */ 1149 1153 if (eph._M_NT == 0.0) { 1154 #ifdef BNC_DEBUG_BCEP 1150 1155 emit(newMessage(QString("%1: Block %2 (%3): NT = %4: missing data!") 1151 1156 .arg(_staID).arg(1019,4).arg(eph._prn.toString().c_str()).arg(eph._M_NT,4).toAscii(), true)); 1157 #endif 1152 1158 return false; 1153 1159 } … … 1155 1161 GETBITS(eph._additional_data_availability, 1) /* GLONASS-M The Availability of Additional Data */ 1156 1162 if (eph._additional_data_availability == 0.0) { 1163 #ifdef BNC_DEBUG_BCEP 1157 1164 emit(newMessage(QString("%1: Block %2 (%3): ADD = %4: missing data!") 1158 1165 .arg(_staID).arg(1019,4).arg(eph._prn.toString().c_str()) 1159 1166 .arg(eph._additional_data_availability).toAscii(), true)); 1167 #endif 1160 1168 return false; 1161 1169 } … … 1175 1183 eph._xv(3) = eph._z_pos * 1.e3; 1176 1184 if (eph._xv.Rows(1,3).NormFrobenius() < 1.0) { 1185 #ifdef BNC_DEBUG_BCEP 1177 1186 emit(newMessage(QString("%1: Block %2 (%3): zero position!") 1178 1187 .arg(_staID).arg(1019,4).arg(eph._prn.toString().c_str()).toAscii(), true)); 1188 #endif 1179 1189 return false; 1180 1190 } … … 1183 1193 eph._xv(6) = eph._z_velocity * 1.e3; 1184 1194 if (eph._xv.Rows(4,6).NormFrobenius() < 1.0) { 1195 #ifdef BNC_DEBUG_BCEP 1185 1196 emit(newMessage(QString("%1: Block %2 (%3): zero velocity!") 1186 1197 .arg(_staID).arg(1019,4).arg(eph._prn.toString().c_str()).toAscii(), true)); 1198 #endif 1187 1199 return false; 1188 1200 } … … 1232 1244 GETFLOAT(eph._sqrt_A, 32, 1.0 / (double )(1 << 19)) 1233 1245 if (eph._sqrt_A < 1000.0) { 1246 #ifdef BNC_DEBUG_BCEP 1234 1247 emit(newMessage(QString("%1: Block %2 (%3) SQRT_A %4 m!") 1235 1248 .arg(_staID).arg(1044,4).arg(eph._prn.toString().c_str()) 1236 1249 .arg(eph._sqrt_A,10,'F',3).toAscii(), true)); 1250 #endif 1237 1251 return false; 1238 1252 } … … 1346 1360 GETFLOAT(eph._sqrt_A, 32, 1.0 / (double )(1 << 19)) 1347 1361 if (eph._sqrt_A < 1000.0) { 1362 #ifdef BNC_DEBUG_BCEP 1348 1363 emit(newMessage(QString("%1: Block %2 (%3) SQRT_A %4 m!") 1349 1364 .arg(_staID).arg(1041,4).arg(eph._prn.toString().c_str()) 1350 1365 .arg(eph._sqrt_A,10,'F',3).toAscii(), true)); 1366 #endif 1351 1367 return false; 1352 1368 } … … 1395 1411 pos(1) = eph._x_pos; pos(2) = eph._y_pos; pos(3) = eph._z_pos; 1396 1412 if (pos.NormFrobenius() < 1.0) { 1413 #ifdef BNC_DEBUG_BCEP 1397 1414 emit(newMessage(QString("%1: Block %2 (%3): zero position!") 1398 1415 .arg(_staID).arg(1043,4).arg(eph._prn.toString().c_str()).toAscii(), true)); 1416 #endif 1399 1417 return false; 1400 1418 } … … 1477 1495 GETBITS(eph._e1DataInValid, 1) 1478 1496 if (eph._E5bHS != eph._E1_bHS) { 1497 #ifdef BNC_DEBUG_BCEP 1479 1498 emit(newMessage(QString("%1: Block %2 (%3) SHS E5b %4 E1B %5: inconsistent health!") 1480 1499 .arg(_staID).arg(1046,4).arg(eph._prn.toString().c_str()) 1481 1500 .arg(eph._E5bHS).arg(eph._E1_bHS).toAscii(), true)); 1501 #endif 1482 1502 return false; 1483 1503 } 1484 1504 if ((eph._BGD_1_5A == 0.0 && fabs(eph._BGD_1_5B) > 1e-9) || 1485 1505 (eph._BGD_1_5B == 0.0 && fabs(eph._BGD_1_5A) > 1e-9)) { 1506 #ifdef BNC_DEBUG_BCEP 1486 1507 emit(newMessage(QString("%1: Block %2 (%3) BGD_15a = %4 BGD_15b = %5: inconsistent BGD!") 1487 1508 .arg(_staID).arg(1046,4).arg(eph._prn.toString().c_str()) 1488 1509 .arg(eph._BGD_1_5A,10,'E',3).arg(eph._BGD_1_5B,10,'E',3).toAscii(), true)); 1510 #endif 1489 1511 return false; 1490 1512 } … … 1504 1526 1505 1527 if (eph._sqrt_A < 1000.0) { 1528 #ifdef BNC_DEBUG_BCEP 1506 1529 emit(newMessage(QString("%1: Block %2 (%3) SQRT_A %4 m!") 1507 1530 .arg(_staID).arg(eph._inav? 1046 : 1045,4).arg(eph._prn.toString().c_str()) 1508 1531 .arg(eph._sqrt_A,10,'F',3).toLatin1(), true)); 1532 #endif 1509 1533 return false; 1510 1534 } … … 1556 1580 GETFLOAT(eph._sqrt_A, 32, 1.0 / (double )(1 << 19)) 1557 1581 if (eph._sqrt_A < 1000.0) { 1582 #ifdef BNC_DEBUG_BCEP 1558 1583 emit(newMessage(QString("%1: Block %2 (%3) SQRT_A %4 m!") 1559 1584 .arg(_staID).arg(1042,4).arg(eph._prn.toString().c_str()) 1560 1585 .arg(eph._sqrt_A,10,'F',3).toAscii(), true)); 1586 #endif 1561 1587 return false; 1562 1588 } … … 1711 1737 case 1001: 1712 1738 case 1003: 1713 emit(newMessage( 1714 QString("%1: Block %2 contain partial data! Ignored!") 1715 .arg(_staID).arg(id).toAscii(), true)); 1739 emit(newMessage(QString("%1: Block %2 contain partial data! Ignored!") 1740 .arg(_staID).arg(id).toAscii(), true)); 1716 1741 break; /* no use decoding partial data ATM, remove break when data can be used */ 1717 1742 case 1002: … … 1722 1747 case 1009: 1723 1748 case 1011: 1724 emit(newMessage( 1725 QString("%1: Block %2 contain partial data! Ignored!") 1726 .arg(_staID).arg(id).toAscii(), true)); 1749 emit(newMessage(QString("%1: Block %2 contain partial data! Ignored!") 1750 .arg(_staID).arg(id).toAscii(), true)); 1727 1751 break; /* no use decoding partial data ATM, remove break when data can be used */ 1728 1752 case 1010: -
branches/BNC_2.12/src/RTCM3/clock_and_orbit/clock_orbit_igs.cpp
r9036 r9209 302 302 return GCOBR_SHORTBUFFER; 303 303 304 #ifdef DEBUG304 #ifdef BNC_DEBUG_SSR 305 305 fprintf(stderr, "GetSSR-IGS START: size %d, numbits %d\n",(int)size, numbits); 306 306 #endif … … 323 323 G_RTCM_MESSAGE_NUMBER(rtcmtype) 324 324 G_IGS_SSR_VERSION(version) 325 #ifdef DEBUG325 #ifdef BNC_DEBUG_SSR 326 326 fprintf(stderr, "rtcmType %d igsVersion %d ", rtcmtype, version); 327 327 #endif 328 328 G_IGS_MESSAGE_NUMBER(igstype) 329 #ifdef DEBUG329 #ifdef BNC_DEBUG_SSR 330 330 fprintf(stderr, "igsType IM%d size %d\n", igstype,(int)sizeofrtcmblock); 331 331 #endif … … 346 346 G_VTEC_QUALITY_INDICATOR(v->Quality) 347 347 G_NO_IONO_LAYERS(v->NumLayers) 348 #ifdef DEBUG348 #ifdef BNC_DEBUG_SSR 349 349 fprintf(stderr, "epochTime %d ui %d mmi %d ssrIod %d providerId %d solId %d vtecQ %8.3f numLay %d \n", 350 350 v->EpochTime, v->UpdateInterval, mmi, … … 355 355 G_IONO_DEGREE(v->Layers[l].Degree) 356 356 G_IONO_ORDER(v->Layers[l].Order) 357 #ifdef DEBUG357 #ifdef BNC_DEBUG_SSR 358 358 fprintf(stderr, "h %8.3f deg %d ord %d \n", 359 359 v->Layers[l].Height, v->Layers[l].Degree, v->Layers[l].Order); … … 362 362 for (d = o; d <= v->Layers[l].Degree; ++d) { 363 363 G_IONO_COEFF_C(v->Layers[l].Cosinus[d][o]) 364 #ifdef DEBUG364 #ifdef BNC_DEBUG_SSR 365 365 fprintf(stderr, "C[%02d][%02d] %8.3f \n", 366 366 d, o, v->Layers[l].Cosinus[d][o]); … … 371 371 for (d = o; d <= v->Layers[l].Degree; ++d) { 372 372 G_IONO_COEFF_S(v->Layers[l].Sinus[d][o]) 373 #ifdef DEBUG373 #ifdef BNC_DEBUG_SSR 374 374 fprintf(stderr, "S[%02d][%02d] %8.3f \n", 375 375 d, o, v->Layers[l].Sinus[d][o]); … … 378 378 } 379 379 } 380 #ifdef DEBUG380 #ifdef BNC_DEBUG_SSR 381 381 for(igstype = 0; igstype < (unsigned int)size && (unsigned char)buffer[igstype] != 0xD3; ++igstype) 382 382 numbits += 8; … … 401 401 G_NO_OF_SATELLITES(nums) 402 402 co->Supplied[COBOFS_ORBIT] |= 1; 403 #ifdef DEBUG403 #ifdef BNC_DEBUG_SSR 404 404 fprintf(stderr, "epochTime %d ui %d mmi %d sats %d/%d rd %d ssrIod %d providerId %d solId %d\n", 405 405 co->EpochTime[s], co->UpdateInterval,mmi,co->NumberOfSat[s],nums, … … 424 424 G_DELTA_DOT_ALONG_TRACK(co->Sat[pos].Orbit.DotDeltaAlongTrack) 425 425 G_DELTA_DOT_CROSS_TRACK(co->Sat[pos].Orbit.DotDeltaCrossTrack) 426 #ifdef DEBUG426 #ifdef BNC_DEBUG_SSR 427 427 fprintf(stderr, "id %2d iod %3d dr %8.4f da %8.4f dc %8.4f dr %8.3f da %8.3f dc %8.3f\n", 428 428 co->Sat[pos].ID,co->Sat[pos].IOD,co->Sat[pos].Orbit.DeltaRadial, … … 446 446 G_NO_OF_SATELLITES(nums) 447 447 co->Supplied[COBOFS_CLOCK] |= 1; 448 #ifdef DEBUG448 #ifdef BNC_DEBUG_SSR 449 449 fprintf(stderr, "epochTime %d ui %d mmi %d sats %d/%d ssrIod %d providerId %d solId %d\n", 450 450 co->EpochTime[s], co->UpdateInterval,mmi,co->NumberOfSat[s],nums, … … 465 465 G_DELTA_CLOCK_C1(co->Sat[pos].Clock.DeltaA1) 466 466 G_DELTA_CLOCK_C2(co->Sat[pos].Clock.DeltaA2) 467 #ifdef DEBUG467 #ifdef BNC_DEBUG_SSR 468 468 fprintf(stderr, "id %2d c0 %8.3f c1 %8.3f c2 %8.3f\n", 469 469 co->Sat[pos].ID, co->Sat[pos].Clock.DeltaA0, co->Sat[pos].Clock.DeltaA1, … … 486 486 co->Supplied[COBOFS_ORBIT] |= 1; 487 487 co->Supplied[COBOFS_CLOCK] |= 1; 488 #ifdef DEBUG488 #ifdef BNC_DEBUG_SSR 489 489 fprintf(stderr, "epochTime %d ui %d mmi %d sats %d/%d rd %d ssrIod %d providerId %d solId %d\n", 490 490 co->EpochTime[s], co->UpdateInterval,mmi,co->NumberOfSat[s],nums, … … 512 512 G_DELTA_CLOCK_C1(co->Sat[pos].Clock.DeltaA1) 513 513 G_DELTA_CLOCK_C2(co->Sat[pos].Clock.DeltaA2) 514 #ifdef DEBUG514 #ifdef BNC_DEBUG_SSR 515 515 fprintf(stderr, "id %2d iod %3d dr %10.6f da %10.6f dc %10.6f dr %10.6f da %10.6f dc %10.6f c0 %10.6f c1 %10.6f c2 %10.6f\n", 516 516 co->Sat[pos].ID,co->Sat[pos].IOD,co->Sat[pos].Orbit.DeltaRadial, … … 534 534 G_NO_OF_SATELLITES(nums) 535 535 co->Supplied[COBOFS_URA] |= 1; 536 #ifdef DEBUG536 #ifdef BNC_DEBUG_SSR 537 537 fprintf(stderr, "epochTime %d ui %d mmi %d sats %d/%d ssrIod %d providerId %d solId %d\n", 538 538 co->EpochTime[s], co->UpdateInterval,mmi,co->NumberOfSat[s],nums, … … 551 551 co->Sat[pos].ID = id; 552 552 G_SSR_URA(co->Sat[pos].UserRangeAccuracy) 553 #ifdef DEBUG553 #ifdef BNC_DEBUG_SSR 554 554 fprintf(stderr, "id %2d ura %8.3f \n", 555 555 co->Sat[pos].ID, co->Sat[pos].UserRangeAccuracy); … … 569 569 G_NO_OF_SATELLITES(nums) 570 570 co->Supplied[COBOFS_HR] |= 1; 571 #ifdef DEBUG571 #ifdef BNC_DEBUG_SSR 572 572 fprintf(stderr, "epochTime %d ui %d mmi %d sats %d/%d ssrIod %d providerId %d solId %d\n", 573 573 co->EpochTime[s], co->UpdateInterval,mmi,co->NumberOfSat[s],nums, … … 586 586 co->Sat[pos].ID = id; 587 587 G_HR_CLOCK_CORRECTION(co->Sat[pos].hrclock) 588 #ifdef DEBUG588 #ifdef BNC_DEBUG_SSR 589 589 fprintf(stderr, "id %2d hrClock %8.3f \n", 590 590 co->Sat[pos].ID, co->Sat[pos].hrclock); … … 603 603 G_SSR_SOLUTION_ID(b->SSRSolutionID) 604 604 G_NO_OF_SATELLITES(nums) 605 #ifdef DEBUG605 #ifdef BNC_DEBUG_SSR 606 606 fprintf(stderr, "epochTime %d ui %d mmi %d sats %d/%d ssrIod %d providerId %d solId %d\n", 607 607 b->EpochTime[s], b->UpdateInterval,mmi,b->NumberOfSat[s],nums, … … 620 620 b->Sat[pos].ID = id; 621 621 G_NO_OF_BIASES(b->Sat[pos].NumberOfCodeBiases) 622 #ifdef DEBUG622 #ifdef BNC_DEBUG_SSR 623 623 fprintf(stderr, "id %2d #%d ", 624 624 b->Sat[pos].ID, b->Sat[pos].NumberOfCodeBiases); … … 627 627 G_GNSS_SIGNAL_IDENTIFIER(b->Sat[pos].Biases[j].Type) 628 628 G_CODE_BIAS(b->Sat[pos].Biases[j].Bias) 629 #ifdef DEBUG629 #ifdef BNC_DEBUG_SSR 630 630 fprintf(stderr, "t%02d b %8.2f ", 631 631 b->Sat[pos].Biases[j].Type, b->Sat[pos].Biases[j].Bias); 632 632 #endif 633 633 } 634 #ifdef DEBUG634 #ifdef BNC_DEBUG_SSR 635 635 fprintf(stderr, "\n"); 636 636 #endif … … 650 650 G_MW_CONSISTENCY_INDICATOR(pb->MWConsistencyIndicator) 651 651 G_NO_OF_SATELLITES(nums) 652 #ifdef DEBUG652 #ifdef BNC_DEBUG_SSR 653 653 fprintf(stderr, "epochTime %d ui %d mmi %d sats %d/%d ssrIod %d providerId %d solId %d dispInd %d mwInd %d\n", 654 654 pb->EpochTime[s], pb->UpdateInterval,mmi,pb->NumberOfSat[s],nums, … … 670 670 G_YAW_ANGLE(pb->Sat[pos].YawAngle) 671 671 G_YAW_RATE(pb->Sat[pos].YawRate) 672 #ifdef DEBUG672 #ifdef BNC_DEBUG_SSR 673 673 fprintf(stderr, "id %2d #%d y %10.6f yr %10.6f ", 674 674 pb->Sat[pos].ID, pb->Sat[pos].NumberOfPhaseBiases, … … 681 681 G_DISCONTINUITY_COUNTER(pb->Sat[pos].Biases[j].SignalDiscontinuityCounter) 682 682 G_PHASE_BIAS(pb->Sat[pos].Biases[j].Bias) 683 #ifdef DEBUG683 #ifdef BNC_DEBUG_SSR 684 684 fprintf(stderr, "t%02d int %d wl %d disc %02d b %8.4f ", 685 685 pb->Sat[pos].Biases[j].Type, … … 690 690 #endif 691 691 } 692 #ifdef DEBUG692 #ifdef BNC_DEBUG_SSR 693 693 fprintf(stderr, "\n"); 694 694 #endif … … 698 698 continue; 699 699 } 700 #ifdef DEBUG700 #ifdef BNC_DEBUG_SSR 701 701 for(igstype = 0; igstype < (unsigned int)size && (unsigned char)buffer[igstype] != 0xD3; ++igstype) 702 702 numbits += 8; -
branches/BNC_2.12/src/RTCM3/clock_and_orbit/clock_orbit_rtcm.cpp
r9036 r9209 482 482 return GCOBR_SHORTBUFFER; 483 483 484 #ifdef DEBUG484 #ifdef BNC_DEBUG_SSR 485 485 fprintf(stderr, "GetSSR-RTCM START: size %d, numbits %d\n",(int)size, numbits); 486 486 #endif … … 502 502 503 503 G_RTCM_MESSAGE_NUMBER(type) 504 #ifdef DEBUG504 #ifdef BNC_DEBUG_SSR 505 505 fprintf(stderr, "type %d size %d\n",type,(int)sizeofrtcmblock); 506 506 #endif … … 520 520 G_VTEC_QUALITY_INDICATOR(v->Quality) 521 521 G_NO_IONO_LAYERS(v->NumLayers) 522 #ifdef DEBUG522 #ifdef BNC_DEBUG_SSR 523 523 fprintf(stderr, "epochTime %d ui %d mmi %d ssrIod %d providerId %d solId %d vtecQ %8.3f numLay %d \n", 524 524 v->EpochTime, v->UpdateInterval, mmi, … … 529 529 G_IONO_DEGREE(v->Layers[l].Degree) 530 530 G_IONO_ORDER(v->Layers[l].Order) 531 #ifdef DEBUG531 #ifdef BNC_DEBUG_SSR 532 532 fprintf(stderr, "h %8.3f deg %d ord %d \n", 533 533 v->Layers[l].Height, v->Layers[l].Degree, v->Layers[l].Order); … … 536 536 for (d = o; d <= v->Layers[l].Degree; ++d) { 537 537 G_IONO_COEFF_C(v->Layers[l].Cosinus[d][o]) 538 #ifdef DEBUG538 #ifdef BNC_DEBUG_SSR 539 539 fprintf(stderr, "C[%02d][%02d] %8.3f \n", 540 540 d, o, v->Layers[l].Cosinus[d][o]); … … 545 545 for (d = o; d <= v->Layers[l].Degree; ++d) { 546 546 G_IONO_COEFF_S(v->Layers[l].Sinus[d][o]) 547 #ifdef DEBUG547 #ifdef BNC_DEBUG_SSR 548 548 fprintf(stderr, "S[%02d][%02d] %8.3f \n", 549 549 d, o, v->Layers[l].Sinus[d][o]); … … 552 552 } 553 553 } 554 #ifdef DEBUG554 #ifdef BNC_DEBUG_SSR 555 555 for(type = 0; type < (unsigned int)size && (unsigned char)buffer[type] != 0xD3; ++type) 556 556 numbits += 8; … … 584 584 G_MW_CONSISTENCY_INDICATOR(pb->MWConsistencyIndicator) 585 585 G_NO_OF_SATELLITES(nums) 586 #ifdef DEBUG586 #ifdef BNC_DEBUG_SSR 587 587 fprintf(stderr, "epochTime %d ui %d mmi %d sats %d/%d ssrIod %d providerId %d solId %d dispInd %d mwInd %d\n", 588 588 pb->EpochTime[s], pb->UpdateInterval,mmi,pb->NumberOfSat[s],nums, … … 617 617 G_YAW_ANGLE(pb->Sat[pos].YawAngle) 618 618 G_YAW_RATE(pb->Sat[pos].YawRate) 619 #ifdef DEBUG619 #ifdef BNC_DEBUG_SSR 620 620 fprintf(stderr, "id %2d #%d y %10.6f yr %10.6f ", 621 621 pb->Sat[pos].ID, pb->Sat[pos].NumberOfPhaseBiases, … … 630 630 pb->Sat[pos].Biases[j].SignalDiscontinuityCounter) 631 631 G_PHASE_BIAS(pb->Sat[pos].Biases[j].Bias) 632 #ifdef DEBUG632 #ifdef BNC_DEBUG_SSR 633 633 fprintf(stderr, "t%02d int %d wl %d disc %d b %8.4f ", 634 634 pb->Sat[pos].Biases[j].Type, … … 639 639 #endif 640 640 } 641 #ifdef DEBUG641 #ifdef BNC_DEBUG_SSR 642 642 fprintf(stderr, "\n"); 643 643 #endif 644 644 } 645 #ifdef DEBUG645 #ifdef BNC_DEBUG_SSR 646 646 for(type = 0; type < (unsigned int)size && (unsigned char)buffer[type] != 0xD3; ++type) 647 647 numbits += 8; … … 676 676 G_NO_OF_SATELLITES(nums) 677 677 co->Supplied[COBOFS_ORBIT] |= 1; 678 #ifdef DEBUG678 #ifdef BNC_DEBUG_SSR 679 679 fprintf(stderr, "epochTime %d ui %d mmi %d sats %d/%d rd %d ssrIod %d providerId %d solId %d\n", 680 680 co->EpochTime[s], co->UpdateInterval,mmi,co->NumberOfSat[s],nums, … … 732 732 G_DELTA_DOT_ALONG_TRACK(co->Sat[pos].Orbit.DotDeltaAlongTrack) 733 733 G_DELTA_DOT_CROSS_TRACK(co->Sat[pos].Orbit.DotDeltaCrossTrack) 734 #ifdef DEBUG734 #ifdef BNC_DEBUG_SSR 735 735 fprintf(stderr, "id %2d iod %3d dr %8.4f da %8.4f dc %8.4f dr %8.3f da %8.3f dc %8.3f\n", 736 736 co->Sat[pos].ID,co->Sat[pos].IOD,co->Sat[pos].Orbit.DeltaRadial, … … 765 765 G_NO_OF_SATELLITES(nums) 766 766 co->Supplied[COBOFS_CLOCK] |= 1; 767 #ifdef DEBUG767 #ifdef BNC_DEBUG_SSR 768 768 fprintf(stderr, "epochTime %d ui %d mmi %d sats %d/%d ssrIod %d providerId %d solId %d\n", 769 769 co->EpochTime[s], co->UpdateInterval,mmi,co->NumberOfSat[s],nums, … … 798 798 G_DELTA_CLOCK_C1(co->Sat[pos].Clock.DeltaA1) 799 799 G_DELTA_CLOCK_C2(co->Sat[pos].Clock.DeltaA2) 800 #ifdef DEBUG800 #ifdef BNC_DEBUG_SSR 801 801 fprintf(stderr, "id %2d c0 %8.3f c1 %8.3f c2 %8.3f\n", 802 802 co->Sat[pos].ID, co->Sat[pos].Clock.DeltaA0, co->Sat[pos].Clock.DeltaA1, … … 830 830 co->Supplied[COBOFS_ORBIT] |= 1; 831 831 co->Supplied[COBOFS_CLOCK] |= 1; 832 #ifdef DEBUG832 #ifdef BNC_DEBUG_SSR 833 833 fprintf(stderr, "epochTime %d ui %d mmi %d sats %d/%d rd %d ssrIod %d providerId %d solId %d\n", 834 834 co->EpochTime[s], co->UpdateInterval,mmi,co->NumberOfSat[s],nums, … … 889 889 G_DELTA_CLOCK_C1(co->Sat[pos].Clock.DeltaA1) 890 890 G_DELTA_CLOCK_C2(co->Sat[pos].Clock.DeltaA2) 891 #ifdef DEBUG891 #ifdef BNC_DEBUG_SSR 892 892 fprintf(stderr, "id %2d iod %3d dr %10.6f da %10.6f dc %10.6f dr %10.6f da %10.6f dc %10.6f c0 %10.6f c1 %10.6f c2 %10.6f\n", 893 893 co->Sat[pos].ID,co->Sat[pos].IOD,co->Sat[pos].Orbit.DeltaRadial, … … 922 922 G_NO_OF_SATELLITES(nums) 923 923 co->Supplied[COBOFS_URA] |= 1; 924 #ifdef DEBUG924 #ifdef BNC_DEBUG_SSR 925 925 fprintf(stderr, "epochTime %d ui %d mmi %d sats %d/%d ssrIod %d providerId %d solId %d\n", 926 926 co->EpochTime[s], co->UpdateInterval,mmi,co->NumberOfSat[s],nums, … … 952 952 co->Sat[pos].ID = id; 953 953 G_SSR_URA(co->Sat[pos].UserRangeAccuracy) 954 #ifdef DEBUG954 #ifdef BNC_DEBUG_SSR 955 955 fprintf(stderr, "id %2d ura %8.3f \n", 956 956 co->Sat[pos].ID, co->Sat[pos].UserRangeAccuracy); … … 981 981 G_NO_OF_SATELLITES(nums) 982 982 co->Supplied[COBOFS_HR] |= 1; 983 #ifdef DEBUG983 #ifdef BNC_DEBUG_SSR 984 984 fprintf(stderr, "epochTime %d ui %d mmi %d sats %d/%d ssrIod %d providerId %d solId %d\n", 985 985 co->EpochTime[s], co->UpdateInterval,mmi,co->NumberOfSat[s],nums, … … 1011 1011 co->Sat[pos].ID = id; 1012 1012 G_HR_CLOCK_CORRECTION(co->Sat[pos].hrclock) 1013 #ifdef DEBUG1013 #ifdef BNC_DEBUG_SSR 1014 1014 fprintf(stderr, "id %2d hrClock %8.3f \n", 1015 1015 co->Sat[pos].ID, co->Sat[pos].hrclock); … … 1039 1039 G_SSR_SOLUTION_ID(b->SSRSolutionID) 1040 1040 G_NO_OF_SATELLITES(nums) 1041 #ifdef DEBUG1041 #ifdef BNC_DEBUG_SSR 1042 1042 fprintf(stderr, "epochTime %d ui %d mmi %d sats %d/%d ssrIod %d providerId %d solId %d\n", 1043 1043 b->EpochTime[s], b->UpdateInterval,mmi,b->NumberOfSat[s],nums, … … 1069 1069 b->Sat[pos].ID = id; 1070 1070 G_NO_OF_BIASES(b->Sat[pos].NumberOfCodeBiases) 1071 #ifdef DEBUG1071 #ifdef BNC_DEBUG_SSR 1072 1072 fprintf(stderr, "id %2d #%d ", 1073 1073 b->Sat[pos].ID, b->Sat[pos].NumberOfCodeBiases); … … 1076 1076 G_GNSS_SIGNAL_IDENTIFIER(b->Sat[pos].Biases[j].Type) 1077 1077 G_CODE_BIAS(b->Sat[pos].Biases[j].Bias) 1078 #ifdef DEBUG1078 #ifdef BNC_DEBUG_SSR 1079 1079 fprintf(stderr, "t%02d b %8.2f ", 1080 1080 b->Sat[pos].Biases[j].Type, b->Sat[pos].Biases[j].Bias); 1081 1081 #endif 1082 1082 } 1083 #ifdef DEBUG1083 #ifdef BNC_DEBUG_SSR 1084 1084 fprintf(stderr, "\n"); 1085 1085 #endif … … 1089 1089 continue; 1090 1090 } 1091 #ifdef DEBUG1091 #ifdef BNC_DEBUG_SSR 1092 1092 for(type = 0; type < (unsigned int)size && (unsigned char)buffer[type] != 0xD3; ++type) 1093 1093 numbits += 8; -
branches/BNC_2.12/src/src.pri
r9036 r9209 25 25 26 26 debug:DEFINES += BNC_DEBUG 27 debug:DEFINES += BNC_DEBUG_BCEP 28 #debug:DEFINES += BNC_DEBUG_SSR 27 29 28 30 # Include Path
Note:
See TracChangeset
for help on using the changeset viewer.