Changeset 180 in flair-src for trunk/lib/FlairSensorActuator/src
- Timestamp:
- May 31, 2017, 3:53:32 PM (7 years ago)
- Location:
- trunk/lib/FlairSensorActuator/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/src/Mb800.cpp
r170 r180 92 92 } 93 93 } 94 if ((NMEAFlags & GSA) != 0) { 95 char to_send[] = "$PASHS,NME,GSA,A,ON,0.1\r\n"; 96 written = serialport->Write(to_send, sizeof(to_send)); 97 if (written< 0) { 98 Thread::Err("erreur Write (%s)\n", strerror(-written)); 99 } 100 } 94 101 95 102 Sync(); -
trunk/lib/FlairSensorActuator/src/NmeaGps.cpp
r170 r180 233 233 gpsData->SetVelocity(info.speed * 1000. / 3600. * sin(Euler::ToRadian(info.direction)), 234 234 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 /* 236 240 if ((NMEAFlags & GST) != 0) { 237 241 // Thread::Printf("dev_lon:%f dev_lat:%f -
trunk/lib/FlairSensorActuator/src/NmeaGps.h
r170 r180 53 53 VTG = 0x02, /*!< VTG */ 54 54 GST = 0x04, /*!< GST */ 55 GSA = 0x08, /*!< GSA */ 55 56 }; 56 57
Note:
See TracChangeset
for help on using the changeset viewer.