#include <bestpos.h>
Public Member Functions | |
uint32_t | GetMessageId () const override |
const std::string | GetMessageName () const override |
novatel_gps_msgs::NovatelPositionPtr | ParseAscii (const NovatelSentence &sentence) noexcept(false) override |
Converts sentence into a ROS message pointer and returns it. More... | |
novatel_gps_msgs::NovatelPositionPtr | ParseBinary (const BinaryMessage &bin_msg) noexcept(false) override |
Converts bin_msg into a ROS message pointer and returns it. More... | |
Public Member Functions inherited from novatel_gps_driver::MessageParser< novatel_gps_msgs::NovatelPositionPtr > | |
virtual novatel_gps_msgs::NovatelPositionPtr | ParseAscii (const NmeaSentence &sentence) noexcept(false) |
Converts sentence into a ROS message pointer and returns it. More... | |
virtual | ~MessageParser ()=default |
Static Public Attributes | |
static constexpr size_t | ASCII_LENGTH = 21 |
static constexpr size_t | BINARY_LENGTH = 72 |
static constexpr uint16_t | MESSAGE_ID = 42 |
static const std::string | MESSAGE_NAME = "BESTPOS" |
|
overridevirtual |
Implements novatel_gps_driver::MessageParser< novatel_gps_msgs::NovatelPositionPtr >.
Definition at line 40 of file bestpos.cpp.
|
overridevirtual |
Implements novatel_gps_driver::MessageParser< novatel_gps_msgs::NovatelPositionPtr >.
Definition at line 45 of file bestpos.cpp.
|
overridevirtualnoexcept |
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 from novatel_gps_driver::MessageParser< novatel_gps_msgs::NovatelPositionPtr >.
Definition at line 110 of file bestpos.cpp.
|
overridevirtualnoexcept |
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 from novatel_gps_driver::MessageParser< novatel_gps_msgs::NovatelPositionPtr >.
Definition at line 50 of file bestpos.cpp.
|
static |
|
static |
|
static |
|
static |