- Timestamp:
- Nov 19, 2008, 9:53:24 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnchelp.html
r1206 r1215 360 360 <pre> 361 361 begEpoch 362 begObs 363 Observation 364 begObs 365 Observation 366 begObs 367 Observation 362 t_obsInternal 363 t_obsInternal 368 364 ... 365 t_obsInternal 369 366 endEpoch 370 367 begEpoch 368 t_obsInternal 371 369 ... 372 370 </pre> 373 <p>with the corresponding structures defined as follow:</p> 371 372 <p>The corresponding structures are defined as follow:</p> 374 373 <pre> 375 const char begEpoch = 'A'; 376 const char begObs = 'B'; 377 const char endEpoch = 'C'; 378 struct Observation { 374 const char begEpoch[] = "BEGEPOCH"; 375 const char endEpoch[] = "ENDEPOCH"; 376 ... 377 ... 378 class t_obsInternal { 379 public: 379 380 int flags; 380 char StatID[20+1];// Station ID 381 char satSys; // Satellite System ('G' or 'R') 382 int satNum; // Satellite Number (PRN for GPS NAVSTAR) 383 int slot; // Slot Number (for Glonass) 384 int GPSWeek; // Week of GPS-Time 385 double GPSWeeks; // Second of Week (GPS-Time) 386 double C1; // CA-code pseudorange (meters) 387 double C2; // CA-code pseudorange (meters) 388 double P1; // P1-code pseudorange (meters) 389 double P2; // P2-code pseudorange (meters) 390 double L1; // L1 carrier phase (cycles) 391 double L2; // L2 carrier phase (cycles) 392 double S1; // L1 signal-to noise ratio 393 double S2; // L2 signal-to noise ratio 394 int SNR1; // L1 signal-to noise ratio (mapped to integer) 395 int SNR2; // L2 signal-to noise ratio (mapped to integer) 396 } ; 381 char StatID[20+1]; // Station ID 382 char satSys; // Satellite System ('G' or 'R') 383 int satNum; // Satellite Number (PRN for GPS NAVSTAR) 384 int slot; // Slot Number (for Glonass) 385 int GPSWeek; // Week of GPS-Time 386 double GPSWeeks; // Second of Week (GPS-Time) 387 double C1; // CA-code pseudorange (meters) 388 double C2; // CA-code pseudorange (meters) 389 double P1; // P1-code pseudorange (meters) 390 double P2; // P2-code pseudorange (meters) 391 double L1; // L1 carrier phase (cycles) 392 double L2; // L2 carrier phase (cycles) 393 int slip_cnt_L1; // L1 cumulative loss of continuity indicator (negative value = undefined) 394 int slip_cnt_L2; // L2 cumulative loss of continuity indicator (negative value = undefined) 395 int lock_timei_L1; // L1 last lock time indicator (negative value = undefined) 396 int lock_timei_L2; // L2 last lock time indicator (negative value = undefined) 397 double S1; // L1 signal-to noise ratio 398 double S2; // L2 signal-to noise ratio 399 int SNR1; // L1 signal-to noise ratio (mapped to integer) 400 int SNR2; // L2 signal-to noise ratio (mapped to integer) 401 }; 397 402 </pre> 403 398 404 <p> 399 405 The source code for BNC comes with an example program called 'test_bnc_qt.cpp' that allows you to read BNC's binary observation output from the IP port (hard-coded to 1968) and save the observations in file 'obs.txt'.
Note:
See TracChangeset
for help on using the changeset viewer.