Fixposition SDK 0.0.0-heads/main-0-g90a51ff
Collection of c++ libraries and apps for use with Fixposition products
|
Fixposition SDK: GNSS types and utilities. More...
Go to the source code of this file.
Namespaces | |
namespace | fpsdk |
Fixposition SDK. | |
namespace | fpsdk::common |
Fixposition SDK: Common library. | |
namespace | fpsdk::common::gnss |
GNSS types and utilities. | |
Typedefs | |
using | fpsdk::common::gnss::SvNr = uint8_t |
Satellite number (within a GNSS) | |
using | fpsdk::common::gnss::Sat = uint16_t |
Satellite ("sat"), consisting of GNSS and satellite number, suitable for indexing and sorting. | |
using | fpsdk::common::gnss::SatSig = uint32_t |
Satellite plus frequency band and signal ("satsig"), suitable for indexing and sorting. | |
Functions | |
const char * | fpsdk::common::gnss::GnssFixTypeStr (const GnssFixType fix_type) |
Stringify GNSS fix type. | |
const char * | fpsdk::common::gnss::GnssStr (const Gnss gnss) |
Stringify GNSS. | |
const char * | fpsdk::common::gnss::SignalStr (const Signal signal) |
Stringify signal. | |
const char * | fpsdk::common::gnss::BandStr (const Band band) |
Stringify frequency band. | |
Band | fpsdk::common::gnss::SignalToBand (const Signal signal) |
Get frequency band for a signal. | |
static constexpr Sat | fpsdk::common::gnss::GnssSvNrToSat (const Gnss gnss, const SvNr svnr) |
Get "sat" from GNSS and satellite ID. | |
static constexpr Gnss | fpsdk::common::gnss::SatToGnss (const Sat sat) |
Get GNSS from "sat". | |
static constexpr SvNr | fpsdk::common::gnss::SatToSvNr (const Sat sat) |
Get satellite nr from "sat". | |
static constexpr SatSig | fpsdk::common::gnss::GnssSvNrBandSignalToSatSig (const Gnss gnss, const SvNr svnr, const Band band, const Signal signal) |
Get "satsig" from components. | |
static constexpr Gnss | fpsdk::common::gnss::SatSigToGnss (const SatSig satsig) |
Get GNSS from "satsig". | |
static constexpr SvNr | fpsdk::common::gnss::SatSigToSvNr (const SatSig satsig) |
Get satellite nr from "satsig". | |
static constexpr Band | fpsdk::common::gnss::SatSigToBand (const SatSig satsig) |
Get frequency band from "satsig". | |
static constexpr Signal | fpsdk::common::gnss::SatSigToSignal (const SatSig satsig) |
Get signal from "satsig". | |
const char * | fpsdk::common::gnss::SatStr (const Sat sat) |
Stringify satellite. | |
Sat | fpsdk::common::gnss::StrSat (const char *str) |
Satellite from string. | |
Gnss | fpsdk::common::gnss::UbxGnssIdToGnss (const uint8_t gnssId) |
Convert UBX gnssId to GNSS. | |
Sat | fpsdk::common::gnss::UbxGnssIdSvIdToSat (const uint8_t gnssId, const uint8_t svId) |
Convert UBX gnssId and svId to satellite. | |
Signal | fpsdk::common::gnss::UbxGnssIdSigIdToSignal (const uint8_t gnssId, const uint8_t sigId) |
Convert UBX gnssId and sigId to signal. | |
Variables | |
static constexpr SvNr | fpsdk::common::gnss::NUM_GPS = 32 |
Number of GPS satellites (G01-G32, PRN) | |
static constexpr SvNr | fpsdk::common::gnss::NUM_SBAS = 39 |
Number of SBAS satellites (S20-S59, PRN - 100) | |
static constexpr SvNr | fpsdk::common::gnss::NUM_GAL = 36 |
Number of Galileo satellites (E01-E36, PRN) | |
static constexpr SvNr | fpsdk::common::gnss::NUM_BDS = 63 |
Number of BeiDou satellites (C01-C63, PRN) | |
static constexpr SvNr | fpsdk::common::gnss::NUM_QZSS = 10 |
Number of QZSS satellites (J01-J10, PRN - 192) | |
static constexpr SvNr | fpsdk::common::gnss::NUM_GLO = 32 |
Number of GLONASS satellites (R01-R32, slot) | |
static constexpr SvNr | fpsdk::common::gnss::NUM_NAVIC = 14 |
Number of NavIC satellites (I01-I14, PRN) | |
static constexpr SvNr | fpsdk::common::gnss::FIRST_GPS = 1 |
First GPS satellite number. | |
static constexpr SvNr | fpsdk::common::gnss::FIRST_SBAS = 20 |
First SBAS satellite number. | |
static constexpr SvNr | fpsdk::common::gnss::FIRST_GAL = 1 |
First Galileo satellite number. | |
static constexpr SvNr | fpsdk::common::gnss::FIRST_BDS = 1 |
First BeiDou satellite number. | |
static constexpr SvNr | fpsdk::common::gnss::FIRST_QZSS = 1 |
First QZSS satellite number. | |
static constexpr SvNr | fpsdk::common::gnss::FIRST_GLO = 1 |
First GLONASS satellite number. | |
static constexpr SvNr | fpsdk::common::gnss::FIRST_NAVIC = 1 |
First NavIC satellite number. | |
static constexpr SvNr | fpsdk::common::gnss::INAVLID_SVNR = 0 |
Invalid satellite number (in any GNSS) | |
static constexpr Sat | fpsdk::common::gnss::INVALID_SAT = GnssSvNrToSat(Gnss::UNKNOWN, INAVLID_SVNR) |
Invalid "sat". | |
static constexpr SatSig | fpsdk::common::gnss::INVALID_SATSIG |
Invalid "satsig"". | |
Fixposition SDK: GNSS types and utilities.
* ___ ___ * \ \ / / * \ \/ / Copyright (c) Fixposition AG (www.fixposition.com) and contributors * / /\ \ License: see the LICENSE file * /__/ \__\ * * Based on work by flipflip (https://github.com/phkehl) *
Definition in file gnss.hpp.