Changeset 5485 in ntrip for trunk/GnssCenter


Ignore:
Timestamp:
Sep 18, 2013, 2:45:58 PM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/monitor/thriftclient.cpp

    r5484 r5485  
    9494    }
    9595    char prn[3];
    96     sprintf(prn, "%c%2d", ch, sat.ID);
     96    sprintf(prn, "%c%2.2d", ch, sat.ID);
    9797    satellite->_prn = prn;
    9898    satellite->_x   = sat.xyz.x;
    9999    satellite->_y   = sat.xyz.y;
    100100    satellite->_z   = sat.xyz.z;
     101    cout << satellite->_prn << ' ' << satellite->_x << endl;
    101102  }
    102103}
Note: See TracChangeset for help on using the changeset viewer.