GNSS-SDR  0.0.19
An Open Source GNSS Software Defined Receiver
rtklib_ephemeris.h
Go to the documentation of this file.
1 /*!
2  * \file rtklib_ephemeris.h
3  * \brief satellite ephemeris and clock functions
4  * \authors <ul>
5  * <li> 2007-2013, T. Takasu
6  * <li> 2017, Javier Arribas
7  * <li> 2017, Carles Fernandez
8  * </ul>
9  *
10  * This is a derived work from RTKLIB http://www.rtklib.com/
11  * The original source code at https://github.com/tomojitakasu/RTKLIB is
12  * released under the BSD 2-clause license with an additional exclusive clause
13  * that does not apply here. This additional clause is reproduced below:
14  *
15  * " The software package includes some companion executive binaries or shared
16  * libraries necessary to execute APs on Windows. These licenses succeed to the
17  * original ones of these software. "
18  *
19  * Neither the executive binaries nor the shared libraries are required by, used
20  * or included in GNSS-SDR.
21  *
22  * -----------------------------------------------------------------------------
23  * Copyright (C) 2007-2013, T. Takasu
24  * Copyright (C) 2017, Javier Arribas
25  * Copyright (C) 2017, Carles Fernandez
26  * All rights reserved.
27  *
28  * SPDX-License-Identifier: BSD-2-Clause
29  *
30  * -----------------------------------------------------------------------------
31  */
32 
33 
34 #ifndef GNSS_SDR_RTKLIB_EPHEMERIS_H
35 #define GNSS_SDR_RTKLIB_EPHEMERIS_H
36 
37 #include "rtklib.h"
38 
39 
40 double var_uraeph(int ura);
41 double var_urassr(int ura);
42 void alm2pos(gtime_t time, const alm_t *alm, double *rs, double *dts);
43 double eph2clk(gtime_t time, const eph_t *eph);
44 void eph2pos(gtime_t time, const eph_t *eph, double *rs, double *dts,
45  double *var);
46 void deq(const double *x, double *xdot, const double *acc);
47 void glorbit(double t, double *x, const double *acc);
48 double geph2clk(gtime_t time, const geph_t *geph);
49 
50 void geph2pos(gtime_t time, const geph_t *geph, double *rs, double *dts,
51  double *var);
52 double seph2clk(gtime_t time, const seph_t *seph);
53 void seph2pos(gtime_t time, const seph_t *seph, double *rs, double *dts,
54  double *var);
55 eph_t *seleph(gtime_t time, int sat, int iode, const nav_t *nav);
56 geph_t *selgeph(gtime_t time, int sat, int iode, const nav_t *nav);
57 seph_t *selseph(gtime_t time, int sat, const nav_t *nav);
58 int ephclk(gtime_t time, gtime_t teph, int sat, const nav_t *nav,
59  double *dts);
60 // satellite position and clock by broadcast ephemeris
61 int ephpos(gtime_t time, gtime_t teph, int sat, const nav_t *nav,
62  int iode, double *rs, double *dts, double *var, int *svh);
63 int satpos_sbas(gtime_t time, gtime_t teph, int sat, const nav_t *nav,
64  double *rs, double *dts, double *var, int *svh);
65 int satpos_ssr(gtime_t time, gtime_t teph, int sat, const nav_t *nav,
66  int opt, double *rs, double *dts, double *var, int *svh);
67 
68 int satpos(gtime_t time, gtime_t teph, int sat, int ephopt,
69  const nav_t *nav, double *rs, double *dts, double *var,
70  int *svh);
71 void satposs(gtime_t teph, const obsd_t *obs, int n, const nav_t *nav,
72  int ephopt, double *rs, double *dts, double *var, int *svh);
73 
74 
75 #endif // GNSS_SDR_RTKLIB_EPHEMERIS_H
Definition: rtklib.h:362
Definition: rtklib.h:752
Definition: rtklib.h:462
Definition: rtklib.h:432
main header file for the rtklib library
Definition: rtklib.h:500
Definition: rtklib.h:418