Changeset 8976 in ntrip for trunk/BNC/src/RTCM3
- Timestamp:
- Jul 18, 2020, 10:46:48 PM (4 years ago)
- Location:
- trunk/BNC/src/RTCM3/clock_and_orbit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/clock_and_orbit/clock_orbit_igs.c
r8975 r8976 4 4 Project: RTCM3 5 5 Version: $Id: clock_orbit_igs.c 8963 2020-06-29 12:46:25Z stuerze $ 6 Authors: Andrea Stürze6 Authors: Dirk Stöcker, Andrea Stürze 7 7 Description: state space approach: IGS 8 8 */ … … 637 637 G_IONO_COEFF_C(v->Layers[l].Cosinus[d][o]) 638 638 #ifdef BNC_DEBUG 639 fprintf(stderr, "C[% d][%d] %8.3f \n",639 fprintf(stderr, "C[%02d][%02d] %8.3f \n", 640 640 d, o, v->Layers[l].Cosinus[d][o]); 641 641 #endif … … 646 646 G_IONO_COEFF_S(v->Layers[l].Sinus[d][o]) 647 647 #ifdef BNC_DEBUG 648 fprintf(stderr, "S[% d][%d] %8.3f \n",648 fprintf(stderr, "S[%02d][%02d] %8.3f \n", 649 649 d, o, v->Layers[l].Sinus[d][o]); 650 650 #endif … … 659 659 return mmi ? GCOBR_MESSAGEFOLLOWS : GCOBR_OK; 660 660 } 661 662 661 for (s = CLOCKORBIT_SATNUM; s-- > 0;) { 663 662 if (type >= corbase[s]) { … … 788 787 G_DELTA_CLOCK_C2(co->Sat[pos].Clock.DeltaA2) 789 788 #ifdef BNC_DEBUG 790 fprintf(stderr, "id %2d iod %3d dr % 8.4f da %8.4f dc %8.4f dr %8.3f da %8.3f dc %8.3f c0 %8.3f c1 %8.3f c2 %8.3f\n",789 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", 791 790 co->Sat[pos].ID,co->Sat[pos].IOD,co->Sat[pos].Orbit.DeltaRadial, 792 791 co->Sat[pos].Orbit.DeltaAlongTrack,co->Sat[pos].Orbit.DeltaCrossTrack, … … 903 902 G_CODE_BIAS(b->Sat[pos].Biases[j].Bias) 904 903 #ifdef BNC_DEBUG 905 fprintf(stderr, "t% d b %8.2f ",904 fprintf(stderr, "t%02d b %8.2f ", 906 905 b->Sat[pos].Biases[j].Type, b->Sat[pos].Biases[j].Bias); 907 906 #endif … … 946 945 G_YAW_RATE(pb->Sat[pos].YawRate) 947 946 #ifdef BNC_DEBUG 948 fprintf(stderr, "id %2d #%d y % 8.3f yr %8.3f ",947 fprintf(stderr, "id %2d #%d y %10.6f yr %10.6f ", 949 948 pb->Sat[pos].ID, pb->Sat[pos].NumberOfPhaseBiases, 950 pb->Sat[pos].YawAngle , pb->Sat[pos].YawRate);949 pb->Sat[pos].YawAngle/MPI, pb->Sat[pos].YawRate/MPI); 951 950 #endif 952 951 for (j = 0; j < pb->Sat[pos].NumberOfPhaseBiases; ++j) { … … 957 956 G_PHASE_BIAS(pb->Sat[pos].Biases[j].Bias) 958 957 #ifdef BNC_DEBUG 959 fprintf(stderr, "t% d int %d wl %d disc %d b %8.4f ",958 fprintf(stderr, "t%02d int %d wl %d disc %d b %8.4f ", 960 959 pb->Sat[pos].Biases[j].Type, 961 960 pb->Sat[pos].Biases[j].SignalIntegerIndicator, -
trunk/BNC/src/RTCM3/clock_and_orbit/clock_orbit_rtcm.c
r8974 r8976 820 820 for (d = o; d <= v->Layers[l].Degree; ++d) { 821 821 G_IONO_COEFF(v->Layers[l].Cosinus[d][o]) 822 823 fprintf(stderr, "C[% d][%d] %8.3f \n",822 #ifdef BNC_DEBUG 823 fprintf(stderr, "C[%02d][%02d] %8.3f \n", 824 824 d, o, v->Layers[l].Cosinus[d][o]); 825 825 #endif … … 830 830 G_IONO_COEFF(v->Layers[l].Sinus[d][o]) 831 831 #ifdef BNC_DEBUG 832 fprintf(stderr, "S[% d][%d] %8.3f \n",832 fprintf(stderr, "S[%02d][%02d] %8.3f \n", 833 833 d, o, v->Layers[l].Sinus[d][o]); 834 834 #endif … … 837 837 } 838 838 #ifdef BNC_DEBUG 839 for(type = 0; type < ( int)size && (unsigned char)buffer[type] != 0xD3; ++type)839 for(type = 0; type < (unsigned int)size && (unsigned char)buffer[type] != 0xD3; ++type) 840 840 numbits += 8; 841 841 fprintf(stderr, "numbits left %d\n",numbits); … … 915 915 G_PHASE_BIAS(pb->Sat[pos].Biases[j].Bias) 916 916 #ifdef BNC_DEBUG 917 fprintf(stderr, "t% d int %d wl %d disc %d b %8.4f ",917 fprintf(stderr, "t%02d int %d wl %d disc %d b %8.4f ", 918 918 pb->Sat[pos].Biases[j].Type, 919 919 pb->Sat[pos].Biases[j].SignalIntegerIndicator, … … 1017 1017 G_DELTA_DOT_CROSS_TRACK(co->Sat[pos].Orbit.DotDeltaCrossTrack) 1018 1018 #ifdef BNC_DEBUG 1019 fprintf(stderr, "id %2d iod %3d dr %8. 3f da %8.3f dc %8.3f dr %8.3f da %8.3f dc %8.3f\n",1019 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", 1020 1020 co->Sat[pos].ID,co->Sat[pos].IOD,co->Sat[pos].Orbit.DeltaRadial, 1021 1021 co->Sat[pos].Orbit.DeltaAlongTrack,co->Sat[pos].Orbit.DeltaCrossTrack, … … 1174 1174 G_DELTA_CLOCK_C2(co->Sat[pos].Clock.DeltaA2) 1175 1175 #ifdef BNC_DEBUG 1176 fprintf(stderr, "id %2d iod %3d dr % 8.4f da %8.4f dc %8.4f dr %8.3f da %8.3f dc %8.3f c0 %8.3f c1 %8.3f c2 %8.3f\n",1176 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", 1177 1177 co->Sat[pos].ID,co->Sat[pos].IOD,co->Sat[pos].Orbit.DeltaRadial, 1178 1178 co->Sat[pos].Orbit.DeltaAlongTrack,co->Sat[pos].Orbit.DeltaCrossTrack, … … 1353 1353 b->Sat[pos].ID = id; 1354 1354 G_NO_OF_CODE_BIASES(b->Sat[pos].NumberOfCodeBiases) 1355 1355 #ifdef BNC_DEBUG 1356 1356 fprintf(stderr, "id %2d #%d ", 1357 1357 b->Sat[pos].ID, b->Sat[pos].NumberOfCodeBiases); … … 1361 1361 G_CODE_BIAS(b->Sat[pos].Biases[j].Bias) 1362 1362 #ifdef BNC_DEBUG 1363 fprintf(stderr, "t% d b %8.2f ",1363 fprintf(stderr, "t%02d b %8.2f ", 1364 1364 b->Sat[pos].Biases[j].Type, b->Sat[pos].Biases[j].Bias); 1365 1365 #endif … … 1374 1374 } 1375 1375 #ifdef BNC_DEBUG 1376 for(type = 0; type < ( int)size && (unsigned char)buffer[type] != 0xD3; ++type)1376 for(type = 0; type < (unsigned int)size && (unsigned char)buffer[type] != 0xD3; ++type) 1377 1377 numbits += 8; 1378 1378 fprintf(stderr, "numbits left %d\n",numbits);
Note:
See TracChangeset
for help on using the changeset viewer.