Ignore:
Timestamp:
01/09/18 11:43:37 (6 years ago)
Author:
Sanahuja Guillaume
Message:

m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSensorActuator/src/NmeaGps.cpp

    r194 r206  
    176176
    177177  int result;
    178 //Printf("%s\n",frame);
     178Printf("%s\n",frame);
     179Printf("%x %x\n",&parser,parser.buffer);
    179180  result = nmea_parse(&parser, frame, frame_size, &info);
     181  Printf("%x %x\n",&parser,parser.buffer);
    180182  if (result != 1) {
    181183    Warn("unrecognized nmea sentence: %s\n",frame);
    182184    return;
    183185  }
    184 
     186Printf("3\n");
     187Printf("%x %x\n",&parser,parser.buffer);
    185188  result = nmea_parse_GPGGA(frame, frame_size, &pack);
    186 
     189Printf("%x %x\n",&parser,parser.buffer);
    187190  if (result == 1) {
     191    Printf("%x %x\n",&parser,parser.buffer);
    188192    nmea_info2pos(&info, &pos);
    189      
     193     Printf("%x %x\n",&parser,parser.buffer);
    190194   //  Printf("nb:%i fix:%i lat:%f long:%f alt:%f vel:%f angle:%f\n",pack.satinuse,pack.sig,info.lat,info.lon,info.elv,info.speed*1000./3600.,info.direction);
    191195//Printf("lat:%f long:%f\n",pos.lat,pos.lon);
Note: See TracChangeset for help on using the changeset viewer.