Class Psrdop2Parser
Defined in File psrdop2.h
Inheritance Relationships
Base Type
public novatel_gps_driver::MessageParser< novatel_gps_msgs::msg::NovatelPsrdop2::SharedPtr >
(Template Class MessageParser)
Class Documentation
-
class Psrdop2Parser : public novatel_gps_driver::MessageParser<novatel_gps_msgs::msg::NovatelPsrdop2::SharedPtr>
Public Functions
-
virtual uint32_t GetMessageId() const override
- Returns:
The binary message ID. Should be 0 for messages that have no binary representation.
-
virtual const std::string GetMessageName() const override
- Returns:
The ASCII message name.
-
virtual MessageType ParseBinary(const BinaryMessage &bin_msg) override
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.
- Parameters:
bin_msg – [in] The message to convert.
- Returns:
A valid ROS message pointer.
-
virtual MessageType ParseAscii(const NovatelSentence &sentence) override
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.
- Parameters:
bin_msg – [in] The message to convert.
- Returns:
A valid ROS message pointer.
-
std::string GetSystemName(uint32_t system_id)
Public Static Attributes
-
static constexpr uint16_t MESSAGE_ID = 1163
-
static constexpr size_t ASCII_BODY_FIELDS = 5
-
static constexpr size_t ASCII_SYSTEM_FIELDS = 2
-
static constexpr size_t BINARY_SYSTEM_LENGTH = 8
-
static constexpr size_t BINARY_BODY_LENGTH = 20
-
static const std::string MESSAGE_NAME
-
virtual uint32_t GetMessageId() const override