mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-16 04:05:46 +00:00
Arrange headers
This commit is contained in:
parent
0fba8e7c20
commit
981d0579d6
@ -47,7 +47,8 @@
|
|||||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*
|
||||||
|
*----------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef GNSS_SDR_RTKLIB_H_
|
#ifndef GNSS_SDR_RTKLIB_H_
|
||||||
#define GNSS_SDR_RTKLIB_H_
|
#define GNSS_SDR_RTKLIB_H_
|
||||||
|
@ -47,19 +47,20 @@
|
|||||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*
|
||||||
|
*----------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "rtklib_conversions.h"
|
#include "rtklib_conversions.h"
|
||||||
|
|
||||||
|
|
||||||
obsd_t insert_obs_to_rtklib(obsd_t rtklib_obs, Gnss_Synchro gnss_synchro, int week, int band)
|
obsd_t insert_obs_to_rtklib(obsd_t rtklib_obs, Gnss_Synchro gnss_synchro, int week, int band)
|
||||||
{
|
{
|
||||||
rtklib_obs.D[band]=gnss_synchro.Carrier_Doppler_hz;
|
rtklib_obs.D[band] = gnss_synchro.Carrier_Doppler_hz;
|
||||||
rtklib_obs.P[band]=gnss_synchro.Pseudorange_m;
|
rtklib_obs.P[band] = gnss_synchro.Pseudorange_m;
|
||||||
rtklib_obs.L[band]=gnss_synchro.Carrier_phase_rads;//todo: check units
|
rtklib_obs.L[band] = gnss_synchro.Carrier_phase_rads;//todo: check units
|
||||||
//rtklib_obs.SNR=gnss_synchro.CN0_dB_hz;
|
//rtklib_obs.SNR=gnss_synchro.CN0_dB_hz;
|
||||||
rtklib_obs.sat=gnss_synchro.PRN;
|
rtklib_obs.sat = gnss_synchro.PRN;
|
||||||
rtklib_obs.time=gpst2time(adjgpsweek(week),gnss_synchro.RX_time);
|
rtklib_obs.time = gpst2time(adjgpsweek(week), gnss_synchro.RX_time);
|
||||||
//printf("OBS RX TIME [%i]: %s,%f\n\r",rtklib_obs.sat,time_str(rtklib_obs.time,3),rtklib_obs.time.sec);
|
//printf("OBS RX TIME [%i]: %s,%f\n\r",rtklib_obs.sat,time_str(rtklib_obs.time,3),rtklib_obs.time.sec);
|
||||||
return rtklib_obs;
|
return rtklib_obs;
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,9 @@
|
|||||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.*/
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*
|
||||||
|
*----------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef GNSS_SDR_RTKLIB_CONVERSIONS_H_
|
#ifndef GNSS_SDR_RTKLIB_CONVERSIONS_H_
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
*/
|
*----------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "rtklib_ephemeris.h"
|
#include "rtklib_ephemeris.h"
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
*-----------------------------------------------------------------------------*/
|
*----------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef GNSS_SDR_RTKLIB_EPHEMERIS_H_
|
#ifndef GNSS_SDR_RTKLIB_EPHEMERIS_H_
|
||||||
|
@ -47,15 +47,15 @@
|
|||||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* references:
|
* References:
|
||||||
* [1] S.Schear, W.Gurtner and J.Feltens, IONEX: The IONosphere Map EXchange
|
* [1] S.Schear, W.Gurtner and J.Feltens, IONEX: The IONosphere Map EXchange
|
||||||
* Format Version 1, February 25, 1998
|
* Format Version 1, February 25, 1998
|
||||||
* [2] S.Schaer, R.Markus, B.Gerhard and A.S.Timon, Daily Global Ionosphere
|
* [2] S.Schaer, R.Markus, B.Gerhard and A.S.Timon, Daily Global Ionosphere
|
||||||
* Maps based on GPS Carrier Phase Data Routinely producted by CODE
|
* Maps based on GPS Carrier Phase Data Routinely producted by CODE
|
||||||
* Analysis Center, Proceeding of the IGS Analysis Center Workshop, 1996
|
* Analysis Center, Proceeding of the IGS Analysis Center Workshop, 1996
|
||||||
*
|
*
|
||||||
*-----------------------------------------------------------------------------*/
|
*----------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "rtklib_ionex.h"
|
#include "rtklib_ionex.h"
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
* Maps based on GPS Carrier Phase Data Routinely producted by CODE
|
* Maps based on GPS Carrier Phase Data Routinely producted by CODE
|
||||||
* Analysis Center, Proceeding of the IGS Analysis Center Workshop, 1996
|
* Analysis Center, Proceeding of the IGS Analysis Center Workshop, 1996
|
||||||
*
|
*
|
||||||
*-----------------------------------------------------------------------------*/
|
*----------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef GNSS_SDR_RTKLIB_IONEX_H_
|
#ifndef GNSS_SDR_RTKLIB_IONEX_H_
|
||||||
#define GNSS_SDR_RTKLIB_IONEX_H_
|
#define GNSS_SDR_RTKLIB_IONEX_H_
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
*-----------------------------------------------------------------------------*/
|
*----------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "rtklib_pntpos.h"
|
#include "rtklib_pntpos.h"
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
*-----------------------------------------------------------------------------*/
|
*----------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef GNSS_SDR_RTKLIB_PNTPOS_H_
|
#ifndef GNSS_SDR_RTKLIB_PNTPOS_H_
|
||||||
#define GNSS_SDR_RTKLIB_PNTPOS_H_
|
#define GNSS_SDR_RTKLIB_PNTPOS_H_
|
||||||
@ -60,7 +60,6 @@
|
|||||||
|
|
||||||
/* constants -----------------------------------------------------------------*/
|
/* constants -----------------------------------------------------------------*/
|
||||||
const int NX = 4 + 3; //!< # of estimated parameters
|
const int NX = 4 + 3; //!< # of estimated parameters
|
||||||
|
|
||||||
const int MAXITR = 10; //!< max number of iteration for point pos
|
const int MAXITR = 10; //!< max number of iteration for point pos
|
||||||
const double ERR_ION = 5.0; //!< ionospheric delay std (m)
|
const double ERR_ION = 5.0; //!< ionospheric delay std (m)
|
||||||
const double ERR_TROP = 3.0; //!< tropspheric delay std (m)
|
const double ERR_TROP = 3.0; //!< tropspheric delay std (m)
|
||||||
|
@ -58,7 +58,8 @@
|
|||||||
* [4] D.A.Vallado, Fundamentals of Astrodynamics and Applications 2nd ed,
|
* [4] D.A.Vallado, Fundamentals of Astrodynamics and Applications 2nd ed,
|
||||||
* Space Technology Library, 2004
|
* Space Technology Library, 2004
|
||||||
*
|
*
|
||||||
*-----------------------------------------------------------------------------*/
|
*----------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "rtklib_preceph.h"
|
#include "rtklib_preceph.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
* [4] D.A.Vallado, Fundamentals of Astrodynamics and Applications 2nd ed,
|
* [4] D.A.Vallado, Fundamentals of Astrodynamics and Applications 2nd ed,
|
||||||
* Space Technology Library, 2004
|
* Space Technology Library, 2004
|
||||||
*
|
*
|
||||||
*-----------------------------------------------------------------------------*/
|
*----------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef GNSS_SDR_RTKLIB_PRECEPH_H_
|
#ifndef GNSS_SDR_RTKLIB_PRECEPH_H_
|
||||||
#define GNSS_SDR_RTKLIB_PRECEPH_H_
|
#define GNSS_SDR_RTKLIB_PRECEPH_H_
|
||||||
|
@ -49,16 +49,7 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* options : -DLAPACK use LAPACK/BLAS
|
* References :
|
||||||
* -DMKL use Intel MKL
|
|
||||||
* -DTRACE enable debug trace
|
|
||||||
* -DWIN32 use WIN32 API
|
|
||||||
* -DNOCALLOC no use calloc for zero matrix
|
|
||||||
* -DIERS_MODEL use GMF instead of NMF
|
|
||||||
* -DDLL built for shared library
|
|
||||||
* -DCPUTIME_IN_GPST cputime operated in gpst
|
|
||||||
*
|
|
||||||
* references :
|
|
||||||
* [1] IS-GPS-200D, Navstar GPS Space Segment/Navigation User Interfaces,
|
* [1] IS-GPS-200D, Navstar GPS Space Segment/Navigation User Interfaces,
|
||||||
* 7 March, 2006
|
* 7 March, 2006
|
||||||
* [2] RTCA/DO-229C, Minimum operational performanc standards for global
|
* [2] RTCA/DO-229C, Minimum operational performanc standards for global
|
||||||
@ -82,7 +73,7 @@
|
|||||||
* [10] GLONASS/GPS/Galileo/Compass/SBAS NV08C receiver series BINR interface
|
* [10] GLONASS/GPS/Galileo/Compass/SBAS NV08C receiver series BINR interface
|
||||||
* protocol specification ver.1.3, August, 2012
|
* protocol specification ver.1.3, August, 2012
|
||||||
*
|
*
|
||||||
*-----------------------------------------------------------------------------*/
|
*----------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef GNSS_SDR_RTKLIB_RTKCMN_H_
|
#ifndef GNSS_SDR_RTKLIB_RTKCMN_H_
|
||||||
#define GNSS_SDR_RTKLIB_RTKCMN_H_
|
#define GNSS_SDR_RTKLIB_RTKCMN_H_
|
||||||
|
@ -49,8 +49,6 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* option : -DRRCENA enable rrc correction
|
|
||||||
*
|
|
||||||
* References :
|
* References :
|
||||||
* [1] RTCA/DO-229C, Minimum operational performanc standards for global
|
* [1] RTCA/DO-229C, Minimum operational performanc standards for global
|
||||||
* positioning system/wide area augmentation system airborne equipment,
|
* positioning system/wide area augmentation system airborne equipment,
|
||||||
@ -59,7 +57,8 @@
|
|||||||
* Interface Specification for QZSS, Japan Aerospace Exploration Agency,
|
* Interface Specification for QZSS, Japan Aerospace Exploration Agency,
|
||||||
* July 31, 2009
|
* July 31, 2009
|
||||||
*
|
*
|
||||||
*-----------------------------------------------------------------------------*/
|
*----------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "rtklib_sbas.h"
|
#include "rtklib_sbas.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -49,8 +49,6 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* option : -DRRCENA enable rrc correction
|
|
||||||
*
|
|
||||||
* References :
|
* References :
|
||||||
* [1] RTCA/DO-229C, Minimum operational performanc standards for global
|
* [1] RTCA/DO-229C, Minimum operational performanc standards for global
|
||||||
* positioning system/wide area augmentation system airborne equipment,
|
* positioning system/wide area augmentation system airborne equipment,
|
||||||
@ -59,7 +57,7 @@
|
|||||||
* Interface Specification for QZSS, Japan Aerospace Exploration Agency,
|
* Interface Specification for QZSS, Japan Aerospace Exploration Agency,
|
||||||
* July 31, 2009
|
* July 31, 2009
|
||||||
*
|
*
|
||||||
*-----------------------------------------------------------------------------*/
|
*----------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef GNSS_SDR_RTKLIB_SBAS_H_
|
#ifndef GNSS_SDR_RTKLIB_SBAS_H_
|
||||||
#define GNSS_SDR_RTKLIB_SBAS_H_
|
#define GNSS_SDR_RTKLIB_SBAS_H_
|
||||||
|
Loading…
Reference in New Issue
Block a user