Ignore:
Timestamp:
Jun 24, 2015, 1:06:03 PM (9 years ago)
Author:
stuerze
Message:

consideration that the yaw angle is restricted to be in [-180°, 180°]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp

    r6878 r6956  
    437437    satPhaseBias._MWConsistInd        = _phaseBias.MWConsistencyIndicator;
    438438    satPhaseBias._yawDeg     = _phaseBias.Sat[ii].YawAngle * 180.0 / M_PI;
     439    if (satPhaseBias._yawDeg >  180.0) {satPhaseBias._yawDeg -= 180.0;}
     440    if (satPhaseBias._yawDeg < -180.0) {satPhaseBias._yawDeg += 180.0;}
    439441    satPhaseBias._yawDegRate = _phaseBias.Sat[ii].YawRate * 180.0 / M_PI;
    440442    for (unsigned jj = 0; jj < _phaseBias.Sat[ii].NumberOfPhaseBiases; jj++) {
Note: See TracChangeset for help on using the changeset viewer.