Fixposition SDK 0.0.0-heads/main-0-g90a51ff
Collection of c++ libraries and apps for use with Fixposition products
|
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) |
Set data from sentence. | |
Public Member Functions inherited from fpsdk::common::parser::nmea::NmeaPayload | |
virtual | ~NmeaPayload ()=default |
Virtual dtor for polymorphism. | |
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. | |
bool | valid_ = false |
Payload successfully decoded (true), or not (yet) decoded (false) | |
Static Public Attributes | |
static constexpr const char * | FORMATTER = "GSA" |
Formatter. | |
bool fpsdk::common::parser::nmea::NmeaGsaPayload::SetFromMsg | ( | const uint8_t * | msg, |
const std::size_t | msg_size ) |
Set data from sentence.
[in] | msg | Pointer to the NMEA message |
[in] | msg_size | Size of the NMEA message (>= 11) |
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 |