Searched refs:sentenceValues (Results 1 – 2 of 2) sorted by relevance
113 void NmeaFixInfo::parseGGALine(const std::vector<std::string>& sentenceValues) { in parseGGALine() argument114 if (sentenceValues.size() == 0 || sentenceValues[0].compare(GPGA_RECORD_TAG) != 0) { in parseGGALine()118 this->latDeg = std::stof(sentenceValues[2].substr(0, 2)) + in parseGGALine()119 (std::stof(sentenceValues[2].substr(2)) / 60.0); in parseGGALine()120 if (sentenceValues[3].compare("N") != 0) { in parseGGALine()125 this->lngDeg = std::stof(sentenceValues[4].substr(0, 3)) + in parseGGALine()126 std::stof(sentenceValues[4].substr(3)) / 60.0; in parseGGALine()127 if (sentenceValues[5].compare("E") != 0) { in parseGGALine()131 this->altitudeMeters = std::stof(sentenceValues[9]); in parseGGALine()133 this->hDop = sentenceValues[8].empty() ? std::numeric_limits<float>::quiet_NaN() in parseGGALine()[all …]
63 void parseGGALine(const std::vector<std::string>& sentenceValues);64 void parseRMCLine(const std::vector<std::string>& sentenceValues);