mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-19 05:33:02 +00:00
Fix documentation and typos
This commit is contained in:
parent
db9bd588c9
commit
c1f03135aa
@ -63,7 +63,7 @@ double Gnss_Almanac::predicted_doppler(double rx_time_s,
|
|||||||
// Position in EFEF
|
// Position in EFEF
|
||||||
const std::vector<double> pos_rx = {(v + h) * cosp * cosl, (v + h) * cosp * sinl, (v * (1.0 - e2) + h) * sinp};
|
const std::vector<double> pos_rx = {(v + h) * cosp * cosl, (v + h) * cosp * sinl, (v * (1.0 - e2) + h) * sinp};
|
||||||
|
|
||||||
// Velovity in EFEF
|
// Velocity in EFEF
|
||||||
const double t = cosp * vu - sinp * vn;
|
const double t = cosp * vu - sinp * vn;
|
||||||
const std::vector<double> vel_rx = {cosl * t - sinl * ve, sinl * t + cosl * ve, sinp * vu + cosp * vn};
|
const std::vector<double> vel_rx = {cosl * t - sinl * ve, sinl * t + cosl * ve, sinp * vu + cosp * vn};
|
||||||
|
|
||||||
|
@ -38,7 +38,8 @@ public:
|
|||||||
*/
|
*/
|
||||||
Gnss_Almanac() = default;
|
Gnss_Almanac() = default;
|
||||||
|
|
||||||
/* \brief Computes prediction of the Doppler shift for a given time and receiver's position and velocity.
|
/*!
|
||||||
|
* \brief Computes prediction of the Doppler shift for a given time and receiver's position and velocity.
|
||||||
* \f[
|
* \f[
|
||||||
* f_{d} = - \mathbf{v} \frac{\mathbf{x}^{T}}{\left| \mathbf{x} \right| } \frac{f_{L}}{c}
|
* f_{d} = - \mathbf{v} \frac{\mathbf{x}^{T}}{\left| \mathbf{x} \right| } \frac{f_{L}}{c}
|
||||||
* \f]
|
* \f]
|
||||||
@ -72,6 +73,9 @@ public:
|
|||||||
double vu,
|
double vu,
|
||||||
int band) const;
|
int band) const;
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* \brief Computes satellite Position and Velocity, in ECEF, for a given time (expressed in seconds of week)
|
||||||
|
*/
|
||||||
void satellitePosVelComputation(double transmitTime, std::array<double, 7>& pos_vel_dtr) const;
|
void satellitePosVelComputation(double transmitTime, std::array<double, 7>& pos_vel_dtr) const;
|
||||||
|
|
||||||
uint32_t PRN{}; //!< SV PRN NUMBER
|
uint32_t PRN{}; //!< SV PRN NUMBER
|
||||||
|
@ -59,7 +59,7 @@ double Gnss_Ephemeris::predicted_doppler(double rx_time_s,
|
|||||||
// Position in EFEF
|
// Position in EFEF
|
||||||
const std::vector<double> pos_rx = {(v + h) * cosp * cosl, (v + h) * cosp * sinl, (v * (1.0 - e2) + h) * sinp};
|
const std::vector<double> pos_rx = {(v + h) * cosp * cosl, (v + h) * cosp * sinl, (v * (1.0 - e2) + h) * sinp};
|
||||||
|
|
||||||
// Velovity in EFEF
|
// Velocity in EFEF
|
||||||
const double t = cosp * vu - sinp * vn;
|
const double t = cosp * vu - sinp * vn;
|
||||||
const std::vector<double> vel_rx = {cosl * t - sinl * ve, sinl * t + cosl * ve, sinp * vu + cosp * vn};
|
const std::vector<double> vel_rx = {cosl * t - sinl * ve, sinl * t + cosl * ve, sinp * vu + cosp * vn};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user