#include <gprmc.h>
Public Member Functions | |
uint32_t | GetMessageId () const override |
const std::string | GetMessageName () const override |
GprmcParser () | |
novatel_gps_msgs::GprmcPtr | ParseAscii (const NmeaSentence &sentence) override throw (ParseException) |
Converts sentence into a ROS message pointer and returns it. More... | |
bool | WasLastGpsValid () const |
Public Member Functions inherited from novatel_gps_driver::MessageParser< novatel_gps_msgs::GprmcPtr > | |
virtual novatel_gps_msgs::GprmcPtr | ParseAscii (const NovatelSentence &sentence) throw (ParseException) |
Converts sentence into a ROS message pointer and returns it. More... | |
virtual novatel_gps_msgs::GprmcPtr | ParseBinary (const BinaryMessage &bin_msg) throw (ParseException) |
Converts bin_msg into a ROS message pointer and returns it. More... | |
virtual | ~MessageParser () |
Static Public Attributes | |
static constexpr double | KNOTS_TO_MPS = 0.5144444 |
static const std::string | MESSAGE_NAME = "GPRMC" |
Private Attributes | |
bool | was_last_gps_valid_ |
|
overridevirtual |
Implements novatel_gps_driver::MessageParser< novatel_gps_msgs::GprmcPtr >.
|
overridevirtual |
Implements novatel_gps_driver::MessageParser< novatel_gps_msgs::GprmcPtr >.
|
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::GprmcPtr >.
bool novatel_gps_driver::GprmcParser::WasLastGpsValid | ( | ) | const |
|
static |
|
static |
|
private |