Public Member Functions | Static Public Attributes | List of all members
novatel_gps_driver::Psrdop2Parser Class Reference

#include <psrdop2.h>

Inheritance diagram for novatel_gps_driver::Psrdop2Parser:
Inheritance graph
[legend]

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"
 

Detailed Description

Definition at line 39 of file psrdop2.h.

Member Function Documentation

uint32_t novatel_gps_driver::Psrdop2Parser::GetMessageId ( ) const
overridevirtual
Returns
The binary message ID. Should be 0 for messages that have no binary representation.

Implements novatel_gps_driver::MessageParser< novatel_gps_msgs::NovatelPsrdop2Ptr >.

Definition at line 19 of file psrdop2.cpp.

const std::string novatel_gps_driver::Psrdop2Parser::GetMessageName ( ) const
overridevirtual
Returns
The ASCII message name.

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.

novatel_gps_msgs::NovatelPsrdop2Ptr novatel_gps_driver::Psrdop2Parser::ParseAscii ( const NovatelSentence sentence)
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.

Parameters
[in]bin_msgThe message to convert.
Returns
A valid ROS message pointer.

Reimplemented from novatel_gps_driver::MessageParser< novatel_gps_msgs::NovatelPsrdop2Ptr >.

Definition at line 70 of file psrdop2.cpp.

novatel_gps_msgs::NovatelPsrdop2Ptr novatel_gps_driver::Psrdop2Parser::ParseBinary ( const BinaryMessage bin_msg)
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.

Parameters
[in]bin_msgThe message to convert.
Returns
A valid ROS message pointer.

Reimplemented from novatel_gps_driver::MessageParser< novatel_gps_msgs::NovatelPsrdop2Ptr >.

Definition at line 30 of file psrdop2.cpp.

Member Data Documentation

constexpr size_t novatel_gps_driver::Psrdop2Parser::ASCII_BODY_FIELDS = 5
static

Definition at line 53 of file psrdop2.h.

constexpr size_t novatel_gps_driver::Psrdop2Parser::ASCII_SYSTEM_FIELDS = 2
static

Definition at line 54 of file psrdop2.h.

constexpr size_t novatel_gps_driver::Psrdop2Parser::BINARY_BODY_LENGTH = 20
static

Definition at line 56 of file psrdop2.h.

constexpr size_t novatel_gps_driver::Psrdop2Parser::BINARY_SYSTEM_LENGTH = 8
static

Definition at line 55 of file psrdop2.h.

constexpr uint16_t novatel_gps_driver::Psrdop2Parser::MESSAGE_ID = 1163
static

Definition at line 52 of file psrdop2.h.

const std::string novatel_gps_driver::Psrdop2Parser::MESSAGE_NAME = "PSRDOP2"
static

Definition at line 57 of file psrdop2.h.


The documentation for this class was generated from the following files:


novatel_gps_driver
Author(s):
autogenerated on Thu Jul 16 2020 03:17:31