Changeset 223 in ntrip
- Timestamp:
- Oct 7, 2006, 12:08:31 PM (18 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnchelp.html
r217 r223 161 161 const char endEpoch = 'C'; 162 162 struct Observation { 163 char StatID[5+1]; // Station ID 164 char SVPRN; // Satellite PRN 165 short GPSWeek; // Week of GPS-Time 166 int GPSWeeks; // Second of Week (GPS-Time) 167 double sec; // second 168 double C1; // CA or P1-code pseudorange (meters) 169 double P2; // P2-code pseudorange (meters) 170 double L1; // L1-carrier phase (meters) 171 double L2; // L2-carrier phase (meters) 172 short SNR1; // Signal-to noise ratio (0.1 dB) 173 short SNR2; // Signal-to noise ratio (0.1 dB) 174 int pCodeIndicator; // 0 ... CA Code, 1 ... P Code 175 unsigned cumuLossOfCont; // Loss of lock indicator (0 to 31) 163 int flags; 164 char StatID[5+1]; // Station ID 165 int SVPRN; // Satellite PRN 166 int GPSWeek; // Week of GPS-Time 167 double GPSWeeks; // Second of Week (GPS-Time) 168 double C1; // CA-code pseudorange (meters) 169 double P1; // P1-code pseudorange (meters) 170 double P2; // P2-code pseudorange (meters) 171 double L1; // L1 carrier phase (cycles) 172 double L2; // L2 carrier phase (cycles) 173 int SNR1; // L1 signal-to noise ratio (0.1 dB) 174 int SNR2; // L2 signal-to noise ratio (0.1 dB) 176 175 } ; 177 176 </pre> -
trunk/BNC/bncrinex.cpp
r222 r223 29 29 #include "bncutils.h" 30 30 #include "bncconst.h" 31 #include "RTCM3/rtcm3torinex.h" 31 32 32 33 using namespace std; … … 321 322 iSat++; 322 323 Observation* ob = it.next(); 323 _out << " " << setw(2) << int(ob->SVPRN); 324 int prn = ob->SVPRN; 325 if (prn <= PRN_GPS_END) { 326 _out << "G" << setw(2) << prn; 327 } 328 else if (prn >= PRN_GLONASS_START && prn <= PRN_GLONASS_END) { 329 _out << "R" << setw(2) << prn - PRN_GLONASS_START + 1; 330 } 331 else { 332 _out << setw(3) << prn; 333 } 324 334 if (iSat == 12 && it.hasNext()) { 325 335 _out << endl << " ";
Note:
See TracChangeset
for help on using the changeset viewer.