1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-13 21:34:57 +00:00

Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next

This commit is contained in:
Carles Fernandez 2019-03-17 21:45:37 +01:00
commit 2c145c1e44
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
15 changed files with 76 additions and 27 deletions

1
.gitignore vendored
View File

@ -13,3 +13,4 @@ thirdparty/
cmake-build-debug/ cmake-build-debug/
/install /install
.DS_Store .DS_Store
.pydevproject

View File

@ -87,6 +87,7 @@ add_feature_info(ENABLE_FPGA ENABLE_FPGA "Enables building of processing blocks
# Building and packaging options # Building and packaging options
option(ENABLE_GENERIC_ARCH "Builds a portable binary" OFF) option(ENABLE_GENERIC_ARCH "Builds a portable binary" OFF)
add_feature_info(ENABLE_GENERIC_ARCH ENABLE_GENERIC_ARCH "When disabled, flags such as '-march=native' are passed to the compiler.")
option(ENABLE_PACKAGING "Enable software packaging" OFF) option(ENABLE_PACKAGING "Enable software packaging" OFF)
add_feature_info(ENABLE_PACKAGING ENABLE_PACKAGING "Enables software packaging.") add_feature_info(ENABLE_PACKAGING ENABLE_PACKAGING "Enables software packaging.")

View File

@ -64,9 +64,9 @@ check_cxx_source_compiles("
#include <iomanip> #include <iomanip>
int main() int main()
{ std::put_time(nullptr, \"\"); }" { std::put_time(nullptr, \"\"); }"
HAS_PUT_TIME has_put_time
) )
if(${HAS_PUT_TIME}) if(${has_put_time})
target_compile_definitions(pvt_gr_blocks PRIVATE -DHAS_PUT_TIME=1) target_compile_definitions(pvt_gr_blocks PRIVATE -DHAS_PUT_TIME=1)
endif() endif()

View File

@ -193,12 +193,7 @@ const int NSATGLO = 0;
const int NSYSGLO = 0; const int NSYSGLO = 0;
#endif #endif
/*
const int MINPRNGLO = 1; //!< min satellite slot number of GLONASS
const int MAXPRNGLO = 27; //!< max satellite slot number of GLONASS
const int NSATGLO = (MAXPRNGLO - MINPRNGLO + 1); //!< number of GLONASS satellites
const int NSYSGLO = 1;
*/
const int MINPRNGAL = 1; //!< min satellite PRN number of Galileo const int MINPRNGAL = 1; //!< min satellite PRN number of Galileo
const int MAXPRNGAL = 36; //!< max satellite PRN number of Galileo const int MAXPRNGAL = 36; //!< max satellite PRN number of Galileo
const int NSATGAL = (MAXPRNGAL - MINPRNGAL + 1); //!< number of Galileo satellites const int NSATGAL = (MAXPRNGAL - MINPRNGAL + 1); //!< number of Galileo satellites

View File

@ -1,5 +1,5 @@
/*! /*!
* \file rtklib_ionex.h * \file rtklib_ionex.cc
* \brief ionex functions * \brief ionex functions
* \authors <ul> * \authors <ul>
* <li> 2007-2013, T. Takasu * <li> 2007-2013, T. Takasu

View File

@ -79,7 +79,7 @@
#define GNSS_SDR_RTKLIB_RTKCMN_H_ #define GNSS_SDR_RTKLIB_RTKCMN_H_
#include "rtklib.h" #include "rtklib.h"
//#include <glog/logging.h>
/* coordinate rotation matrix ------------------------------------------------*/ /* coordinate rotation matrix ------------------------------------------------*/
#define Rx(t, X) \ #define Rx(t, X) \

View File

@ -1,3 +1,55 @@
/*!
* \file rtklib_rtksvr.cc
* \brief rtk server functions
* \authors <ul>
* <li> 2007-2013, T. Takasu
* <li> 2017, Javier Arribas
* <li> 2017, Carles Fernandez
* </ul>
*
* This is a derived work from RTKLIB http://www.rtklib.com/
* The original source code at https://github.com/tomojitakasu/RTKLIB is
* released under the BSD 2-clause license with an additional exclusive clause
* that does not apply here. This additional clause is reproduced below:
*
* " The software package includes some companion executive binaries or shared
* libraries necessary to execute APs on Windows. These licenses succeed to the
* original ones of these software. "
*
* Neither the executive binaries nor the shared libraries are required by, used
* or included in GNSS-SDR.
*
* -------------------------------------------------------------------------
* Copyright (C) 2007-2013, T. Takasu
* Copyright (C) 2017, Javier Arribas
* Copyright (C) 2017, Carles Fernandez
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*
*----------------------------------------------------------------------------*/
#include "rtklib_rtksvr.h" #include "rtklib_rtksvr.h"
#include "rtklib_preceph.h" #include "rtklib_preceph.h"

View File

@ -29,8 +29,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
#ifndef LIBSWIFTNAV_BITS_H #ifndef GNSS_SDR_BITS_H_
#define LIBSWIFTNAV_BITS_H #define GNSS_SDR_BITS_H_
#include "swift_common.h" #include "swift_common.h"
@ -47,4 +47,4 @@ uint8_t count_bits_u32(uint32_t v, uint8_t bv);
uint8_t count_bits_u16(uint16_t v, uint8_t bv); uint8_t count_bits_u16(uint16_t v, uint8_t bv);
uint8_t count_bits_u8(uint8_t v, uint8_t bv); uint8_t count_bits_u8(uint8_t v, uint8_t bv);
#endif /* LIBSWIFTNAV_BITS_H */ #endif /* GNSS_SDR_BITS_H_ */

View File

@ -30,8 +30,8 @@
*/ */
#ifndef LIBSWIFTNAV_CNAV_MSG_H #ifndef GNSS_SDR_CNAV_MSG_H_
#define LIBSWIFTNAV_CNAV_MSG_H #define GNSS_SDR_CNAV_MSG_H_
#include "fec.h" #include "fec.h"
#include "swift_common.h" #include "swift_common.h"
@ -117,4 +117,4 @@ bool cnav_msg_decoder_add_symbol(cnav_msg_decoder_t *dec,
/** \} */ /** \} */
/** \} */ /** \} */
#endif /* LIBSWIFTNAV_CNAV_MSG_H */ #endif /* GNSS_SDR_CNAV_MSG_H_ */

View File

@ -30,12 +30,12 @@
*/ */
#ifndef LIBSWIFTNAV_EDC_H #ifndef GNSS_SDR_EDC_H_
#define LIBSWIFTNAV_EDC_H #define GNSS_SDR_EDC_H_
#include "swift_common.h" #include "swift_common.h"
uint32_t crc24q(const uint8_t *buf, uint32_t len, uint32_t crc); uint32_t crc24q(const uint8_t *buf, uint32_t len, uint32_t crc);
uint32_t crc24q_bits(uint32_t crc, const uint8_t *buf, uint32_t n_bits, bool invert); uint32_t crc24q_bits(uint32_t crc, const uint8_t *buf, uint32_t n_bits, bool invert);
#endif /* LIBSWIFTNAV_EDC_H */ #endif /* GNSS_SDR_EDC_H_ */

View File

@ -29,8 +29,8 @@
*/ */
#ifndef LIBSWIFTNAV_FEC_H_ #ifndef GNSS_SDR_FEC_H_
#define LIBSWIFTNAV_FEC_H_ #define GNSS_SDR_FEC_H_
/* r=1/2 k=7 convolutional encoder polynomials /* r=1/2 k=7 convolutional encoder polynomials
* The NASA-DSN convention is to use V27POLYA inverted, then V27POLYB * The NASA-DSN convention is to use V27POLYA inverted, then V27POLYB

View File

@ -32,8 +32,8 @@
*/ */
#ifndef LIBSWIFTNAV_COMMON_H #ifndef GNSS_SDR_SWIFT_COMMON_H_
#define LIBSWIFTNAV_COMMON_H #define GNSS_SDR_SWIFT_COMMON_H_
/** \defgroup common Common definitions /** \defgroup common Common definitions
* Common definitions used throughout the library. * Common definitions used throughout the library.
@ -50,4 +50,4 @@
/** \} */ /** \} */
#endif /* LIBSWIFTNAV_COMMON_H */ #endif /* GNSS_SDR_SWIFT_COMMON_H_ */

View File

@ -5,7 +5,7 @@
* \author Damian Miralles, 2018. dmiralles2009@gmail.com * \author Damian Miralles, 2018. dmiralles2009@gmail.com
* ------------------------------------------------------------------------- * -------------------------------------------------------------------------
* *
* Copyright (C) 2010-2015 (see AUTHORS file for a list of contributors) * Copyright (C) 2010-2019 (see AUTHORS file for a list of contributors)
* *
* GNSS-SDR is a software defined Global Navigation * GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver * Satellite Systems receiver

View File

@ -7,7 +7,7 @@
* \author Damian Miralles, 2018. dmiralles2009@gmail.com * \author Damian Miralles, 2018. dmiralles2009@gmail.com
* ------------------------------------------------------------------------- * -------------------------------------------------------------------------
* *
* Copyright (C) 2010-2015 (see AUTHORS file for a list of contributors) * Copyright (C) 2010-2019 (see AUTHORS file for a list of contributors)
* *
* GNSS-SDR is a software defined Global Navigation * GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver * Satellite Systems receiver

View File

@ -6,7 +6,7 @@
* *
* ------------------------------------------------------------------------- * -------------------------------------------------------------------------
* *
* Copyright (C) 2010-2015 (see AUTHORS file for a list of contributors) * Copyright (C) 2010-2019 (see AUTHORS file for a list of contributors)
* *
* GNSS-SDR is a software defined Global Navigation * GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver * Satellite Systems receiver