Classes | Functions
ephemeris.h File Reference
#include "gpstime.h"
#include "common.h"
Include dependency graph for ephemeris.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ephemeris_t

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)

Function Documentation

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.

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.

Parameters:
prnThe prn we want to check.
Returns:
1 if the ephemeris is valid and not too old. 0 otherwise.

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.



swiftnav
Author(s):
autogenerated on Sat Jun 8 2019 18:56:52