Ignore:
Timestamp:
Aug 4, 1999, 4:10:06 PM (26 years ago)
Author:
ansari
Message:

Gestion TRANGE, MJD0, PERECH....

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Poubelle/archTOI.old/gpsparser.cc

    r346 r350  
     1// gpsparser.cc
     2// Eric Aubourg         CEA/DAPNIA/SPP   juillet 1999
     3
     4
    15#include <string.h>
    26#include <stdio.h>
     
    6367// $104020,3740.712,N,00400.781,W,0,00,01.0,0003,M,-050,M,,
    6468
    65 //#include <fstream.h>
    66 //#include <iomanip.h>
     69#include <fstream.h>
     70#include <iomanip.h>
    6771//ofstream gpsdump("gpsdump");
    6872//ofstream gpsdata("gpsdata");
     
    7276  strncpy(gpsString, blk->gps, 80);
    7377  char* p = gpsString;
    74  // gpsdump << p ; if (p[strlen(p)-1] != '\n') gpsdump << '\n';
     78// gpsdump << p ; if (p[strlen(p)-1] != '\n') gpsdump << '\n';
    7579  char* fence = p+80;
    7680  stringOk = false;
     
    154158  if (*p != 'M') return;
    155159
    156   //if (gpsutc < outc) jr += 86400;
    157   //outc = gpsutc;
    158   //gpsdata << setprecision(10) << gpsutc + jr << " " << gpslat << " " << gpslong << " " << quality << " " << nsat << '\n';
     160//  if (gpsutc < outc) jr += 86400;
     161//  outc = gpsutc;
     162//  gpsdata << setprecision(10) << gpsutc + jr << " " << gpslat << " " << gpslong << " " << quality << " " << nsat << '\n';
    159163
    160164  stringOk = true;
Note: See TracChangeset for help on using the changeset viewer.