#include "linear_algebra.h"
#include "ephemeris.h"
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
Go to the source code of this file.
Defines | |
#define | NAV_GM 3.986005e14 |
#define | NAV_OMEGAE_DOT 7.2921151467e-005 |
Functions | |
int | calc_sat_pos (double pos[3], double vel[3], double *clock_err, double *clock_rate_err, const ephemeris_t *ephemeris, gps_time_t tot) |
u8 | ephemeris_good (ephemeris_t eph, gps_time_t t) |
double | predict_range (double rx_pos[3], gps_time_t tot, ephemeris_t *ephemeris) |
#define NAV_GM 3.986005e14 |
Definition at line 20 of file ephemeris.c.
#define NAV_OMEGAE_DOT 7.2921151467e-005 |
Definition at line 19 of file ephemeris.c.
int calc_sat_pos | ( | double | pos[3], |
double | vel[3], | ||
double * | clock_err, | ||
double * | clock_rate_err, | ||
const ephemeris_t * | ephemeris, | ||
gps_time_t | tot | ||
) |
Definition at line 22 of file ephemeris.c.
u8 ephemeris_good | ( | ephemeris_t | eph, |
gps_time_t | t | ||
) |
Do we have an ephemeris for this PRN? This should actually be more than just the "valid" flag. When we write an is_usable() function, lets use that instead of just es[prn].valid.
prn | The prn we want to check. |
Definition at line 174 of file ephemeris.c.
double predict_range | ( | double | rx_pos[3], |
gps_time_t | tot, | ||
ephemeris_t * | ephemeris | ||
) |
Definition at line 150 of file ephemeris.c.