Class GpgsaParser

Inheritance Relationships

Base Type

Class Documentation

class GpgsaParser : public BaseParser<GpgsaMsg>

Derived class for parsing GSA messages.

Date

29/09/20

Public Functions

inline GpgsaParser()

Constructor of the class GpgsaParser.

virtual const std::string getMessageID() const override

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

Returns:

The message ID

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

Parses one GSA message.

Parameters:

sentence[in] The GSA message to be parsed

Returns:

A ROS message pointer of ROS type GpgsaMsg

Public Static Attributes

static const std::string MESSAGE_ID

Declares the string MESSAGE_ID.