#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. | |
| bool | WasLastGpsValid () const |
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_ |
| novatel_gps_driver::GprmcParser::GprmcParser | ( | ) | [inline] |
| uint32_t novatel_gps_driver::GprmcParser::GetMessageId | ( | ) | const [override, virtual] |
Implements novatel_gps_driver::MessageParser< novatel_gps_msgs::GprmcPtr >.
| const std::string novatel_gps_driver::GprmcParser::GetMessageName | ( | ) | const [override, virtual] |
Implements novatel_gps_driver::MessageParser< novatel_gps_msgs::GprmcPtr >.
| novatel_gps_msgs::GprmcPtr novatel_gps_driver::GprmcParser::ParseAscii | ( | const NmeaSentence & | sentence | ) | throw (ParseException) [override, virtual] |
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 |
constexpr double novatel_gps_driver::GprmcParser::KNOTS_TO_MPS = 0.5144444 [static] |
const std::string novatel_gps_driver::GprmcParser::MESSAGE_NAME = "GPRMC" [static] |
bool novatel_gps_driver::GprmcParser::was_last_gps_valid_ [private] |