Class GnssTransmitter¶
Defined in File gnss_device.h
Inheritance Relationships¶
Base Type¶
public lupnt::Transmitter(Class Transmitter)
Class Documentation¶
-
class GnssTransmitter : public lupnt::Transmitter¶
GNSS navigation-signal transmitter device: holds per-frequency transmit power, chip rate, and antenna gain pattern for a specific GNSS satellite (constellation + PRN).
Attached to a
GnssConstellationagent (or constructed standalone, as inGnssConstellation::SetupTransmitters) to provide theGetTransmitPower/GetAntennas/GetFreqListdata consumed by the GNSS link-budget and pseudorange/carrier-phase measurement models inmeasurements/to compute received signal power and antenna gain corrections.Public Functions
-
GnssTransmitter(GnssConst gnss_const, int prn)¶
Construct directly from a GNSS constellation type and PRN, dispatching to the matching
Init*(InitGps/InitGlonass/InitGalileo/InitBeidou/InitQzss) to load transmit power(s) and antenna pattern(s) for that satellite.
-
GnssTransmitter(Config &config)¶
Construct from a YAML config node specifying
gnss_constandprn, then dispatch to the matchingInit*as in the(GnssConst, int)constructor.
-
inline std::map<GnssFreq, Real> GetTransmitPower()¶
Get the per-frequency transmit power [dB-W] for this satellite.
-
inline std::map<GnssFreq, Real> GetChipRate()¶
Get the per-frequency code chip rate [Hz] for this satellite (currently unpopulated by any
Init*; reserved for future use).
Protected Functions
-
void InitGps()¶
Initialize
freq_list_,P_tx_, andantennas_for a GPS satellite by looking upprn_in the bundledgps_table.csv(block type -> frequencies, transmit power, and antenna pattern name). Aborts (LUPNT_CHECK) ifprn_is not found in the table.
-
void InitGlonass()¶
GLONASS initialization; not yet implemented (always aborts via
LUPNT_CHECK).
-
void InitGalileo()¶
Initialize
freq_list_,antennas_, andP_tx_for a Galileo satellite (frequencies E1/E5a/E5b/E6, fixed transmit power, and per-frequency antenna patterns named"Galileo_<freq>.txt").
-
void InitBeidou()¶
BeiDou initialization; not yet implemented (always aborts via
LUPNT_CHECK).
-
void InitQzss()¶
Initialize
freq_list_,antennas_, andP_tx_for a QZSS satellite based onprn_(PRNs 1-4 broadcast L1/L2/L5, others L1/L5), with per-frequency antenna patterns named"QZSS_<id>_<freq>.txt".
-
GnssTransmitter(GnssConst gnss_const, int prn)¶