Base class for parsing NMEA messages and SBF blocks.
static const std::string MESSAGE_ID
Declares the string MESSAGE_ID.
const std::string getMessageID() const override
Returns the ASCII message ID, here "$GPGGA".
nmea_msgs::Gpgga GpggaMsg
Derived class for parsing GGA messages.
Struct to split an NMEA sentence into its ID and its body, the latter tokenized into a vector of stri...
bool wasLastGPGGAValid() const
Tells us whether the last GGA message was valid or not.
Declares a base class for parsing NMEA messages and SBF blocks.
Declares lower-level string utility functions used when parsing messages.
GpggaMsg parseASCII(const NMEASentence &sentence, const std::string &frame_id, bool use_gnss_time, Timestamp time_obj) noexcept(false) override
Parses one GGA message.
bool was_last_gpgga_valid_
Declares a boolean representing whether or not the last GPGGA message was valid.
GpggaParser()
Constructor of the class GpggaParser.