|
QGroundControl
Ground Control Station for MAVLink Drones
|
Bounded multipart/multisignal assembly; scheduling and delivery remain with the caller. More...
#include <NMEASatellites.h>
Classes | |
| struct | Update |
Public Member Functions | |
| void | clear () |
| Update | ingest (const Sentence &input, uint64_t receivedAtUs) |
| SatelliteEpoch | flush () |
| SatelliteEpoch | flushDue (uint64_t nowUs) |
| std::optional< uint64_t > | deadlineUs () const |
Static Public Attributes | |
| static constexpr std::chrono::microseconds | IDLE_TIMEOUT = std::chrono::milliseconds(150) |
| static constexpr std::chrono::microseconds | BATCH_TIMEOUT = std::chrono::seconds(1) |
Bounded multipart/multisignal assembly; scheduling and delivery remain with the caller.
Definition at line 101 of file NMEASatellites.h.
| void NMEA::SatelliteAssembler::clear | ( | ) |
Definition at line 179 of file NMEASatellites.cc.
Referenced by GPSNMEAStream::reset().
| std::optional< uint64_t > NMEA::SatelliteAssembler::deadlineUs | ( | ) | const |
Definition at line 287 of file NMEASatellites.cc.
References BATCH_TIMEOUT, and IDLE_TIMEOUT.
Referenced by flushDue(), and GPSNMEAStream::limitReceiveTimeout().
| SatelliteEpoch NMEA::SatelliteAssembler::flush | ( | ) |
Definition at line 302 of file NMEASatellites.cc.
References GPS, SBAS, and Unknown.
Referenced by flushDue(), and ingest().
| SatelliteEpoch NMEA::SatelliteAssembler::flushDue | ( | uint64_t | nowUs | ) |
Definition at line 296 of file NMEASatellites.cc.
References deadlineUs(), and flush().
Referenced by GPSNMEAStream::flush(), and ingest().
| SatelliteAssembler::Update NMEA::SatelliteAssembler::ingest | ( | const Sentence & | input, |
| uint64_t | receivedAtUs | ||
| ) |
Definition at line 188 of file NMEASatellites.cc.
References NMEA::Sentence::count, NMEA::Sentence::fields, flush(), flushDue(), GPS, NMEA::Field::GSA_DIMENSION, NMEA::Field::GSA_FIRST_SATELLITE, NMEA::Field::GSA_MIN_FIELDS, NMEA::Field::GSA_SATELLITE_SLOTS, NMEA::Field::GSA_SYSTEM_ID, NMEA::gsv(), NMEA::HEX_BASE, NMEA::FixDimension::NO_FIX, NMEA::satelliteConstellation(), NMEA::satelliteId(), SBAS, NMEA::Sentence::talker(), NMEA::FixDimension::THREE_D, NMEA::Sentence::type(), Unknown, NMEA::Field::UTC_TIME, and NMEA::utcMilliseconds().
|
staticconstexpr |
Definition at line 105 of file NMEASatellites.h.
Referenced by deadlineUs().
|
staticconstexpr |
Definition at line 104 of file NMEASatellites.h.
Referenced by deadlineUs().