GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
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
40double var_uraeph(int ura);
41double var_urassr(int ura);
42void alm2pos(gtime_t time, const alm_t *alm, double *rs, double *dts);
43double eph2clk(gtime_t time, const eph_t *eph);
44void eph2pos(gtime_t time, const eph_t *eph, double *rs, double *dts,
45 double *var);
46void deq(const double *x, double *xdot, const double *acc);
47void glorbit(double t, double *x, const double *acc);
48double geph2clk(gtime_t time, const geph_t *geph);
49
50void geph2pos(gtime_t time, const geph_t *geph, double *rs, double *dts,
51 double *var);
52double seph2clk(gtime_t time, const seph_t *seph);
53void seph2pos(gtime_t time, const seph_t *seph, double *rs, double *dts,
54 double *var);
55eph_t *seleph(gtime_t time, int sat, int iode, const nav_t *nav);
56geph_t *selgeph(gtime_t time, int sat, int iode, const nav_t *nav);
57seph_t *selseph(gtime_t time, int sat, const nav_t *nav);
58int ephclk(gtime_t time, gtime_t teph, int sat, const nav_t *nav,
59 double *dts);
60// satellite position and clock by broadcast ephemeris
61int ephpos(gtime_t time, gtime_t teph, int sat, const nav_t *nav,
62 int iode, double *rs, double *dts, double *var, int *svh);
63int satpos_sbas(gtime_t time, gtime_t teph, int sat, const nav_t *nav,
64 double *rs, double *dts, double *var, int *svh);
65int 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
68int 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);
71void 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
main header file for the rtklib library