66 #include <septentrio_gnss_driver/Gprmc.h> 67 #include <boost/make_shared.hpp> const std::string getMessageID() const override
Returns the ASCII message ID, here "$GPRMC".
GprmcParser()
Constructor of the class GprmcParser.
Declares a base class for parsing NMEA messages and SBF blocks.
std::string g_frame_id
The frame ID used in the header of every published ROS message.
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.
Base class for parsing NMEA messages and SBF blocks.
Declares lower-level string utility functions used when parsing messages.
static constexpr double KNOTS_TO_MPS
bool was_last_gprmc_valid_
Declares a boolean representing whether or not the last GPRMC message was valid.
Derived class for parsing RMC messages.
Struct to split an NMEA sentence into its ID and its body, the latter tokenized into a vector of stri...
septentrio_gnss_driver::GprmcPtr parseASCII(const NMEASentence &sentence) noexcept(false) override
Parses one RMC message.