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

#include <dual_antenna_heading.h>

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

Public Member Functions

uint32_t GetMessageId () const override
 
const std::string GetMessageName () const override
 
novatel_gps_msgs::NovatelDualAntennaHeadingPtr ParseAscii (const NovatelSentence &sentence) override throw (ParseException)
 Converts sentence into a ROS message pointer and returns it. More...
 
novatel_gps_msgs::NovatelDualAntennaHeadingPtr ParseBinary (const BinaryMessage &bin_msg) override throw (ParseException)
 Converts bin_msg into a ROS message pointer and returns it. More...
 
- Public Member Functions inherited from novatel_gps_driver::MessageParser< novatel_gps_msgs::NovatelDualAntennaHeadingPtr >
virtual novatel_gps_msgs::NovatelDualAntennaHeadingPtr ParseAscii (const NmeaSentence &sentence) throw (ParseException)
 Converts sentence into a ROS message pointer and returns it. More...
 
virtual ~MessageParser ()
 

Static Public Attributes

static constexpr size_t ASCII_LENGTH = 17
 
static constexpr size_t BINARY_LENGTH = 44
 
static constexpr uint16_t MESSAGE_ID = 2042
 
static const std::string MESSAGE_NAME = "DUALANTENNAHEADING"
 

Private Member Functions

uint8_t SolutionSourceToMsgEnum (uint8_t source_mask) throw (ParseException)
 

Detailed Description

Definition at line 40 of file dual_antenna_heading.h.

Member Function Documentation

uint32_t novatel_gps_driver::DualAntennaHeadingParser::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::NovatelDualAntennaHeadingPtr >.

Definition at line 40 of file dual_antenna_heading.cpp.

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

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

Definition at line 45 of file dual_antenna_heading.cpp.

novatel_gps_msgs::NovatelDualAntennaHeadingPtr novatel_gps_driver::DualAntennaHeadingParser::ParseAscii ( const NovatelSentence sentence)
throw (ParseException
)
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::NovatelDualAntennaHeadingPtr >.

Definition at line 112 of file dual_antenna_heading.cpp.

novatel_gps_msgs::NovatelDualAntennaHeadingPtr novatel_gps_driver::DualAntennaHeadingParser::ParseBinary ( const BinaryMessage bin_msg)
throw (ParseException
)
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::NovatelDualAntennaHeadingPtr >.

Definition at line 50 of file dual_antenna_heading.cpp.

uint8_t novatel_gps_driver::DualAntennaHeadingParser::SolutionSourceToMsgEnum ( uint8_t  source_mask)
throw (ParseException
)
private

Definition at line 171 of file dual_antenna_heading.cpp.

Member Data Documentation

constexpr size_t novatel_gps_driver::DualAntennaHeadingParser::ASCII_LENGTH = 17
static

Definition at line 53 of file dual_antenna_heading.h.

constexpr size_t novatel_gps_driver::DualAntennaHeadingParser::BINARY_LENGTH = 44
static

Definition at line 52 of file dual_antenna_heading.h.

constexpr uint16_t novatel_gps_driver::DualAntennaHeadingParser::MESSAGE_ID = 2042
static

Definition at line 51 of file dual_antenna_heading.h.

const std::string novatel_gps_driver::DualAntennaHeadingParser::MESSAGE_NAME = "DUALANTENNAHEADING"
static

Definition at line 54 of file dual_antenna_heading.h.


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


novatel_gps_driver
Author(s):
autogenerated on Wed Jul 3 2019 19:36:46