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

Commit 116c066

Browse files
author
Roman Gezikov
committed
Add GLO almanac
This commit adds definition of Glonass almanac data structure.
1 parent 47cdd42 commit 116c066

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

include/libswiftnav/almanac.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,26 @@ typedef struct {
4242
double acc[3]; /**< velocity of the GEO at time toe [m/s^2] */
4343
} almanac_xyz_t;
4444

45+
46+
/** Structure containing the GLONASS almanac for one satellite. */
47+
48+
typedef struct {
49+
double lambda; /**< Longitude of the first ascending node of the orbit
50+
in PZ-90.02 coordinate system, [semi-circles] */
51+
double t_lambda; /**< Time of the first ascending node passage, [s]*/
52+
double i; /**< Value of inclination at instant of t_lambda,
53+
[semi-circles] */
54+
double t; /**< Value of Draconian period at instant of t_lambda,
55+
[s/orbital period] */
56+
double t_dot; /**< Rate of change of the Draconian period,
57+
[s/(orbital period^2)] */
58+
double epsilon; /**< Eccentricity at instant of t_lambda_n_A,
59+
[dimensionless] */
60+
double omega; /**< Argument of perigee at instant of t_lambda,
61+
[semi-circles] */
62+
} almanac_glo_t;
63+
64+
4565
/** Structure containing the almanac for one satellite. */
4666
typedef struct {
4767
gnss_signal_t sid; /**< Signal ID. */
@@ -53,6 +73,7 @@ typedef struct {
5373
union {
5474
almanac_kepler_t kepler; /**< Parameters specific to GPS. */
5575
almanac_xyz_t xyz; /**< Parameters specific to SBAS. */
76+
almanac_glo_t glo; /**< Parameters specific to GLONASS. */
5677
};
5778
} almanac_t;
5879

0 commit comments

Comments
 (0)