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