![]() |
Fixposition SDK 0.0.0-heads/main-0-gb93ddb4
Collection of c++ libraries and apps for use with Fixposition products on Linux
|
NMEA-Gx-GSA message payload (NMEA 4.11 only!) More...
#include <nmea.hpp>
Public Member Functions | |
| bool | SetFromMsg (const uint8_t *msg, const std::size_t msg_size) final |
| Set data from message. | |
| Public Member Functions inherited from fpsdk::common::parser::nmea::NmeaPayload | |
| virtual | ~NmeaPayload ()=default |
| Virtual dtor for polymorphism. | |
| bool | SetFromBuf (const std::vector< uint8_t > &buf) |
| Set data from message. | |
Public Attributes | |
| NmeaOpModeGsa | opmode = NmeaOpModeGsa::UNSPECIFIED |
| Operation mode. | |
| NmeaNavModeGsa | navmode = NmeaNavModeGsa::UNSPECIFIED |
| Nav mode. | |
| std::array< NmeaSat, 12 > | sats |
| Satellites, valid ones are 0..(num_sats-1) | |
| int | num_sats = 0 |
| Number of valid sats (the first n of sats[]) | |
| NmeaFloat | pdop |
| PDOP. | |
| NmeaFloat | hdop |
| HDOP. | |
| NmeaFloat | vdop |
| VDOP. | |
| NmeaSystemId | system = NmeaSystemId::UNSPECIFIED |
| System ID. | |
| Public Attributes inherited from fpsdk::common::parser::nmea::NmeaPayload | |
| NmeaTalkerId | talker_ = NmeaTalkerId::UNSPECIFIED |
| Talker. | |
| NmeaFormatter | formatter_ = NmeaFormatter::UNSPECIFIED |
| Formatter. | |
| bool | valid_ = false |
| Payload successfully decoded (true), or not (yet) decoded (false) | |
Static Public Attributes | |
| static constexpr const char * | FORMATTER = "GSA" |
| Formatter. | |
|
finalvirtual |
Set data from message.
| [in] | msg | Pointer to the NMEA message |
| [in] | msg_size | Size of the NMEA message (>= 11) |
Implements fpsdk::common::parser::nmea::NmeaPayload.
| NmeaOpModeGsa fpsdk::common::parser::nmea::NmeaGsaPayload::opmode = NmeaOpModeGsa::UNSPECIFIED |
| NmeaNavModeGsa fpsdk::common::parser::nmea::NmeaGsaPayload::navmode = NmeaNavModeGsa::UNSPECIFIED |
| std::array<NmeaSat, 12> fpsdk::common::parser::nmea::NmeaGsaPayload::sats |
| int fpsdk::common::parser::nmea::NmeaGsaPayload::num_sats = 0 |
| NmeaFloat fpsdk::common::parser::nmea::NmeaGsaPayload::pdop |
| NmeaFloat fpsdk::common::parser::nmea::NmeaGsaPayload::hdop |
| NmeaFloat fpsdk::common::parser::nmea::NmeaGsaPayload::vdop |
| NmeaSystemId fpsdk::common::parser::nmea::NmeaGsaPayload::system = NmeaSystemId::UNSPECIFIED |
|
staticconstexpr |