Changeset 1215 in ntrip for trunk/BNC/bnchelp.html


Ignore:
Timestamp:
Nov 19, 2008, 9:53:24 AM (15 years ago)
Author:
weber
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnchelp.html

    r1206 r1215  
    360360<pre>
    361361begEpoch
    362 begObs
    363 Observation
    364 begObs
    365 Observation
    366 begObs
    367 Observation
     362t_obsInternal
     363t_obsInternal
    368364...
     365t_obsInternal
    369366endEpoch
    370367begEpoch
     368t_obsInternal
    371369...
    372370</pre>
    373 <p>with the corresponding structures defined as follow:</p>
     371
     372<p>The corresponding structures are defined as follow:</p>
    374373<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...
     378class t_obsInternal {
     379 public:
    379380  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};
    397402</pre>
     403
    398404<p>
    399405The 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.