Mercurial > ublox > ublox8 > experimental
comparison gnss-galileo.h @ 64:8e85919405df
gnss-galileo: add a valid bit to each ephemeris
This is easier than trying to guess whether the ephemeris contains any
meaningful values.
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Wed, 22 Jan 2020 10:10:26 -0500 |
parents | c8c848632471 |
children | 123cac19d9bd |
comparison
equal
deleted
inserted
replaced
63:fbf26ed4884d | 64:8e85919405df |
---|---|
168 }; | 168 }; |
169 | 169 |
170 struct galileo_ephemeris { | 170 struct galileo_ephemeris { |
171 unsigned int sv; | 171 unsigned int sv; |
172 uint16_t iod; | 172 uint16_t iod; |
173 bool valid:1; | |
173 | 174 |
174 /* All in radians, except as noted */ | 175 /* All in radians, except as noted */ |
175 double m0; | 176 double m0; |
176 double delta_n; /* rad/s */ | 177 double delta_n; /* rad/s */ |
177 double e; | 178 double e; |