66 #include <boost/make_shared.hpp> 100 Timestamp time_obj) noexcept(
false)
override;
Struct to split an NMEA sentence into its ID and its body, the latter tokenized into a vector of stri...
GprmcParser()
Constructor of the class GprmcParser.
Declares a base class for parsing NMEA messages and SBF blocks.
Derived class for parsing RMC messages.
nmea_msgs::Gprmc GprmcMsg
static constexpr double KNOTS_TO_MPS
static const std::string MESSAGE_ID
Declares the string MESSAGE_ID.
Declares lower-level string utility functions used when parsing messages.
bool wasLastGPRMCValid() const
Tells us whether the last RMC message was valid/usable or not.
const std::string getMessageID() const override
Returns the ASCII message ID, here "$GPRMC".
GprmcMsg parseASCII(const NMEASentence &sentence, const std::string &frame_id, bool use_gnss_time, Timestamp time_obj) noexcept(false) override
Parses one RMC message.
Base class for parsing NMEA messages and SBF blocks.
bool was_last_gprmc_valid_
Declares a boolean representing whether or not the last GPRMC message was valid.