mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-19 05:33:02 +00:00
Transition from GPSTk to gnsstk: update to 11.2.3
This commit is contained in:
parent
cb3a9df7a0
commit
f2ae0ddb33
@ -330,7 +330,7 @@ else()
|
|||||||
set(GNSSSDR_GTEST_LOCAL_VERSION "1.12.1")
|
set(GNSSSDR_GTEST_LOCAL_VERSION "1.12.1")
|
||||||
endif()
|
endif()
|
||||||
set(GNSSSDR_GNSS_SIM_LOCAL_VERSION "master")
|
set(GNSSSDR_GNSS_SIM_LOCAL_VERSION "master")
|
||||||
set(GNSSSDR_GPSTK_LOCAL_VERSION "8.0.0")
|
set(GNSSSDR_GPSTK_LOCAL_VERSION "11.2.3")
|
||||||
set(GNSSSDR_MATIO_LOCAL_VERSION "1.5.23")
|
set(GNSSSDR_MATIO_LOCAL_VERSION "1.5.23")
|
||||||
set(GNSSSDR_PUGIXML_LOCAL_VERSION "1.12")
|
set(GNSSSDR_PUGIXML_LOCAL_VERSION "1.12")
|
||||||
set(GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION "21.1")
|
set(GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION "21.1")
|
||||||
|
@ -361,7 +361,7 @@ if(ENABLE_UNIT_TESTING_EXTRA OR ENABLE_SYSTEM_TESTING_EXTRA OR ENABLE_FPGA)
|
|||||||
endif()
|
endif()
|
||||||
if(CMAKE_VERSION VERSION_LESS 3.2)
|
if(CMAKE_VERSION VERSION_LESS 3.2)
|
||||||
ExternalProject_Add(gpstk-${GNSSSDR_GPSTK_LOCAL_VERSION}
|
ExternalProject_Add(gpstk-${GNSSSDR_GPSTK_LOCAL_VERSION}
|
||||||
GIT_REPOSITORY https://github.com/SGL-UT/GPSTk
|
GIT_REPOSITORY https://github.com/SGL-UT/gnsstk
|
||||||
GIT_TAG v${GNSSSDR_GPSTK_LOCAL_VERSION}
|
GIT_TAG v${GNSSSDR_GPSTK_LOCAL_VERSION}
|
||||||
SOURCE_DIR ${CMAKE_BINARY_DIR}/thirdparty/gpstk-${GNSSSDR_GPSTK_LOCAL_VERSION}
|
SOURCE_DIR ${CMAKE_BINARY_DIR}/thirdparty/gpstk-${GNSSSDR_GPSTK_LOCAL_VERSION}
|
||||||
BINARY_DIR ${CMAKE_BINARY_DIR}/gpstk-${GNSSSDR_GPSTK_LOCAL_VERSION}
|
BINARY_DIR ${CMAKE_BINARY_DIR}/gpstk-${GNSSSDR_GPSTK_LOCAL_VERSION}
|
||||||
@ -388,7 +388,7 @@ if(ENABLE_UNIT_TESTING_EXTRA OR ENABLE_SYSTEM_TESTING_EXTRA OR ENABLE_FPGA)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
ExternalProject_Add(gpstk-${GNSSSDR_GPSTK_LOCAL_VERSION}
|
ExternalProject_Add(gpstk-${GNSSSDR_GPSTK_LOCAL_VERSION}
|
||||||
GIT_REPOSITORY https://github.com/SGL-UT/GPSTk
|
GIT_REPOSITORY https://github.com/SGL-UT/gnsstk
|
||||||
GIT_TAG v${GNSSSDR_GPSTK_LOCAL_VERSION}
|
GIT_TAG v${GNSSSDR_GPSTK_LOCAL_VERSION}
|
||||||
SOURCE_DIR ${CMAKE_BINARY_DIR}/thirdparty/gpstk-${GNSSSDR_GPSTK_LOCAL_VERSION}
|
SOURCE_DIR ${CMAKE_BINARY_DIR}/thirdparty/gpstk-${GNSSSDR_GPSTK_LOCAL_VERSION}
|
||||||
BINARY_DIR ${CMAKE_BINARY_DIR}/gpstk-${GNSSSDR_GPSTK_LOCAL_VERSION}
|
BINARY_DIR ${CMAKE_BINARY_DIR}/gpstk-${GNSSSDR_GPSTK_LOCAL_VERSION}
|
||||||
|
@ -20,7 +20,7 @@ SPDX-FileCopyrightText: 2020 Carles Fernandez-Prades <carles.fernandez@cttc.es>
|
|||||||
#============================================================
|
#============================================================
|
||||||
# Core Library Target Files
|
# Core Library Target Files
|
||||||
#============================================================
|
#============================================================
|
||||||
@@ -160,7 +169,7 @@
|
@@ -161,7 +170,7 @@
|
||||||
add_library( gpstk ${STADYN} ${GPSTK_SRC_FILES} ${GPSTK_INC_FILES} )
|
add_library( gpstk ${STADYN} ${GPSTK_SRC_FILES} ${GPSTK_INC_FILES} )
|
||||||
|
|
||||||
# GPSTk library install target
|
# GPSTk library install target
|
||||||
|
@ -28,6 +28,8 @@
|
|||||||
#include <boost/iostreams/filtering_streambuf.hpp>
|
#include <boost/iostreams/filtering_streambuf.hpp>
|
||||||
#include <boost/serialization/map.hpp>
|
#include <boost/serialization/map.hpp>
|
||||||
#include <gflags/gflags.h>
|
#include <gflags/gflags.h>
|
||||||
|
#include <gpstk/GALWeekSecond.hpp>
|
||||||
|
#include <gpstk/GPSWeekSecond.hpp>
|
||||||
#include <gpstk/Rinex3NavData.hpp>
|
#include <gpstk/Rinex3NavData.hpp>
|
||||||
#include <gpstk/Rinex3NavHeader.hpp>
|
#include <gpstk/Rinex3NavHeader.hpp>
|
||||||
#include <gpstk/Rinex3NavStream.hpp>
|
#include <gpstk/Rinex3NavStream.hpp>
|
||||||
@ -176,8 +178,8 @@ int main(int argc, char** argv)
|
|||||||
gps_utc_model.valid = (hdr.valid > 2147483648) ? true : false;
|
gps_utc_model.valid = (hdr.valid > 2147483648) ? true : false;
|
||||||
gps_utc_model.A1 = hdr.mapTimeCorr["GPUT"].A0;
|
gps_utc_model.A1 = hdr.mapTimeCorr["GPUT"].A0;
|
||||||
gps_utc_model.A0 = hdr.mapTimeCorr["GPUT"].A1;
|
gps_utc_model.A0 = hdr.mapTimeCorr["GPUT"].A1;
|
||||||
gps_utc_model.tot = hdr.mapTimeCorr["GPUT"].refSOW;
|
gps_utc_model.tot = static_cast<gpstk::GPSWeekSecond>(hdr.mapTimeCorr["GPUT"].refTime).sow;
|
||||||
gps_utc_model.WN_T = hdr.mapTimeCorr["GPUT"].refWeek;
|
gps_utc_model.WN_T = static_cast<gpstk::GPSWeekSecond>(hdr.mapTimeCorr["GPUT"].refTime).week;
|
||||||
gps_utc_model.DeltaT_LS = hdr.leapSeconds;
|
gps_utc_model.DeltaT_LS = hdr.leapSeconds;
|
||||||
gps_utc_model.WN_LSF = hdr.leapWeek;
|
gps_utc_model.WN_LSF = hdr.leapWeek;
|
||||||
gps_utc_model.DN = hdr.leapDay;
|
gps_utc_model.DN = hdr.leapDay;
|
||||||
@ -199,8 +201,8 @@ int main(int argc, char** argv)
|
|||||||
gal_utc_model.A0 = hdr.mapTimeCorr["GAUT"].A0;
|
gal_utc_model.A0 = hdr.mapTimeCorr["GAUT"].A0;
|
||||||
gal_utc_model.A1 = hdr.mapTimeCorr["GAUT"].A1;
|
gal_utc_model.A1 = hdr.mapTimeCorr["GAUT"].A1;
|
||||||
gal_utc_model.Delta_tLS = hdr.leapSeconds;
|
gal_utc_model.Delta_tLS = hdr.leapSeconds;
|
||||||
gal_utc_model.tot = hdr.mapTimeCorr["GAUT"].refSOW;
|
gal_utc_model.tot = static_cast<gpstk::GALWeekSecond>(hdr.mapTimeCorr["GAUT"].refTime).sow;
|
||||||
gal_utc_model.WNot = hdr.mapTimeCorr["GAUT"].refWeek;
|
gal_utc_model.WNot = static_cast<gpstk::GALWeekSecond>(hdr.mapTimeCorr["GAUT"].refTime).week;
|
||||||
gal_utc_model.WN_LSF = hdr.leapWeek;
|
gal_utc_model.WN_LSF = hdr.leapWeek;
|
||||||
gal_utc_model.DN = hdr.leapDay;
|
gal_utc_model.DN = hdr.leapDay;
|
||||||
gal_utc_model.Delta_tLSF = hdr.leapDelta;
|
gal_utc_model.Delta_tLSF = hdr.leapDelta;
|
||||||
|
Loading…
Reference in New Issue
Block a user