Derived class for parsing GSV messages.  
 More...
#include <gpgsv.hpp>
|  | 
| static const std::string | MESSAGE_ID = "$GPGSV" | 
|  | Declares the string MESSAGE_ID.  More... 
 | 
|  | 
Derived class for parsing GSV messages. 
- Date
- 29/09/20 
Definition at line 76 of file gpgsv.hpp.
◆ GpgsvParser()
  
  | 
        
          | GpgsvParser::GpgsvParser | ( |  | ) |  |  | inline | 
 
 
◆ getMessageID()
  
  | 
        
          | const std::string GpgsvParser::getMessageID | ( |  | ) | const |  | override | 
 
Returns the ASCII message ID, here "$GPGSV". 
- Returns
- The message ID 
Definition at line 41 of file gpgsv.cpp.
 
 
◆ parseASCII()
Parses one GSV message. 
- Parameters
- 
  
    | [in] | sentence | The GSV message to be parsed |  
 
- Returns
- A ROS message pointer of ROS type nmea_msgs::GpgsvPtr
Caution: Due to the occurrence of the throw keyword, this method parseASCII should be called within a try / catch framework... Note: This method is called from within the read() method of the RxMessage class by including the checksum part in the argument "sentence" here, though the checksum is never parsed: E.g. for message with 4 Svs it would be sentence.get_body()[20] if anybody ever needs it. 
Reimplemented from BaseParser< GpgsvMsg >.
Definition at line 53 of file gpgsv.cpp.
 
 
◆ MESSAGE_ID
  
  | 
        
          | const std::string GpgsvParser::MESSAGE_ID = "$GPGSV" |  | static | 
 
Declares the string MESSAGE_ID. 
Definition at line 102 of file gpgsv.hpp.
 
 
The documentation for this class was generated from the following files: