Class GpgsvParser

Inheritance Relationships

Base Type

Class Documentation

class GpgsvParser : public BaseParser<GpgsvMsg>

Derived class for parsing GSV messages.

Date

29/09/20

Public Functions

inline GpgsvParser()

Constructor of the class GpgsvParser.

virtual const std::string getMessageID() const override

Returns the ASCII message ID, here “$GPGSV”.

Returns:

The message ID

virtual GpgsvMsg parseASCII(const NMEASentence &sentence, const std::string &frame_id, bool use_gnss_time, Timestamp time_obj) noexcept(false) override

Parses one GSV message.

Parameters:

sentence[in] The GSV message to be parsed

Returns:

A ROS message pointer of ROS type nmea_msgs::GpgsvPtr

Public Static Attributes

static const std::string MESSAGE_ID

Declares the string MESSAGE_ID.