#include <message_parser.h>
Public Member Functions | |
virtual uint32_t | GetMessageId () const =0 |
virtual const std::string | GetMessageName () const =0 |
virtual T | ParseAscii (const NovatelSentence &sentence) noexcept(false) |
Converts sentence into a ROS message pointer and returns it. More... | |
virtual T | ParseAscii (const NmeaSentence &sentence) noexcept(false) |
Converts sentence into a ROS message pointer and returns it. More... | |
virtual T | ParseBinary (const BinaryMessage &bin_msg) noexcept(false) |
Converts bin_msg into a ROS message pointer and returns it. More... | |
virtual | ~MessageParser ()=default |
Base class for converting extracted NMEA and NovAtel sentences into ROS messages
Subclasses that parse NMEA messages should implement ParseAscii(const NmeaSentence&); subclasses that parse NovAtel messages should implement both ParseAscii(const NovatelSentence&) and ParseBinary(const BinaryMessage&).
For documentation on exact message structures, see: http://docs.novatel.com/OEM7/Content/Logs/Core_Logs.htm
T | The ROS message Ptr type that the parser should produce. |
Definition at line 59 of file message_parser.h.
|
virtualdefault |
|
pure virtual |
Implemented in novatel_gps_driver::GprmcParser, novatel_gps_driver::GpggaParser, novatel_gps_driver::BestposParser, novatel_gps_driver::BestutmParser, novatel_gps_driver::BestxyzParser, novatel_gps_driver::DualAntennaHeadingParser, novatel_gps_driver::HeaderParser, novatel_gps_driver::Heading2Parser, novatel_gps_driver::BestvelParser, novatel_gps_driver::Psrdop2Parser, novatel_gps_driver::ClockSteeringParser, novatel_gps_driver::CorrImuDataParser, novatel_gps_driver::GpgsaParser, novatel_gps_driver::GpgsvParser, novatel_gps_driver::InscovParser, novatel_gps_driver::InspvaParser, novatel_gps_driver::InspvaxParser, novatel_gps_driver::InsstdevParser, novatel_gps_driver::RangeParser, novatel_gps_driver::TrackstatParser, novatel_gps_driver::TimeParser, and novatel_gps_driver::GphdtParser.
|
pure virtual |
Implemented in novatel_gps_driver::GprmcParser, novatel_gps_driver::GpggaParser, novatel_gps_driver::BestposParser, novatel_gps_driver::BestutmParser, novatel_gps_driver::BestxyzParser, novatel_gps_driver::DualAntennaHeadingParser, novatel_gps_driver::HeaderParser, novatel_gps_driver::Heading2Parser, novatel_gps_driver::BestvelParser, novatel_gps_driver::Psrdop2Parser, novatel_gps_driver::ClockSteeringParser, novatel_gps_driver::CorrImuDataParser, novatel_gps_driver::GpgsaParser, novatel_gps_driver::GpgsvParser, novatel_gps_driver::InscovParser, novatel_gps_driver::InspvaParser, novatel_gps_driver::InspvaxParser, novatel_gps_driver::InsstdevParser, novatel_gps_driver::RangeParser, novatel_gps_driver::TrackstatParser, novatel_gps_driver::TimeParser, and novatel_gps_driver::GphdtParser.
|
inlinevirtualnoexcept |
Converts sentence into a ROS message pointer and returns it.
The returned value must not be NULL. ParseException should be thrown if there are any issues parsing the message.
[in] | bin_msg | The message to convert. |
Reimplemented in novatel_gps_driver::BestposParser, novatel_gps_driver::BestutmParser, novatel_gps_driver::BestxyzParser, novatel_gps_driver::DualAntennaHeadingParser, novatel_gps_driver::HeaderParser, novatel_gps_driver::Heading2Parser, novatel_gps_driver::BestvelParser, novatel_gps_driver::Psrdop2Parser, novatel_gps_driver::CorrImuDataParser, novatel_gps_driver::InscovParser, novatel_gps_driver::InspvaParser, novatel_gps_driver::InspvaxParser, novatel_gps_driver::InsstdevParser, novatel_gps_driver::RangeParser, novatel_gps_driver::TrackstatParser, novatel_gps_driver::TimeParser, and novatel_gps_driver::ClockSteeringParser.
Definition at line 95 of file message_parser.h.
|
inlinevirtualnoexcept |
Converts sentence into a ROS message pointer and returns it.
The returned value must not be NULL. ParseException should be thrown if there are any issues parsing the message.
[in] | bin_msg | The message to convert. |
Reimplemented in novatel_gps_driver::GprmcParser, novatel_gps_driver::GpggaParser, novatel_gps_driver::GpgsaParser, novatel_gps_driver::GpgsvParser, and novatel_gps_driver::GphdtParser.
Definition at line 108 of file message_parser.h.
|
inlinevirtualnoexcept |
Converts bin_msg into a ROS message pointer and returns it.
The returned value must not be NULL. ParseException should be thrown if there are any issues parsing the message.
[in] | bin_msg | The message to convert. |
Reimplemented in novatel_gps_driver::BestposParser, novatel_gps_driver::BestutmParser, novatel_gps_driver::BestxyzParser, novatel_gps_driver::DualAntennaHeadingParser, novatel_gps_driver::HeaderParser, novatel_gps_driver::Heading2Parser, novatel_gps_driver::BestvelParser, novatel_gps_driver::Psrdop2Parser, novatel_gps_driver::CorrImuDataParser, novatel_gps_driver::InscovParser, novatel_gps_driver::InspvaParser, novatel_gps_driver::InspvaxParser, novatel_gps_driver::InsstdevParser, novatel_gps_driver::RangeParser, novatel_gps_driver::TrackstatParser, and novatel_gps_driver::TimeParser.
Definition at line 82 of file message_parser.h.