#include <psrdop2.h>
Public Member Functions | |
uint32_t | GetMessageId () const override |
const std::string | GetMessageName () const override |
std::string | GetSystemName (uint32_t system_id) |
novatel_gps_msgs::NovatelPsrdop2Ptr | ParseAscii (const NovatelSentence &sentence) override |
Converts sentence into a ROS message pointer and returns it. More... | |
novatel_gps_msgs::NovatelPsrdop2Ptr | ParseBinary (const BinaryMessage &bin_msg) 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::NovatelPsrdop2Ptr > | |
virtual novatel_gps_msgs::NovatelPsrdop2Ptr | 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_BODY_FIELDS = 5 |
static constexpr size_t | ASCII_SYSTEM_FIELDS = 2 |
static constexpr size_t | BINARY_BODY_LENGTH = 20 |
static constexpr size_t | BINARY_SYSTEM_LENGTH = 8 |
static constexpr uint16_t | MESSAGE_ID = 1163 |
static const std::string | MESSAGE_NAME = "PSRDOP2" |
|
overridevirtual |
Implements novatel_gps_driver::MessageParser< novatel_gps_msgs::NovatelPsrdop2Ptr >.
Definition at line 19 of file psrdop2.cpp.
|
overridevirtual |
Implements novatel_gps_driver::MessageParser< novatel_gps_msgs::NovatelPsrdop2Ptr >.
Definition at line 24 of file psrdop2.cpp.
std::string novatel_gps_driver::Psrdop2Parser::GetSystemName | ( | uint32_t | system_id | ) |
Definition at line 118 of file psrdop2.cpp.
|
overridevirtual |
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::NovatelPsrdop2Ptr >.
Definition at line 70 of file psrdop2.cpp.
|
overridevirtual |
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::NovatelPsrdop2Ptr >.
Definition at line 30 of file psrdop2.cpp.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |