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

#include <corrimudata.h>

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

Public Member Functions

uint32_t GetMessageId () const override
 
const std::string GetMessageName () const override
 
novatel_gps_msgs::NovatelCorrectedImuDataPtr ParseAscii (const NovatelSentence &sentence) override throw (ParseException)
 Converts sentence into a ROS message pointer and returns it. More...
 
novatel_gps_msgs::NovatelCorrectedImuDataPtr 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::NovatelCorrectedImuDataPtr >
virtual novatel_gps_msgs::NovatelCorrectedImuDataPtr 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_FIELDS = 8
 
static constexpr size_t BINARY_LENGTH = 60
 
static constexpr uint16_t MESSAGE_ID = 812
 
static const std::string MESSAGE_NAME = "CORRIMUDATA"
 

Detailed Description

Definition at line 38 of file corrimudata.h.

Member Function Documentation

uint32_t novatel_gps_driver::CorrImuDataParser::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::NovatelCorrectedImuDataPtr >.

Definition at line 36 of file corrimudata.cpp.

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

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

Definition at line 41 of file corrimudata.cpp.

novatel_gps_msgs::NovatelCorrectedImuDataPtr novatel_gps_driver::CorrImuDataParser::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::NovatelCorrectedImuDataPtr >.

Definition at line 73 of file corrimudata.cpp.

novatel_gps_msgs::NovatelCorrectedImuDataPtr novatel_gps_driver::CorrImuDataParser::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::NovatelCorrectedImuDataPtr >.

Definition at line 47 of file corrimudata.cpp.

Member Data Documentation

constexpr size_t novatel_gps_driver::CorrImuDataParser::ASCII_FIELDS = 8
static

Definition at line 51 of file corrimudata.h.

constexpr size_t novatel_gps_driver::CorrImuDataParser::BINARY_LENGTH = 60
static

Definition at line 50 of file corrimudata.h.

constexpr uint16_t novatel_gps_driver::CorrImuDataParser::MESSAGE_ID = 812
static

Definition at line 49 of file corrimudata.h.

const std::string novatel_gps_driver::CorrImuDataParser::MESSAGE_NAME = "CORRIMUDATA"
static

Definition at line 52 of file corrimudata.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