1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 12:10:34 +00:00

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

This commit is contained in:
Javier Arribas 2021-01-01 14:22:43 +01:00
commit 738ab13535
1020 changed files with 3781 additions and 6374 deletions

View File

@ -106,8 +106,10 @@ Checks: '-*,
readability-identifier-naming, readability-identifier-naming,
readability-inconsistent-declaration-parameter-name, readability-inconsistent-declaration-parameter-name,
readability-isolate-declaration, readability-isolate-declaration,
readability-make-member-function-const,
readability-named-parameter, readability-named-parameter,
readability-non-const-parameter, readability-non-const-parameter,
readability-qualified-auto,
readability-redundant-control-flow, readability-redundant-control-flow,
readability-redundant-member-init, readability-redundant-member-init,
readability-string-compare, readability-string-compare,
@ -117,12 +119,28 @@ HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false AnalyzeTemporaryDtors: false
FormatStyle: 'file' FormatStyle: 'file'
CheckOptions: CheckOptions:
- key: bugprone-argument-comment.CommentBoolLiterals
value: '0'
- key: bugprone-argument-comment.CommentCharacterLiterals
value: '0'
- key: bugprone-argument-comment.CommentFloatLiterals
value: '0'
- key: bugprone-argument-comment.CommentIntegerLiterals
value: '0'
- key: bugprone-argument-comment.CommentNullPtrs
value: '0'
- key: bugprone-argument-comment.CommentStringLiterals
value: '0'
- key: bugprone-argument-comment.CommentUserDefinedLiterals
value: '0'
- key: bugprone-argument-comment.IgnoreSingleArgument
value: '0'
- key: bugprone-argument-comment.StrictMode - key: bugprone-argument-comment.StrictMode
value: '0' value: '0'
- key: bugprone-assert-side-effect.AssertMacros - key: bugprone-assert-side-effect.AssertMacros
value: assert value: assert
- key: bugprone-assert-side-effect.CheckFunctionCalls - key: bugprone-assert-side-effect.CheckFunctionCalls
value: '0' value: 'false'
- key: bugprone-dangling-handle.HandleClasses - key: bugprone-dangling-handle.HandleClasses
value: 'std::basic_string_view;std::experimental::basic_string_view' value: 'std::basic_string_view;std::experimental::basic_string_view'
- key: bugprone-exception-escape.FunctionsThatShouldNotThrow - key: bugprone-exception-escape.FunctionsThatShouldNotThrow
@ -130,21 +148,21 @@ CheckOptions:
- key: bugprone-exception-escape.IgnoredExceptions - key: bugprone-exception-escape.IgnoredExceptions
value: '' value: ''
- key: bugprone-misplaced-widening-cast.CheckImplicitCasts - key: bugprone-misplaced-widening-cast.CheckImplicitCasts
value: '0' value: 'false'
- key: bugprone-sizeof-expression.WarnOnSizeOfCompareToConstant - key: bugprone-sizeof-expression.WarnOnSizeOfCompareToConstant
value: '1' value: 'true'
- key: bugprone-sizeof-expression.WarnOnSizeOfConstant - key: bugprone-sizeof-expression.WarnOnSizeOfConstant
value: '1' value: 'true'
- key: bugprone-sizeof-expression.WarnOnSizeOfIntegerExpression - key: bugprone-sizeof-expression.WarnOnSizeOfIntegerExpression
value: '0' value: 'false'
- key: bugprone-sizeof-expression.WarnOnSizeOfThis - key: bugprone-sizeof-expression.WarnOnSizeOfThis
value: '1' value: 'true'
- key: bugprone-string-constructor.LargeLengthThreshold - key: bugprone-string-constructor.LargeLengthThreshold
value: '8388608' value: '8388608'
- key: bugprone-string-constructor.WarnOnLargeLength - key: bugprone-string-constructor.WarnOnLargeLength
value: '1' value: 'true'
- key: bugprone-suspicious-enum-usage.StrictMode - key: bugprone-suspicious-enum-usage.StrictMode
value: '0' value: 'false'
- key: bugprone-suspicious-missing-comma.MaxConcatenatedTokens - key: bugprone-suspicious-missing-comma.MaxConcatenatedTokens
value: '5' value: '5'
- key: bugprone-suspicious-missing-comma.RatioThreshold - key: bugprone-suspicious-missing-comma.RatioThreshold
@ -154,21 +172,31 @@ CheckOptions:
- key: bugprone-suspicious-string-compare.StringCompareLikeFunctions - key: bugprone-suspicious-string-compare.StringCompareLikeFunctions
value: '' value: ''
- key: bugprone-suspicious-string-compare.WarnOnImplicitComparison - key: bugprone-suspicious-string-compare.WarnOnImplicitComparison
value: '1' value: 'true'
- key: bugprone-suspicious-string-compare.WarnOnLogicalNotComparison - key: bugprone-suspicious-string-compare.WarnOnLogicalNotComparison
value: '0' value: 'false'
- key: bugprone-too-small-loop-variable.MagnitudeBitsUpperLimit
value: '16'
- key: bugprone-unused-return-value.CheckedFunctions - key: bugprone-unused-return-value.CheckedFunctions
value: '::std::async;::std::launder;::std::remove;::std::remove_if;::std::unique;::std::unique_ptr::release;::std::basic_string::empty;::std::vector::empty' value: '::std::async;::std::launder;::std::remove;::std::remove_if;::std::unique;::std::unique_ptr::release;::std::basic_string::empty;::std::vector::empty'
- key: cert-dcl16-c.NewSuffixes - key: cert-dcl16-c.NewSuffixes
value: 'L;LL;LU;LLU' value: 'L;LL;LU;LLU'
- key: cert-msc51-cpp.DisallowedSeedTypes - key: cert-msc51-cpp.DisallowedSeedTypes
value: 'time_t,std::time_t' value: 'time_t,std::time_t'
- key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
value: '0'
- key: cert-str34-c.DiagnoseSignedUnsignedCharComparisons
value: '0'
- key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors
value: '1'
- key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic - key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: '1' value: '1'
- key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctions - key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctions
value: '0' value: 'false'
- key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctionsWhenCopyIsDeleted
value: 'false'
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor - key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
value: '0' value: 'false'
- key: google-build-namespaces.HeaderFileExtensions - key: google-build-namespaces.HeaderFileExtensions
value: ',h' value: ',h'
- key: google-global-names-in-headers.HeaderFileExtensions - key: google-global-names-in-headers.HeaderFileExtensions
@ -187,8 +215,20 @@ CheckOptions:
value: _t value: _t
- key: google-runtime-int.UnsignedTypePrefix - key: google-runtime-int.UnsignedTypePrefix
value: uint value: uint
- key: llvm-else-after-return.WarnOnConditionVariables
value: '0'
- key: llvm-else-after-return.WarnOnUnfixable
value: '0'
- key: llvm-qualified-auto.AddConstToQualified
value: '0'
- key: misc-throw-by-value-catch-by-reference.CheckThrowTemporaries - key: misc-throw-by-value-catch-by-reference.CheckThrowTemporaries
value: '1' value: 'true'
- key: misc-throw-by-value-catch-by-reference.MaxSize
value: '-1'
- key: misc-throw-by-value-catch-by-reference.WarnOnLargeObjects
value: 'false'
- key: modernize-avoid-bind.PermissiveParameterList
value: 'false'
- key: modernize-loop-convert.MaxCopySize - key: modernize-loop-convert.MaxCopySize
value: '16' value: '16'
- key: modernize-loop-convert.MinConfidence - key: modernize-loop-convert.MinConfidence
@ -197,20 +237,26 @@ CheckOptions:
value: CamelCase value: CamelCase
- key: modernize-pass-by-value.IncludeStyle - key: modernize-pass-by-value.IncludeStyle
value: llvm value: llvm
- key: modernize-raw-string-literal.DelimiterStem
value: lit
- key: modernize-raw-string-literal.ReplaceShorterLiterals - key: modernize-raw-string-literal.ReplaceShorterLiterals
value: '0' value: 'false'
- key: modernize-replace-auto-ptr.IncludeStyle - key: modernize-replace-auto-ptr.IncludeStyle
value: llvm value: llvm
- key: modernize-use-auto.MinTypeNameLength - key: modernize-use-auto.MinTypeNameLength
value: '5' value: '5'
- key: modernize-use-auto.RemoveStars - key: modernize-use-auto.RemoveStars
value: '0' value: 'false'
- key: modernize-use-bool-literals.IgnoreMacros
value: 'true'
- key: modernize-use-default-member-init.IgnoreMacros - key: modernize-use-default-member-init.IgnoreMacros
value: '1' value: 'true'
- key: modernize-use-default-member-init.UseAssignment - key: modernize-use-default-member-init.UseAssignment
value: '0' value: 'false'
- key: modernize-use-emplace.ContainersWithPushBack - key: modernize-use-emplace.ContainersWithPushBack
value: '::std::vector;::std::list;::std::deque' value: '::std::vector;::std::list;::std::deque'
- key: modernize-use-emplace.IgnoreImplicitConstructors
value: 'false'
- key: modernize-use-emplace.SmartPointers - key: modernize-use-emplace.SmartPointers
value: '::std::shared_ptr;::std::unique_ptr;::std::auto_ptr;::std::weak_ptr' value: '::std::shared_ptr;::std::unique_ptr;::std::auto_ptr;::std::weak_ptr'
- key: modernize-use-emplace.TupleMakeFunctions - key: modernize-use-emplace.TupleMakeFunctions
@ -218,27 +264,37 @@ CheckOptions:
- key: modernize-use-emplace.TupleTypes - key: modernize-use-emplace.TupleTypes
value: '::std::pair;::std::tuple' value: '::std::pair;::std::tuple'
- key: modernize-use-equals-default.IgnoreMacros - key: modernize-use-equals-default.IgnoreMacros
value: '1' value: 'true'
- key: modernize-use-equals-delete.IgnoreMacros - key: modernize-use-equals-delete.IgnoreMacros
value: '1' value: 'true'
- key: modernize-use-noexcept.ReplacementString - key: modernize-use-noexcept.ReplacementString
value: '' value: ''
- key: modernize-use-noexcept.UseNoexceptFalse - key: modernize-use-noexcept.UseNoexceptFalse
value: '1' value: 'true'
- key: modernize-use-nullptr.NullMacros - key: modernize-use-nullptr.NullMacros
value: 'NULL' value: 'NULL'
- key: modernize-use-override.AllowOverrideAndFinal
value: 'false'
- key: modernize-use-override.FinalSpelling
value: final
- key: modernize-use-override.IgnoreDestructors
value: 'false'
- key: modernize-use-override.OverrideSpelling
value: override
- key: performance-faster-string-find.StringLikeClasses - key: performance-faster-string-find.StringLikeClasses
value: 'std::basic_string' value: 'std::basic_string'
- key: performance-for-range-copy.AllowedTypes - key: performance-for-range-copy.AllowedTypes
value: '' value: ''
- key: performance-for-range-copy.WarnOnAllAutoCopies - key: performance-for-range-copy.WarnOnAllAutoCopies
value: '0' value: 'false'
- key: performance-inefficient-string-concatenation.StrictMode - key: performance-inefficient-string-concatenation.StrictMode
value: '0' value: 'false'
- key: performance-inefficient-vector-operation.EnableProto
value: 'false'
- key: performance-inefficient-vector-operation.VectorLikeClasses - key: performance-inefficient-vector-operation.VectorLikeClasses
value: '::std::vector' value: '::std::vector'
- key: performance-move-const-arg.CheckTriviallyCopyableMove - key: performance-move-const-arg.CheckTriviallyCopyableMove
value: '1' value: 'true'
- key: performance-move-constructor-init.IncludeStyle - key: performance-move-constructor-init.IncludeStyle
value: llvm value: llvm
- key: performance-type-promotion-in-math-fn.IncludeStyle - key: performance-type-promotion-in-math-fn.IncludeStyle
@ -257,6 +313,8 @@ CheckOptions:
value: '' value: ''
- key: readability-identifier-naming.AbstractClassSuffix - key: readability-identifier-naming.AbstractClassSuffix
value: '' value: ''
- key: readability-identifier-naming.AggressiveDependentMemberLookup
value: 'false'
- key: readability-identifier-naming.ClassCase - key: readability-identifier-naming.ClassCase
value: Camel_Snake_Case value: Camel_Snake_Case
- key: readability-identifier-naming.ClassPrefix - key: readability-identifier-naming.ClassPrefix
@ -270,7 +328,9 @@ CheckOptions:
- key: readability-identifier-naming.GlobalConstantSuffix - key: readability-identifier-naming.GlobalConstantSuffix
value: '' value: ''
- key: readability-identifier-naming.IgnoreFailedSplit - key: readability-identifier-naming.IgnoreFailedSplit
value: '0' value: 'false'
- key: readability-identifier-naming.IgnoreMainLikeFunctions
value: 'false'
- key: readability-identifier-naming.StructCase - key: readability-identifier-naming.StructCase
value: aNy_CasE value: aNy_CasE
- key: readability-identifier-naming.StructPrefix - key: readability-identifier-naming.StructPrefix
@ -278,11 +338,15 @@ CheckOptions:
- key: readability-identifier-naming.StructSuffix - key: readability-identifier-naming.StructSuffix
value: '' value: ''
- key: readability-inconsistent-declaration-parameter-name.IgnoreMacros - key: readability-inconsistent-declaration-parameter-name.IgnoreMacros
value: '1' value: 'true'
- key: readability-inconsistent-declaration-parameter-name.Strict - key: readability-inconsistent-declaration-parameter-name.Strict
value: '0' value: 'false'
- key: readability-qualified-auto.AddConstToQualified
value: 'true'
- key: readability-redundant-member-init.IgnoreBaseInCopyConstructors
value: 'false'
- key: readability-uppercase-literal-suffix.IgnoreMacros - key: readability-uppercase-literal-suffix.IgnoreMacros
value: '1' value: 'true'
- key: readability-uppercase-literal-suffix.NewSuffixes - key: readability-uppercase-literal-suffix.NewSuffixes
value: '' value: ''
... ...

View File

@ -1,11 +1,8 @@
# Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2010-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# # SPDX-License-Identifier: BSD-3-Clause
################################################################################ ################################################################################
# Project setup # Project setup
@ -113,7 +110,8 @@ if(ENABLE_FPGA)
endif() endif()
option(ENABLE_BENCHMARKS "Build code snippets benchmarks" OFF) option(ENABLE_BENCHMARKS "Build code snippets benchmarks" OFF)
if(CMAKE_VERSION VERSION_LESS 3.5.1) if(CMAKE_VERSION VERSION_LESS 3.5.1 OR
(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "10.99"))
set(ENABLE_BENCHMARKS OFF) set(ENABLE_BENCHMARKS OFF)
endif() endif()
@ -328,8 +326,8 @@ set(GNSSSDR_ARMADILLO_LOCAL_VERSION "10.1.x")
set(GNSSSDR_GTEST_LOCAL_VERSION "1.10.0") set(GNSSSDR_GTEST_LOCAL_VERSION "1.10.0")
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 "8.0.0")
set(GNSSSDR_MATIO_LOCAL_VERSION "1.5.18") set(GNSSSDR_MATIO_LOCAL_VERSION "1.5.19")
set(GNSSSDR_PUGIXML_LOCAL_VERSION "1.11") set(GNSSSDR_PUGIXML_LOCAL_VERSION "1.11.2")
set(GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION "3.14.0") set(GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION "3.14.0")
set(GNSSSDR_BENCHMARK_LOCAL_VERSION "1.5.2") set(GNSSSDR_BENCHMARK_LOCAL_VERSION "1.5.2")
set(GNSSSDR_MATHJAX_EXTERNAL_VERSION "2.7.7") set(GNSSSDR_MATHJAX_EXTERNAL_VERSION "2.7.7")
@ -2392,7 +2390,7 @@ if((NOT Protobuf_FOUND) OR (NOT Protobuf_PROTOC_EXECUTABLE) OR (${Protobuf_VERSI
UPDATE_COMMAND ${CMAKE_BINARY_DIR}/thirdparty/protobuf/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}/autogen.sh UPDATE_COMMAND ${CMAKE_BINARY_DIR}/thirdparty/protobuf/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}/autogen.sh
CONFIGURE_COMMAND "${CMAKE_BINARY_DIR}/thirdparty/protobuf/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}/configure --prefix=${CMAKE_BINARY_DIR}/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION} --host=$ENV{OECORE_TARGET_ARCH} --with-protoc=${PROTOC_EXECUTABLE}" CONFIGURE_COMMAND "${CMAKE_BINARY_DIR}/thirdparty/protobuf/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}/configure --prefix=${CMAKE_BINARY_DIR}/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION} --host=$ENV{OECORE_TARGET_ARCH} --with-protoc=${PROTOC_EXECUTABLE}"
BUILD_COMMAND ${CMAKE_MAKE_PROGRAM} BUILD_COMMAND ${CMAKE_MAKE_PROGRAM}
INSTALL_COMMAND ${CMAKE_MAKE_PROGRAM} install INSTALL_COMMAND ${CMAKE_MAKE_PROGRAM} DESTDIR= install
BUILD_BYPRODUCTS ${CMAKE_BINARY_DIR}/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}/lib/${CMAKE_FIND_LIBRARY_PREFIXES}protobuf${CMAKE_STATIC_LIBRARY_SUFFIX} BUILD_BYPRODUCTS ${CMAKE_BINARY_DIR}/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}/lib/${CMAKE_FIND_LIBRARY_PREFIXES}protobuf${CMAKE_STATIC_LIBRARY_SUFFIX}
${CMAKE_BINARY_DIR}/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}/bin/protoc ${CMAKE_BINARY_DIR}/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}/bin/protoc
) )
@ -2479,7 +2477,7 @@ if((NOT Protobuf_FOUND) OR (NOT Protobuf_PROTOC_EXECUTABLE) OR (${Protobuf_VERSI
UPDATE_COMMAND ${CMAKE_BINARY_DIR}/thirdparty/protobuf/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}/autogen.sh UPDATE_COMMAND ${CMAKE_BINARY_DIR}/thirdparty/protobuf/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}/autogen.sh
CONFIGURE_COMMAND ${CMAKE_BINARY_DIR}/thirdparty/protobuf/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}/configure --prefix=${CMAKE_BINARY_DIR}/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION} CONFIGURE_COMMAND ${CMAKE_BINARY_DIR}/thirdparty/protobuf/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}/configure --prefix=${CMAKE_BINARY_DIR}/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}
BUILD_COMMAND ${PROTOBUF_MAKE_PROGRAM} BUILD_COMMAND ${PROTOBUF_MAKE_PROGRAM}
INSTALL_COMMAND ${PROTOBUF_MAKE_PROGRAM} install INSTALL_COMMAND ${PROTOBUF_MAKE_PROGRAM} DESTDIR= install
) )
else() else()
if(CMAKE_MAKE_PROGRAM MATCHES "make") if(CMAKE_MAKE_PROGRAM MATCHES "make")
@ -2498,7 +2496,7 @@ if((NOT Protobuf_FOUND) OR (NOT Protobuf_PROTOC_EXECUTABLE) OR (${Protobuf_VERSI
UPDATE_COMMAND ${CMAKE_BINARY_DIR}/thirdparty/protobuf/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}/autogen.sh UPDATE_COMMAND ${CMAKE_BINARY_DIR}/thirdparty/protobuf/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}/autogen.sh
CONFIGURE_COMMAND ${CMAKE_BINARY_DIR}/thirdparty/protobuf/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}/configure --prefix=${CMAKE_BINARY_DIR}/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION} CONFIGURE_COMMAND ${CMAKE_BINARY_DIR}/thirdparty/protobuf/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}/configure --prefix=${CMAKE_BINARY_DIR}/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}
BUILD_COMMAND ${PROTOBUF_MAKE_PROGRAM} ${PROTOBUF_PARALLEL_BUILD} BUILD_COMMAND ${PROTOBUF_MAKE_PROGRAM} ${PROTOBUF_PARALLEL_BUILD}
INSTALL_COMMAND ${PROTOBUF_MAKE_PROGRAM} install INSTALL_COMMAND ${PROTOBUF_MAKE_PROGRAM} DESTDIR= install
BUILD_BYPRODUCTS ${CMAKE_BINARY_DIR}/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}/lib/${CMAKE_FIND_LIBRARY_PREFIXES}protobuf${CMAKE_STATIC_LIBRARY_SUFFIX} BUILD_BYPRODUCTS ${CMAKE_BINARY_DIR}/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}/lib/${CMAKE_FIND_LIBRARY_PREFIXES}protobuf${CMAKE_STATIC_LIBRARY_SUFFIX}
${CMAKE_BINARY_DIR}/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}/bin/protoc ${CMAKE_BINARY_DIR}/protobuf-${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION}/bin/protoc
) )

View File

@ -292,9 +292,9 @@ $ sudo apt-get install libblas-dev liblapack-dev # For Debian/Ubuntu/Linux
$ sudo yum install lapack-devel blas-devel # For Fedora/CentOS/RHEL $ sudo yum install lapack-devel blas-devel # For Fedora/CentOS/RHEL
$ sudo zypper install lapack-devel blas-devel # For OpenSUSE $ sudo zypper install lapack-devel blas-devel # For OpenSUSE
$ sudo pacman -S blas lapack # For Arch Linux $ sudo pacman -S blas lapack # For Arch Linux
$ wget http://sourceforge.net/projects/arma/files/armadillo-10.1.0.tar.xz $ wget http://sourceforge.net/projects/arma/files/armadillo-10.1.2.tar.xz
$ tar xvfz armadillo-10.1.0.tar.xz $ tar xvfz armadillo-10.1.2.tar.xz
$ cd armadillo-10.1.0 $ cd armadillo-10.1.2
$ cmake . $ cmake .
$ make $ make
$ sudo make install $ sudo make install
@ -720,10 +720,12 @@ More details can be found in our tutorial about
## <a name="macosx">macOS</a> ## <a name="macosx">macOS</a>
GNSS-SDR can be built on macOS (or the former Mac OS X), starting from 10.9 GNSS-SDR can be built on macOS (or the former Mac OS X), starting from 10.9
(Mavericks) and including 10.15 (Catalina). If you still have not installed (Mavericks) and including 11 (Big Sur). If you still have not installed
[Xcode](https://developer.apple.com/xcode/ "Xcode"), do it now from the App [Xcode](https://developer.apple.com/xcode/ "Xcode"), do it now from the App
Store (it's free). You will also need the Xcode Command Line Tools. Launch the Store (it's free). You will also need the Xcode Command Line Tools, which do not
Terminal, found in /Applications/Utilities/, and type: come by default in macOS versions older than Big Sur. If you are using an older
version, please launch the Terminal, found in /Applications/Utilities/, and
type:
``` ```
$ xcode-select --install $ xcode-select --install

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
# Avoid using the BLAS and LAPACK implementations that comes with the Accelerate # Avoid using the BLAS and LAPACK implementations that comes with the Accelerate
# framework, which causes a bug when the BeiDou constellation is enabled # framework, which causes a bug when the BeiDou constellation is enabled

View File

@ -1,10 +1,8 @@
# Copyright (C) 2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
if(CMAKE_SIZEOF_VOID_P EQUAL 8) if(CMAKE_SIZEOF_VOID_P EQUAL 8)
set(ARCHITECTURE_STRING "(64 bits)") set(ARCHITECTURE_STRING "(64 bits)")

View File

@ -1,10 +1,8 @@
# Copyright (C) 2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
execute_process(COMMAND uname -v OUTPUT_VARIABLE DARWIN_VERSION) execute_process(COMMAND uname -v OUTPUT_VARIABLE DARWIN_VERSION)
string(REGEX MATCH "[0-9]+" DARWIN_VERSION ${DARWIN_VERSION}) string(REGEX MATCH "[0-9]+" DARWIN_VERSION ${DARWIN_VERSION})
@ -12,7 +10,7 @@ string(REGEX MATCH "[0-9]+" DARWIN_VERSION ${DARWIN_VERSION})
if(${DARWIN_VERSION} MATCHES "20") if(${DARWIN_VERSION} MATCHES "20")
set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LANGUAGE_STANDARD "c++17") set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LANGUAGE_STANDARD "c++17")
set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++") set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++")
set(MACOS_DISTRIBUTION "macOS Big Sur 11.0") set(MACOS_DISTRIBUTION "macOS Big Sur 11")
endif() endif()
if(${DARWIN_VERSION} MATCHES "19") if(${DARWIN_VERSION} MATCHES "19")

View File

@ -1,10 +1,8 @@
# Copyright (C) 2019 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
# Original code from https://github.com/vector-of-bool/CMakeCM and modified # Original code from https://github.com/vector-of-bool/CMakeCM and modified
# by C. Fernandez. The original code is distributed under the OSI-approved # by C. Fernandez. The original code is distributed under the OSI-approved

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
# - Try to find GFlags # - Try to find GFlags
# #

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
if(NOT COMMAND feature_summary) if(NOT COMMAND feature_summary)
include(FeatureSummary) include(FeatureSummary)

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
# - Try to find the Google Glog library # - Try to find the Google Glog library
# #

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
if(GNSSSIMULATOR_ROOT) if(GNSSSIMULATOR_ROOT)
set(GNSSSIMULATOR_ROOT_USER_DEFINED ${GNSSSIMULATOR_ROOT}) set(GNSSSIMULATOR_ROOT_USER_DEFINED ${GNSSSIMULATOR_ROOT})

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
######################################################################## ########################################################################
# Find GNU Radio # Find GNU Radio

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
# - Try to find Googletest source code # - Try to find Googletest source code

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
# Tries to find Gperftools. # Tries to find Gperftools.
# #

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
# - Find gpstk library # - Find gpstk library
# Find the native gpstk includes and library # Find the native gpstk includes and library

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
######################################################################## ########################################################################
# Find GR-DBFCTTC Module # Find GR-DBFCTTC Module

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
######################################################################## ########################################################################
# Find GR-GN3S Module # Find GR-GN3S Module

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
# #
# Provides the following imported target: # Provides the following imported target:

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
# Tries to find gr-osmosdr. # Tries to find gr-osmosdr.
# #

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
# #
# Provides the following imported target: # Provides the following imported target:

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
# #
# Provides the following imported target: # Provides the following imported target:

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
# - Find Log4cpp # - Find Log4cpp
# Find the native LOG4CPP includes and library # Find the native LOG4CPP includes and library

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
# #
# #
# Find MathJax package (version 2). # Find MathJax package (version 2).

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
# FindMATIO # FindMATIO
# #

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
# #
# - Try to find OpenCL # - Try to find OpenCL

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
if(DEFINED __INCLUDED_GNSSSDR_CMAKE_FIND_ORC) if(DEFINED __INCLUDED_GNSSSDR_CMAKE_FIND_ORC)
return() return()

View File

@ -1,13 +1,9 @@
################################################################### # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# Copyright (c) 2006 Frederic Heem, <frederic.heem@telsey.it>
# All rights reserved.
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-FileCopyrightText: 2006 Frederic Heem, <frederic.heem@telsey.it>
# SPDX-License-Identifier: BSD-3-Clause # SPDX-License-Identifier: BSD-3-Clause
#
###################################################################
# - Find pcap # - Find pcap
# Find the PCAP includes and library # Find the PCAP includes and library
# http://www.tcpdump.org/ # http://www.tcpdump.org/

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
# Find the pugixml XML parsing library. # Find the pugixml XML parsing library.
# #

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
# #
# Provides the following imported target: # Provides the following imported target:

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
# #
# Provides the following imported target: # Provides the following imported target:

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
# #
# Provides the following imported target: # Provides the following imported target:

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
# #
# Provides the following imported target: # Provides the following imported target:

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
if(DEFINED __INCLUDED_GNSSSDR_BUILD_TYPES_CMAKE) if(DEFINED __INCLUDED_GNSSSDR_BUILD_TYPES_CMAKE)
return() return()

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
######################################################################## ########################################################################
@ -78,7 +76,14 @@ if(CMAKE_VERSION VERSION_LESS 3.12 OR CMAKE_CROSSCOMPILING)
endif() endif()
endif() endif()
else() else()
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(_previous ${CMAKE_FIND_FRAMEWORK})
set(CMAKE_FIND_FRAMEWORK LAST)
endif()
find_package(Python3 COMPONENTS Interpreter) find_package(Python3 COMPONENTS Interpreter)
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(CMAKE_FIND_FRAMEWORK ${_previous})
endif()
if(Python3_FOUND) if(Python3_FOUND)
set(PYTHON_EXECUTABLE ${Python3_EXECUTABLE}) set(PYTHON_EXECUTABLE ${Python3_EXECUTABLE})
set(PYTHON_VERSION_MAJOR ${Python3_VERSION_MAJOR}) set(PYTHON_VERSION_MAJOR ${Python3_VERSION_MAJOR})

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
############################################################################## ##############################################################################
# check if the compiler defines the architecture as ARM and set the # check if the compiler defines the architecture as ARM and set the

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR aarch64) set(CMAKE_SYSTEM_PROCESSOR aarch64)

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR arm) set(CMAKE_SYSTEM_PROCESSOR arm)

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
######################################################################## ########################################################################
# Toolchain file for building native on a ARM Cortex A8 w/ NEON # Toolchain file for building native on a ARM Cortex A8 w/ NEON

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
######################################################################## ########################################################################
# Toolchain file for building native on a ARM Cortex A72 w/ NEON # Toolchain file for building native on a ARM Cortex A72 w/ NEON

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
######################################################################## ########################################################################
# Toolchain file for building native on a ARM Cortex A72 w/ NEON # Toolchain file for building native on a ARM Cortex A72 w/ NEON

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
######################################################################## ########################################################################
# Toolchain file for building native on a ARM Cortex A8 w/ NEON # Toolchain file for building native on a ARM Cortex A8 w/ NEON

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
######################################################################## ########################################################################
# Toolchain file for building native on a ARM Cortex A8 w/ NEON # Toolchain file for building native on a ARM Cortex A8 w/ NEON

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
######################################################################## ########################################################################
# Toolchain file for building native on a ARM Cortex A8 w/ NEON # Toolchain file for building native on a ARM Cortex A8 w/ NEON

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
########################################################## ##########################################################
# Toolchain file for Open Embedded # Toolchain file for Open Embedded

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
######################################################################## ########################################################################
# Toolchain file for building native on a ARM Cortex A72 w/ NEON # Toolchain file for building native on a ARM Cortex A72 w/ NEON

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
######################################################################## ########################################################################
# Toolchain file for building native on a ARM Cortex A72 w/ NEON # Toolchain file for building native on a ARM Cortex A72 w/ NEON

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
########################################################## ##########################################################
# Toolchain file for Zynq-7000 devices # Toolchain file for Zynq-7000 devices

View File

@ -1,10 +1,8 @@
# Copyright (C) 2011-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2011-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: BSD-3-Clause
if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
message(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"") message(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")

View File

@ -36,7 +36,7 @@ SPDX-FileCopyrightText: 2011-2020 Carles Fernandez-Prades <carles.fernandez@cttc
- Added a common shared pointer definition `gnss_shared_ptr`, which allows to - Added a common shared pointer definition `gnss_shared_ptr`, which allows to
handle the `boost::shared_ptr` to `std::shared_ptr` transition in GNU Radio handle the `boost::shared_ptr` to `std::shared_ptr` transition in GNU Radio
3.9 API more nicely. 3.9 API more nicely.
- Support new FFT blocks' templated API in GNU Radio 3.9. - Support new FFT and firdes blocks' API in GNU Radio 3.9.
### Improvements in Portability: ### Improvements in Portability:
@ -61,6 +61,10 @@ SPDX-FileCopyrightText: 2011-2020 Carles Fernandez-Prades <carles.fernandez@cttc
SIMD instructions on that OS. SIMD instructions on that OS.
- Fixed building with `-DENABLE_CUDA=ON` for blocks implemented with CUDA. - Fixed building with `-DENABLE_CUDA=ON` for blocks implemented with CUDA.
- Fixed linking against the ORC library if it is present in the system. - Fixed linking against the ORC library if it is present in the system.
- Fixed a bug introduced in v0.0.13 that prevented getting Galileo-only PVT
fixes in some environments.
- Fixed duplication of protobuf build tree if it was locally built and then
installed with DESTDIR variable set.
### Improvements in Usability: ### Improvements in Usability:

View File

@ -1,11 +1,8 @@
# Copyright (C) 2012-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# Copyright (C) 2012-2020 Carles Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
#
/*! \mainpage /*! \mainpage

View File

@ -1,11 +1,8 @@
# Copyright (C) 2012-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# Copyright (C) 2012-2020 Carles Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
#
/*! \page reference_docs Reference Documents /*! \page reference_docs Reference Documents

View File

@ -1,11 +1,8 @@
# Copyright (C) 2012-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# Copyright (C) 2012-2020 Carles Fernandez-Prades cfernandez(at)cttc.es
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
#
/*! \page the_signal_model Signal model /*! \page the_signal_model Signal model

View File

@ -1,11 +1,9 @@
# Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2010-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# # SPDX-License-Identifier: BSD-3-Clause
add_subdirectory(algorithms) add_subdirectory(algorithms)
add_subdirectory(core) add_subdirectory(core)

View File

@ -1,11 +1,8 @@
# Copyright (C) 2012-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2010-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# # SPDX-License-Identifier: BSD-3-Clause
add_subdirectory(acquisition) add_subdirectory(acquisition)
add_subdirectory(channel) add_subdirectory(channel)

View File

@ -1,11 +1,8 @@
# Copyright (C) 2012-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2010-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# # SPDX-License-Identifier: BSD-3-Clause
add_subdirectory(adapters) add_subdirectory(adapters)
add_subdirectory(gnuradio_blocks) add_subdirectory(gnuradio_blocks)

View File

@ -1,11 +1,8 @@
# Copyright (C) 2012-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2010-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# # SPDX-License-Identifier: BSD-3-Clause
if(USE_CMAKE_TARGET_SOURCES) if(USE_CMAKE_TARGET_SOURCES)

View File

@ -5,13 +5,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -5,13 +5,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -1,11 +1,9 @@
# Copyright (C) 2012-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2010-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# # SPDX-License-Identifier: BSD-3-Clause
if(USE_CMAKE_TARGET_SOURCES) if(USE_CMAKE_TARGET_SOURCES)
add_library(pvt_gr_blocks STATIC) add_library(pvt_gr_blocks STATIC)

View File

@ -5,13 +5,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
@ -372,7 +369,7 @@ rtklib_pvt_gs::rtklib_pvt_gs(uint32_t nchannels,
if (!fs::exists(p)) if (!fs::exists(p))
{ {
std::string new_folder; std::string new_folder;
for (auto& folder : fs::path(d_xml_base_path)) for (const auto& folder : fs::path(d_xml_base_path))
{ {
new_folder += folder.string(); new_folder += folder.string();
errorlib::error_code ec; errorlib::error_code ec;
@ -1512,7 +1509,7 @@ void rtklib_pvt_gs::clear_ephemeris()
} }
bool rtklib_pvt_gs::send_sys_v_ttff_msg(d_ttff_msgbuf ttff) bool rtklib_pvt_gs::send_sys_v_ttff_msg(d_ttff_msgbuf ttff) const
{ {
if (d_sysv_msqid != -1) if (d_sysv_msqid != -1)
{ {
@ -2175,7 +2172,7 @@ int rtklib_pvt_gs::work(int noutput_items, gr_vector_const_void_star& input_item
} }
std::streamsize ss = std::cout.precision(); // save current precision std::streamsize ss = std::cout.precision(); // save current precision
std::cout.setf(std::ios::fixed, std::ios::floatfield); std::cout.setf(std::ios::fixed, std::ios::floatfield);
auto facet = new boost::posix_time::time_facet("%Y-%b-%d %H:%M:%S.%f %z"); auto* facet = new boost::posix_time::time_facet("%Y-%b-%d %H:%M:%S.%f %z");
std::cout.imbue(std::locale(std::cout.getloc(), facet)); std::cout.imbue(std::locale(std::cout.getloc(), facet));
std::cout std::cout
<< TEXT_BOLD_GREEN << TEXT_BOLD_GREEN

View File

@ -5,13 +5,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
@ -156,7 +153,7 @@ private:
long mtype; // NOLINT(google-runtime-int) required by SysV queue messaging long mtype; // NOLINT(google-runtime-int) required by SysV queue messaging
double ttff; double ttff;
} d_ttff_msgbuf; } d_ttff_msgbuf;
bool send_sys_v_ttff_msg(d_ttff_msgbuf ttff); bool send_sys_v_ttff_msg(d_ttff_msgbuf ttff) const;
bool save_gnss_synchro_map_xml(const std::string& file_name); // debug helper function bool save_gnss_synchro_map_xml(const std::string& file_name); // debug helper function
bool load_gnss_synchro_map_xml(const std::string& file_name); // debug helper function bool load_gnss_synchro_map_xml(const std::string& file_name); // debug helper function

View File

@ -1,11 +1,8 @@
# Copyright (C) 2012-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2010-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# # SPDX-License-Identifier: BSD-3-Clause
protobuf_generate_cpp(PROTO_SRCS PROTO_HDRS ${CMAKE_SOURCE_DIR}/docs/protobuf/monitor_pvt.proto) protobuf_generate_cpp(PROTO_SRCS PROTO_HDRS ${CMAKE_SOURCE_DIR}/docs/protobuf/monitor_pvt.proto)

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
@ -59,7 +56,7 @@ GeoJSON_Printer::GeoJSON_Printer(const std::string& base_path)
if (!fs::exists(p)) if (!fs::exists(p))
{ {
std::string new_folder; std::string new_folder;
for (auto& folder : fs::path(geojson_base_path)) for (const auto& folder : fs::path(geojson_base_path))
{ {
new_folder += folder.string(); new_folder += folder.string();
errorlib::error_code ec; errorlib::error_code ec;

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
@ -61,7 +58,7 @@ Gpx_Printer::Gpx_Printer(const std::string& base_path)
if (!fs::exists(p)) if (!fs::exists(p))
{ {
std::string new_folder; std::string new_folder;
for (auto& folder : fs::path(gpx_base_path)) for (const auto& folder : fs::path(gpx_base_path))
{ {
new_folder += folder.string(); new_folder += folder.string();
errorlib::error_code ec; errorlib::error_code ec;

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -7,13 +7,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
@ -63,7 +60,7 @@ Kml_Printer::Kml_Printer(const std::string& base_path)
if (!fs::exists(p)) if (!fs::exists(p))
{ {
std::string new_folder; std::string new_folder;
for (auto& folder : fs::path(kml_base_path)) for (const auto& folder : fs::path(kml_base_path))
{ {
new_folder += folder.string(); new_folder += folder.string();
errorlib::error_code ec; errorlib::error_code ec;

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -5,13 +5,10 @@
* Álvaro Cebrián Juan, 2019. acebrianjuan(at)gmail.com * Álvaro Cebrián Juan, 2019. acebrianjuan(at)gmail.com
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -10,13 +10,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
@ -67,7 +64,7 @@ Nmea_Printer::Nmea_Printer(const std::string& filename, bool flag_nmea_output_fi
if (!fs::exists(p)) if (!fs::exists(p))
{ {
std::string new_folder; std::string new_folder;
for (auto& folder : fs::path(nmea_base_path)) for (const auto& folder : fs::path(nmea_base_path))
{ {
new_folder += folder.string(); new_folder += folder.string();
errorlib::error_code ec; errorlib::error_code ec;
@ -201,7 +198,7 @@ int Nmea_Printer::init_serial(const std::string& serial_device)
} }
void Nmea_Printer::close_serial() void Nmea_Printer::close_serial() const
{ {
if (nmea_dev_descriptor != -1) if (nmea_dev_descriptor != -1)
{ {

View File

@ -10,13 +10,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
@ -64,7 +61,7 @@ public:
private: private:
int init_serial(const std::string& serial_device); // serial port control int init_serial(const std::string& serial_device); // serial port control
void close_serial(); void close_serial() const;
std::string get_GPGGA() const; // fix data std::string get_GPGGA() const; // fix data
std::string get_GPGSV() const; // satellite data std::string get_GPGSV() const; // satellite data
std::string get_GPGSA() const; // overall satellite reception data std::string get_GPGSA() const; // overall satellite reception data

View File

@ -5,13 +5,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -5,13 +5,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -3,15 +3,13 @@
* \brief Implementation of a RINEX 2.11 / 3.02 printer * \brief Implementation of a RINEX 2.11 / 3.02 printer
* See ftp://igs.org/pub/data/format/rinex302.pdf * See ftp://igs.org/pub/data/format/rinex302.pdf
* \author Carles Fernandez Prades, 2011. cfernandez(at)cttc.es * \author Carles Fernandez Prades, 2011. cfernandez(at)cttc.es
*
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
@ -89,7 +87,7 @@ Rinex_Printer::Rinex_Printer(int32_t conf_version, const std::string& base_path,
if (!fs::exists(p)) if (!fs::exists(p))
{ {
std::string new_folder; std::string new_folder;
for (auto& folder : fs::path(base_rinex_path)) for (const auto& folder : fs::path(base_rinex_path))
{ {
new_folder += folder.string(); new_folder += folder.string();
errorlib::error_code ec; errorlib::error_code ec;

View File

@ -23,15 +23,13 @@
* Note: A collection of the formats currently used by the IGS can be found * Note: A collection of the formats currently used by the IGS can be found
* here: https://kb.igs.org/hc/en-us/articles/201096516-IGS-Formats * here: https://kb.igs.org/hc/en-us/articles/201096516-IGS-Formats
* \author Carles Fernandez Prades, 2011. cfernandez(at)cttc.es * \author Carles Fernandez Prades, 2011. cfernandez(at)cttc.es
*
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -5,13 +5,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
@ -1593,7 +1590,7 @@ std::string Rtcm::print_MT1019(const Gps_Ephemeris& gps_eph)
} }
int32_t Rtcm::read_MT1019(const std::string& message, Gps_Ephemeris& gps_eph) int32_t Rtcm::read_MT1019(const std::string& message, Gps_Ephemeris& gps_eph) const
{ {
// Convert message to binary // Convert message to binary
const std::string message_bin = Rtcm::binary_data_to_bin(message); const std::string message_bin = Rtcm::binary_data_to_bin(message);
@ -1824,7 +1821,7 @@ std::string Rtcm::print_MT1020(const Glonass_Gnav_Ephemeris& glonass_gnav_eph, c
} }
int32_t Rtcm::read_MT1020(const std::string& message, Glonass_Gnav_Ephemeris& glonass_gnav_eph, Glonass_Gnav_Utc_Model& glonass_gnav_utc_model) int32_t Rtcm::read_MT1020(const std::string& message, Glonass_Gnav_Ephemeris& glonass_gnav_eph, Glonass_Gnav_Utc_Model& glonass_gnav_utc_model) const
{ {
// Convert message to binary // Convert message to binary
const std::string message_bin = Rtcm::binary_data_to_bin(message); const std::string message_bin = Rtcm::binary_data_to_bin(message);
@ -2130,7 +2127,7 @@ std::string Rtcm::print_MT1045(const Galileo_Ephemeris& gal_eph)
} }
int32_t Rtcm::read_MT1045(const std::string& message, Galileo_Ephemeris& gal_eph) int32_t Rtcm::read_MT1045(const std::string& message, Galileo_Ephemeris& gal_eph) const
{ {
// Convert message to binary // Convert message to binary
const std::string message_bin = Rtcm::binary_data_to_bin(message); const std::string message_bin = Rtcm::binary_data_to_bin(message);

View File

@ -5,13 +5,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
@ -191,7 +188,7 @@ public:
/*! /*!
* \brief Verifies and reads messages of type 1019 (GPS Ephemeris). Returns 1 if anything goes wrong, 0 otherwise. * \brief Verifies and reads messages of type 1019 (GPS Ephemeris). Returns 1 if anything goes wrong, 0 otherwise.
*/ */
int32_t read_MT1019(const std::string& message, Gps_Ephemeris& gps_eph); int32_t read_MT1019(const std::string& message, Gps_Ephemeris& gps_eph) const;
/*! /*!
* \brief Prints message type 1020 (GLONASS Ephemeris). * \brief Prints message type 1020 (GLONASS Ephemeris).
@ -210,7 +207,7 @@ public:
* \param glonass_gnav_utc_model GLONASS GNAV Clock Information * \param glonass_gnav_utc_model GLONASS GNAV Clock Information
* \return Returns 1 if anything goes wrong, 0 otherwise. * \return Returns 1 if anything goes wrong, 0 otherwise.
*/ */
int32_t read_MT1020(const std::string& message, Glonass_Gnav_Ephemeris& glonass_gnav_eph, Glonass_Gnav_Utc_Model& glonass_gnav_utc_model); int32_t read_MT1020(const std::string& message, Glonass_Gnav_Ephemeris& glonass_gnav_eph, Glonass_Gnav_Utc_Model& glonass_gnav_utc_model) const;
/*! /*!
* \brief Prints message type 1029 (Unicode Text String) * \brief Prints message type 1029 (Unicode Text String)
@ -225,7 +222,7 @@ public:
/*! /*!
* \brief Verifies and reads messages of type 1045 (Galileo Ephemeris). Returns 1 if anything goes wrong, 0 otherwise. * \brief Verifies and reads messages of type 1045 (Galileo Ephemeris). Returns 1 if anything goes wrong, 0 otherwise.
*/ */
int32_t read_MT1045(const std::string& message, Galileo_Ephemeris& gal_eph); int32_t read_MT1045(const std::string& message, Galileo_Ephemeris& gal_eph) const;
/*! /*!
* \brief Prints messages of type MSM1 (Compact GNSS observables) * \brief Prints messages of type MSM1 (Compact GNSS observables)

View File

@ -8,13 +8,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
@ -74,7 +71,7 @@ Rtcm_Printer::Rtcm_Printer(const std::string& filename, bool flag_rtcm_file_dump
if (!fs::exists(p)) if (!fs::exists(p))
{ {
std::string new_folder; std::string new_folder;
for (auto& folder : fs::path(rtcm_base_path)) for (const auto& folder : fs::path(rtcm_base_path))
{ {
new_folder += folder.string(); new_folder += folder.string();
errorlib::error_code ec; errorlib::error_code ec;
@ -1654,7 +1651,7 @@ int Rtcm_Printer::init_serial(const std::string& serial_device)
} }
void Rtcm_Printer::close_serial() void Rtcm_Printer::close_serial() const
{ {
if (rtcm_dev_descriptor != -1) if (rtcm_dev_descriptor != -1)
{ {

View File

@ -8,13 +8,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
@ -182,7 +179,7 @@ private:
bool more_messages); bool more_messages);
int32_t init_serial(const std::string& serial_device); // serial port control int32_t init_serial(const std::string& serial_device); // serial port control
void close_serial(); void close_serial() const;
bool Print_Message(const std::string& message); bool Print_Message(const std::string& message);
std::unique_ptr<Rtcm> rtcm; std::unique_ptr<Rtcm> rtcm;

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -1,11 +1,9 @@
# Copyright (C) 2012-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2010-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# # SPDX-License-Identifier: BSD-3-Clause
add_subdirectory(adapters) add_subdirectory(adapters)
add_subdirectory(gnuradio_blocks) add_subdirectory(gnuradio_blocks)

View File

@ -1,11 +1,8 @@
# Copyright (C) 2012-2020 (see AUTHORS file for a list of contributors) # GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
#
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
#
# This file is part of GNSS-SDR. # This file is part of GNSS-SDR.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2010-2020 C. Fernandez-Prades cfernandez(at)cttc.es
# # SPDX-License-Identifier: BSD-3-Clause
set(ACQ_ADAPTER_SOURCES set(ACQ_ADAPTER_SOURCES

View File

@ -8,13 +8,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -8,13 +8,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
@ -238,7 +235,7 @@ void GalileoE1Pcps8msAmbiguousAcquisition::reset()
} }
float GalileoE1Pcps8msAmbiguousAcquisition::calculate_threshold(float pfa) float GalileoE1Pcps8msAmbiguousAcquisition::calculate_threshold(float pfa) const
{ {
unsigned int frequency_bins = 0; unsigned int frequency_bins = 0;
for (int doppler = static_cast<int>(-doppler_max_); doppler <= static_cast<int>(doppler_max_); doppler += static_cast<int>(doppler_step_)) for (int doppler = static_cast<int>(-doppler_max_); doppler <= static_cast<int>(doppler_max_); doppler += static_cast<int>(doppler_step_))

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
@ -145,7 +142,7 @@ public:
private: private:
float calculate_threshold(float pfa); float calculate_threshold(float pfa) const;
const ConfigurationInterface* configuration_; const ConfigurationInterface* configuration_;
galileo_pcps_8ms_acquisition_cc_sptr acquisition_cc_; galileo_pcps_8ms_acquisition_cc_sptr acquisition_cc_;

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
@ -190,10 +187,10 @@ void GalileoE1PcpsAmbiguousAcquisition::set_local_code()
} }
} }
own::span<gr_complex> code__span(code_.data(), vector_length_); own::span<gr_complex> code_span(code_.data(), vector_length_);
for (unsigned int i = 0; i < sampled_ms_ / 4; i++) for (unsigned int i = 0; i < sampled_ms_ / 4; i++)
{ {
std::copy_n(code.data(), code_length_, code__span.subspan(i * code_length_, code_length_).data()); std::copy_n(code.data(), code_length_, code_span.subspan(i * code_length_, code_length_).data());
} }
acquisition_->set_local_code(code_.data()); acquisition_->set_local_code(code_.data());

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
@ -282,7 +279,7 @@ void GalileoE1PcpsQuickSyncAmbiguousAcquisition::set_state(int state)
} }
float GalileoE1PcpsQuickSyncAmbiguousAcquisition::calculate_threshold(float pfa) float GalileoE1PcpsQuickSyncAmbiguousAcquisition::calculate_threshold(float pfa) const
{ {
unsigned int frequency_bins = 0; unsigned int frequency_bins = 0;
for (int doppler = static_cast<int>(-doppler_max_); doppler <= static_cast<int>(doppler_max_); doppler += static_cast<int>(doppler_step_)) for (int doppler = static_cast<int>(-doppler_max_); doppler <= static_cast<int>(doppler_max_); doppler += static_cast<int>(doppler_step_))

View File

@ -6,13 +6,10 @@
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR. * This file is part of GNSS-SDR.
* *
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
@ -147,7 +144,7 @@ public:
void set_resampler_latency(uint32_t latency_samples __attribute__((unused))) override{}; void set_resampler_latency(uint32_t latency_samples __attribute__((unused))) override{};
private: private:
float calculate_threshold(float pfa); float calculate_threshold(float pfa) const;
const ConfigurationInterface* configuration_; const ConfigurationInterface* configuration_;
pcps_quicksync_acquisition_cc_sptr acquisition_cc_; pcps_quicksync_acquisition_cc_sptr acquisition_cc_;

Some files were not shown because too many files have changed in this diff Show More