Function ouster::sdk::core::parse_lat_long

Function Documentation

bool ouster::sdk::core::parse_lat_long(const std::string &nmea_sentence, double &latitude, double &longitude)

Parse latitude and longitude from an nmea sentence.

Parameters:
  • nmea_sentence[in] – pointer to the beginning of nmea string

  • latitude[out] – latitude

  • longitude[out] – longitude

Returns:

true if sentence is successfully parsed, otherwise false