Commit Graph

366 Commits

Author SHA1 Message Date
Javier Arribas 942e19682b Android cross-compilable gnss-sdr, initial commit, hardcoded paths in CMakefiles 2021-12-22 17:38:59 +01:00
Carles Fernandez f01508923d
CI: make clang-tidy happy. Was: modernize-use-default-member-init 2021-12-17 22:04:34 +01:00
Carles Fernandez 12ed230cd7
Prefer initialization to assignment in constructors 2021-12-17 17:40:17 +01:00
Javier Arribas 6f7668dcbf code cleaning 2021-12-02 10:29:25 +01:00
Javier Arribas c262d74e03 Merge branch 'next' of github.com:gnss-sdr/gnss-sdr into pps_lime 2021-11-29 20:54:56 +01:00
Carles Fernandez cc38d6bc08
Fixes for building against GNU Radio master
Log4cpp has been replaced by spdlog
2021-11-23 13:30:48 +01:00
Javier Arribas 777012a15a Merge branch 'next' of github.com:gnss-sdr/gnss-sdr into pps_lime 2021-11-15 15:20:46 +01:00
Javier Arribas fd57325bd4 Merge with next 2021-11-11 15:42:41 +01:00
Lenhart 2270958343
changed error message to reflect error cause, renamed function
Signed-off-by: Lenhart <malte.lenhart@mailbox.org>
2021-11-01 21:34:39 +01:00
Lenhart 419fb3925c
Changed example code for navigation message listener:
- old print_content() function hid blocking udp call (unintuitive, less modular)
- member variable nav_msg unnecessary (and confusing. Was previously assigned to itself in read_nav_msg fct after being passed in as fct argument)
- udp_listener class now can be used as library to integrate into custom projects

Signed-off-by: Lenhart <malte.lenhart@mailbox.org>
2021-10-31 16:47:33 +01:00
Carles Fernandez a7a140862b
Fix building against latest GNU Radio
Replace boost::any by std::any
2021-10-30 05:43:22 +02:00
Javier Arribas c9d6688f1b Merge with next 2021-10-20 09:47:33 +02:00
Carles Fernandez 26555222d6
Add include (make cpplint's build/include_what_you_use filter happy) 2021-10-08 11:24:34 +02:00
iucgnaw e2013278c0 Added missing header
Signed-off-by: iucgnaw <iucgnaw@msn.com>
2021-10-08 11:15:20 +08:00
Carles Fernandez 4817ec058a
Be more explicit on how to retrieve data 2021-09-08 15:34:32 +02:00
Carles Fernandez 0aeb1c28c7
Fix CI jobs 2021-09-07 16:16:25 +02:00
Carles Fernandez b1cfc427aa
Fix CI jobs 2021-09-07 16:02:34 +02:00
Carles Fernandez 0319dd5ae1
Add decoded HAS mmesages to the navigation message monitor 2021-09-07 14:58:16 +02:00
Carles Fernandez 26f72075fc
Add example application to receive decoded navigation messages 2021-09-07 12:13:54 +02:00
Javier Arribas a694033755 LimeSDR source is now operative 2021-06-22 16:15:03 +02:00
Carles Fernandez 27d0419f79
Remove abandoned Gn3s_Signal_Source and ENABLE_GN3S building option 2021-06-15 14:19:40 +02:00
Jim Melton 4edc5cff51
remove spaces from directory/file names 2021-03-08 13:39:28 -07:00
Carles Fernandez 2e53289653
Add more consistency in parameters name 2021-02-21 10:56:56 +01:00
Carles Fernandez 7971565a0d
Give more natural, consistent names to ephemeris / iono / utc parameters exposed outside the receiver via XML files
Create a base class for GPS, Galileo and BeiDou ephemeris, allowing to remove some duplicated code

Use BOOST_SERIALIZATION_NVP macro, less error prone than boost::serialization::make_nvp

Update .xsd files
2021-02-21 00:01:56 +01:00
Jim Melton 78362e7cba add signal_source_interface
also adds a base implementation that most signal sources should inherit from.
The gen_signal_source is inexplicably different (probably as a test fixture,
commonality was not valued).

Only the file_signal_source has been tested; all the sources are modified in the same
way, but we all know the only proof of correctness is testing.

The block factory was simplified a bit. Handling for legacy config files was pulled out
of the flowgraph; now when the "0" instance of a component (Foo0) is created, if there is
no config for it, then the legacy version (Foo) will be tried. This is different from
passing -1 for the item number (which is still supported). Theoretically, all existing
config files should still work.
2021-02-15 11:47:13 -07:00
Carles Fernandez 1287e8fe79
Improve handling of the filesystem library 2021-01-16 14:37:19 +01:00
Carles Fernandez 21352a80d1
Apply and add clang-tidy ckecks readability-make-member-function-const and readability-qualified-auto 2020-12-30 21:49:29 +01:00
Carles Fernandez 7308745f05
Apply more concise file header format
Re-license CMake scripts with BSD-3-Clause
2020-12-30 13:35:06 +01:00
Carles Fernandez a538c8c4ee
Update local GPSTk version to v8.0.0, keep compatibilty if v3.0.0 is installed 2020-12-02 14:27:59 +01:00
Carles Fernandez dd60970f32
Improve dump of Telemetry blocks 2020-11-19 09:55:08 +01:00
Carles Fernandez f0e1ef6f9a
Add a common shared pointer definition
Makes transition to GNU Radio 3.9 API less verbose
2020-11-03 20:51:57 +01:00
Carles Fernandez 88bd08b75b
Fix obsdiff and rinex2assist utilities when installed if they were built with a locally downloaded version of GPSTk 2020-10-25 11:50:09 +01:00
Carles Fernandez d4ed61df4b
Improve handling of gflags library
Set minimun gflags version to 2.1.2

Replaced google:: by gflags:: namespace
2020-08-13 20:54:22 +02:00
Carles Fernandez 47f6855610
Give more intuitive naming to asynchronous message handlers 2020-08-03 08:13:21 +02:00
Carles Fernandez 499de7a9f1
Update file headers 2020-07-28 16:57:15 +02:00
Carles Fernandez 64ba95025d
Add missing symbol 2020-07-13 10:54:47 +02:00
Carles Fernandez 09bcd1981c Replace std::endl by \n character. There is no need to always flush the stream. 2020-07-07 18:53:50 +02:00
Carles Fernandez d3b7557dcf
Sort constants
no more GPS_L1_PI, GPS_L2_PI, etc. Values are written in a single point.
2020-07-05 20:20:02 +02:00
Carles Fernandez a9472e8804
CMake formatting 2020-06-23 11:06:26 +02:00
Carles Fernandez 81af1a531b
Redesign of pointer management
Avoid indirection caused by passing shared_ptr by reference

The block factory does not have responsability on the lifetime of their inputs

Define std::make_unique when using C++11 and make use of it

Printers are turned into unique_ptr to express ownership

Printers do not participate on the lifelime of the data, so they take const raw pointers

Modernize tests code
2020-06-18 11:49:28 +02:00
Carles Fernandez d029bf405b
Improve CMake scripts
Replace CMAKE_CURRENT_BINARY by CMAKE_BINARY_DIR
Remove include_directories() instance
Put the GPSTk install folder in its building folder instead of in its source folder
2020-06-13 10:25:28 +02:00
Carles Fernandez 0df4277d36
Unify criteria in target definitions, more informative names 2020-06-13 00:32:40 +02:00
Carles Fernandez d14e69ef5a
Do not pollute the source directory if the software is built from an out-of-source-tree directory
External sources and data are now always stored in a ./thirdparty folder under the building directory.

A copy of the generated binaries will be stored under gnss-sdr/install, if the building directory is inside the source tree, or in an ./install folder under the building directory if it is outside the source tree.
Fix a bug that broke compilation if the user configured the building without extra testing in a first instance, and then switched the testing buiding options to ON in a later build.

Fix extra test building if GPSTk was already installed and Boost >= 1.71
2020-06-12 20:51:26 +02:00
Carles Fernandez 836e074f98
Add building option ENABLE_STRIP to enable the generation of stripped binaries (without debgging information). Set to OFF by default 2020-06-10 17:22:03 +02:00
Carles Fernandez 2a3d682f1f
Make use of target_sources(), make use of target propagation to reduce redundancy in dependencies, some fixes for Clang and CMake < 3.11. Use generic lambdas with auto 2020-06-08 20:04:01 +02:00
Carles Fernandez 4913756a05
Replace <boost/bind.hpp> by <boost/bind/bind.hpp> 2020-06-06 23:41:38 +02:00
Carles Fernandez f731a7c0f1
Fix for Boost >= 1.73 in old compilers 2020-05-18 22:50:34 +02:00
Carles Fernandez 1077970962
Revert "Fix for Boost < 1.60"
This reverts commit 832c2558c6.
2020-05-18 21:36:22 +02:00
Carles Fernandez 832c2558c6
Fix for Boost < 1.60 2020-05-18 19:55:44 +02:00
Carles Fernandez b408a2ef29
Fix for Boost 1.73: qualify placeholders with their full namespace 2020-05-18 18:58:39 +02:00