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] output parameter for parsed latitude value

  • longitude[out] output parameter for parsed longitude value

Returns:

true if sentence is successfully parsed, otherwise false