path: root/rrlp-ephemeris
diff options
authorSylvain Munaut <tnt@246tNt.com>2009-12-28 15:34:30 +0100
committerHarald Welte <laforge@gnumonks.org>2010-01-07 10:22:24 +0100
commita17324c7fe86497879f3e4891b2ecbcc63d972d6 (patch)
treedbca8368ccb1774d0af3cfbf20a8546c494c216f /rrlp-ephemeris
parentccea43902808717c81facef188872abebae0a290 (diff)
rrlp-ephemeris: Add a note about extracting RefPos from AID_INI
Yeah we could do it if anyone is willing to implement conversion from ecef to WGS84. See http://en.wikipedia.org/wiki/Geodetic_system Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'rrlp-ephemeris')
1 files changed, 4 insertions, 0 deletions
diff --git a/rrlp-ephemeris/ubx-parse.c b/rrlp-ephemeris/ubx-parse.c
index 60bc05763..1dbb279f7 100644
--- a/rrlp-ephemeris/ubx-parse.c
+++ b/rrlp-ephemeris/ubx-parse.c
@@ -85,6 +85,10 @@ _ubx_msg_parse_aid_ini(struct ubx_hdr *hdr, void *pl, int pl_len, void *ud)
//printf("[.] AID_INI\n");
// FIXME: Extract info for "Reference Time"
+ // FIXME: We could extract ref position as well but we need it in
+ // WGS84 geodetic coordinates and it's provided as ecef, so
+ // we need a lot of math ...
static void