31 #ifndef PARSER_BASE_CLASS_HPP 32 #define PARSER_BASE_CLASS_HPP 110 template <
typename SBFStructT>
127 bool use_gnss_time,
Timestamp time_obj) noexcept(
false)
133 #endif // PARSER_BASE_CLASS_HPP Struct to split an NMEA sentence into its ID and its body, the latter tokenized into a vector of stri...
T parseBinary(const SBFStructT &bin_msg) noexcept(false)
Converts bin_msg into a ROS message pointer (e.g. nmea_msgs::GpggaPtr) and returns it...
virtual const std::string getMessageID() const =0
Returns the ASCII message name.
virtual ~BaseParser()=default
Default destructor of the class BaseParser.
Declares a derived class of the class "std::runtime_error" for throwing error messages when parsing N...
BaseParser()=default
Default constructor of the class BaseParser.
Class to declare error message format when parsing, derived from the public class "std::runtime_error...
Declares utility functions used when parsing messages.
virtual T parseASCII(const NMEASentence &sentence, const std::string &frame_id, bool use_gnss_time, Timestamp time_obj) noexcept(false)
Converts an NMEA sentence - both standardized and proprietary ones - into a ROS message pointer (e...
Base class for parsing NMEA messages and SBF blocks.
Defines a struct NMEASentence, into which NMEA sentences - both standardized and proprietary ones - s...