Ignore:
Timestamp:
Jul 18, 2020, 10:46:48 PM (4 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM3/clock_and_orbit/clock_orbit_rtcm.c

    r8974 r8976  
    820820        for (d = o; d <= v->Layers[l].Degree; ++d) {
    821821          G_IONO_COEFF(v->Layers[l].Cosinus[d][o])
    822           #ifdef BNC_DEBUG
    823           fprintf(stderr, "C[%d][%d]  %8.3f \n",
     822#ifdef BNC_DEBUG
     823          fprintf(stderr, "C[%02d][%02d]  %8.3f \n",
    824824                          d, o, v->Layers[l].Cosinus[d][o]);
    825825#endif
     
    830830          G_IONO_COEFF(v->Layers[l].Sinus[d][o])
    831831#ifdef BNC_DEBUG
    832           fprintf(stderr, "S[%d][%d]  %8.3f \n",
     832          fprintf(stderr, "S[%02d][%02d]  %8.3f \n",
    833833                          d, o, v->Layers[l].Sinus[d][o]);
    834834#endif
     
    837837    }
    838838#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)
    840840    numbits += 8;
    841841    fprintf(stderr, "numbits left %d\n",numbits);
     
    915915          G_PHASE_BIAS(pb->Sat[pos].Biases[j].Bias)
    916916#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 ",
    918918                    pb->Sat[pos].Biases[j].Type,
    919919                                        pb->Sat[pos].Biases[j].SignalIntegerIndicator,
     
    10171017            G_DELTA_DOT_CROSS_TRACK(co->Sat[pos].Orbit.DotDeltaCrossTrack)
    10181018#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",
    10201020                co->Sat[pos].ID,co->Sat[pos].IOD,co->Sat[pos].Orbit.DeltaRadial,
    10211021                co->Sat[pos].Orbit.DeltaAlongTrack,co->Sat[pos].Orbit.DeltaCrossTrack,
     
    11741174            G_DELTA_CLOCK_C2(co->Sat[pos].Clock.DeltaA2)
    11751175#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",
    11771177                co->Sat[pos].ID,co->Sat[pos].IOD,co->Sat[pos].Orbit.DeltaRadial,
    11781178                co->Sat[pos].Orbit.DeltaAlongTrack,co->Sat[pos].Orbit.DeltaCrossTrack,
     
    13531353            b->Sat[pos].ID = id;
    13541354            G_NO_OF_CODE_BIASES(b->Sat[pos].NumberOfCodeBiases)
    1355             #ifdef BNC_DEBUG
     1355#ifdef BNC_DEBUG
    13561356            fprintf(stderr, "id %2d #%d ",
    13571357                    b->Sat[pos].ID, b->Sat[pos].NumberOfCodeBiases);
     
    13611361              G_CODE_BIAS(b->Sat[pos].Biases[j].Bias)
    13621362#ifdef BNC_DEBUG
    1363             fprintf(stderr, "t%d b %8.2f ",
     1363            fprintf(stderr, "t%02d b %8.2f ",
    13641364                    b->Sat[pos].Biases[j].Type, b->Sat[pos].Biases[j].Bias);
    13651365#endif
     
    13741374      }
    13751375#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)
    13771377      numbits += 8;
    13781378      fprintf(stderr, "numbits left %d\n",numbits);
Note: See TracChangeset for help on using the changeset viewer.