66 #include <rosaic/Gprmc.h> 67 #include <boost/make_shared.hpp> 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.
rosaic::GprmcPtr parseASCII(const NMEASentence &sentence) noexcept(false) override
Parses one RMC message.
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.
Derived class for parsing RMC messages.
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".
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.