Skip to content
This repository was archived by the owner on Apr 13, 2021. It is now read-only.

Commit 47cdd42

Browse files
author
Roman Gezikov
committed
Add GLO ephemeris
This commit adds definition of Glonass ephemeris data structure.
1 parent 45657c9 commit 47cdd42

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

include/libswiftnav/ephemeris.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,19 @@ typedef struct {
6464
double a_gf1; /**< Drift of the GEO clock w.r.t. SNT [s/s] */
6565
} ephemeris_xyz_t;
6666

67+
/** Structure containing the GLONASS ephemeris for one satellite. */
68+
typedef struct {
69+
double gamma; /**< Relative deviation of predicted carrier frequency
70+
from nominal value, dimensionless */
71+
double tau; /**< Correction to the SV time, seconds*/
72+
double pos[3]; /**< Position of the SV at tb in PZ-90.02 coordinates
73+
system, meters */
74+
double vel[3]; /**< Velocity vector of the SV at tb in PZ-90.02
75+
coordinates system, m/s */
76+
double acc[3]; /**< Acceleration vector of the SV at tb in PZ-90.02
77+
coordinates system, m/s^2 */
78+
} ephemeris_glo_t;
79+
6780
/** Structure containing the ephemeris for one satellite. */
6881
typedef struct {
6982
gnss_signal_t sid; /**< Signal ID. */
@@ -75,6 +88,7 @@ typedef struct {
7588
union {
7689
ephemeris_kepler_t kepler; /**< Parameters specific to GPS. */
7790
ephemeris_xyz_t xyz; /**< Parameters specific to SBAS. */
91+
ephemeris_glo_t glo; /**< Parameters specific to GLONASS. */
7892
};
7993
} ephemeris_t;
8094

0 commit comments

Comments
 (0)