Searched refs:sentenceValues (Results 1 – 2 of 2) sorted by relevance
116 void NmeaFixInfo::parseGGALine(const std::vector<std::string>& sentenceValues) { in parseGGALine() argument117 if (sentenceValues.size() == 0 || sentenceValues[0].compare(GPGA_RECORD_TAG) != 0) { in parseGGALine()121 this->latDeg = std::stof(sentenceValues[2].substr(0, 2)) + in parseGGALine()122 (std::stof(sentenceValues[2].substr(2)) / 60.0); in parseGGALine()123 if (sentenceValues[3].compare("N") != 0) { in parseGGALine()128 this->lngDeg = std::stof(sentenceValues[4].substr(0, 3)) + in parseGGALine()129 std::stof(sentenceValues[4].substr(3)) / 60.0; in parseGGALine()130 if (sentenceValues[5].compare("E") != 0) { in parseGGALine()134 this->altitudeMeters = std::stof(sentenceValues[9]); in parseGGALine()136 this->hDop = sentenceValues[8].empty() ? std::numeric_limits<float>::quiet_NaN() in parseGGALine()[all …]
59 void parseGGALine(const std::vector<std::string>& sentenceValues);60 void parseRMCLine(const std::vector<std::string>& sentenceValues);