0.4.1
Loading...
Searching...
No Matches
Functions.hpp File Reference

GNSS helper functions. More...

Go to the source code of this file.

Namespaces

namespace  NAV
 

Functions

template<typename DerivedA, typename DerivedB>
DerivedA::Scalar NAV::calcSagnacCorrection (const Eigen::MatrixBase< DerivedA > &e_posAnt, const Eigen::MatrixBase< DerivedB > &e_satPos)
 Calculates the Earth rotation/Sagnac correction.
 
template<typename DerivedA, typename DerivedB, typename DerivedC, typename DerivedD>
DerivedA::Scalar NAV::calcSagnacRateCorrection (const Eigen::MatrixBase< DerivedA > &e_recvPos, const Eigen::MatrixBase< DerivedB > &e_satPos, const Eigen::MatrixBase< DerivedC > &e_recvVel, const Eigen::MatrixBase< DerivedD > &e_satVel)
 Calculates the Range-rate Earth rotation/Sagnac correction.
 
template<typename Derived>
Derived::Scalar NAV::calcSatAzimuth (const Eigen::MatrixBase< Derived > &n_lineOfSightUnitVector)
 Calculates the azimuth of the satellite from the antenna.
 
template<typename Derived>
Derived::Scalar NAV::calcSatElevation (const Eigen::MatrixBase< Derived > &n_lineOfSightUnitVector)
 Calculates the elevation of the satellite from the antenna.
 
double NAV::doppler2rangeRate (double doppler, Frequency freq, int8_t num)
 Transforms a doppler-shift into a range-rate.
 
template<typename DerivedA, typename DerivedB>
Eigen::Vector3< typename DerivedA::Scalar > NAV::e_calcLineOfSightUnitVector (const Eigen::MatrixBase< DerivedA > &e_posAnt, const Eigen::MatrixBase< DerivedB > &e_posSat)
 Calculates the line-of-sight unit vector from the user antenna to the satellite.
 
double NAV::galSisaIdx2Val (uint8_t idx)
 Converts a GALILEO SISA (Signal in space accuracy) index to it's value.
 
uint8_t NAV::galSisaVal2Idx (double val)
 Converts a GALILEO SISA (Signal in space accuracy) value to it's index.
 
double NAV::gpsUraIdx2Val (uint8_t idx)
 Converts a GPS URA (user range accuracy) index to it's value.
 
uint8_t NAV::gpsUraVal2Idx (double val)
 Converts a GPS URA (user range accuracy) value to it's index.
 
double NAV::rangeRate2doppler (double rangeRate, Frequency freq, int8_t num)
 Transforms a range-rate into a doppler-shift.
 
double NAV::ratioFreqSquared (Frequency f1, Frequency f2, int8_t num1, int8_t num2)
 Calculates the ration of the frequencies squared γ
 

Detailed Description

GNSS helper functions.

Author
T. Topp (topp@.nosp@m.ins..nosp@m.uni-s.nosp@m.tutt.nosp@m.gart..nosp@m.de)
Date
2022-05-19

Definition in file Functions.hpp.