Ignore:
Timestamp:
05/31/17 15:53:32 (5 years ago)
Author:
Sanahuja Guillaume
Message:

modifs gps

File:
1 edited

Legend:

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

    r170 r180  
    233233        gpsData->SetVelocity(info.speed * 1000. / 3600. * sin(Euler::ToRadian(info.direction)),
    234234                                  info.speed * 1000. / 3600. * cos(Euler::ToRadian(info.direction)));
    235       }/*
     235      }
     236      if ((NMEAFlags & GSA) != 0) {
     237        gpsData->SetDop(info.PDOP,info.HDOP,info.VDOP);
     238      }
     239      /*
    236240      if ((NMEAFlags & GST) != 0) {
    237241        // Thread::Printf("dev_lon:%f dev_lat:%f
Note: See TracChangeset for help on using the changeset viewer.