1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-04 17:16:26 +00:00
Commit Graph

206 Commits

Author SHA1 Message Date
Carles Fernandez
9b8b0eb726 Fix building of extra tests in Debian 9 2017-08-12 13:22:54 +02:00
Carles Fernandez
3dd3c2f444 Enable building with Clang in Linux 2017-08-07 11:08:05 +02:00
Carles Fernandez
92cc773067 Add DataTypeAdapter tests to make check 2017-07-11 12:52:45 +02:00
Carles Fernandez
caae643462 Workaround for CMake < 3.2 (e.g. Ubuntu 15.04) 2017-06-22 20:17:37 +02:00
Carles Fernandez
54c4f595b2 Fix GPSTk building with Ninja 2017-06-21 15:41:04 +02:00
Carles Fernandez
9bfef0e05a Fix CMake scripts to use Ninja https://ninja-build.org/
cmake -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -GNinja .. && ninja
2017-06-21 08:54:47 +02:00
Carles Fernandez
0253f4ba05 Merge remote-tracking branch 'upstream/common_solver' into next
This commit Integrates RTKLIB positioning libraries in a universal PVT
block implementation called RTKLIB_PVT. This results in an improved
positioning accuracy and precision with a wide range of options
(including Precise Point Positioning and ionospheric/troposphreic
models).

Not all the RTKLIB features have been ported. Some of them will be
progressively added. The ported options and how to configure them have
been documented in the website, see
http://gnss-sdr.org/docs/sp-blocks/pvt/

This commit also introduces a multi-band, multi system Observables block
implementation.

Relevant architectural changes that reduce latency and makes
multi-system, multi band signal handling easier.

Redundant blocks have been deleted. Old configurations are automatically
redirected to the new blocks for Observables and PVT, so the commit does
not break any existing configuration. The user should just notice a
relevant improvement in positioning performance.

# Conflicts:
#	src/core/receiver/gnss_flowgraph.cc
2017-05-10 22:16:18 +02:00
Carles Fernandez
9fef3fbfe9 Merge branch 'next_fpga' of https://github.com/gnss-sdr/gnss-sdr into next 2017-05-08 22:48:04 +02:00
mmajoral
eccbd0f97a acquisition gps unit test for the FPGA. The code is currently being cleaned 2017-05-05 16:15:27 +02:00
Carles Fernandez
f4dac04285 merging next 2017-04-22 18:31:57 +02:00
Carles Fernandez
264668a69d Add position test
enabled with -DENABLE_SYSTEM_TESTING_EXTRA=ON
Computes accuracy and precision metrics
2017-04-22 12:09:48 +02:00
Carles Fernandez
b7fba936ef Fix dh_auto_test execution, fixes #47 2017-04-13 20:29:56 +02:00
Javier Arribas
807ca24fc2 Refactoring code. Adding new experimental tests and new common TX time observables algorithm 2017-04-12 17:04:51 +02:00
Carles Fernandez
ef5cb645a7 Code cleaning: remove tabulators, remove multiple blank lines 2017-03-13 20:54:25 +01:00
Carles Fernandez
bc59f7e900 Account for the case in which GPSTk is not installed on target 2017-02-25 21:13:16 +01:00
Carles Fernandez
8927543028 Add option to install tests executables system-wide
-DENABLE_INSTALL_TESTS=ON enables the installation of the tests
executables when doing "sudo make install". If this option is activated,
such executables will not be copied to the gnss-sdr/install folder.
2017-02-17 01:02:07 +01:00
Carles Fernandez
2111b5bddd Fix installation of auxiliary file for tests 2017-02-16 21:04:38 +01:00
Carles Fernandez
e8d6c4c556 Fix execution permitions of gnss_sim when installed on target 2017-02-16 20:53:04 +01:00
Carles Fernandez
e94c0cd838 Fix installation of gnss-sim in more environments 2017-02-16 20:03:03 +01:00
Carles Fernandez
6bcb9dea35 Fix installation of gnss-sim and auxiliary files 2017-02-16 19:59:46 +01:00
Carles Fernandez
cfba2ddffb Fix execution of unit tests on a device
When -DENABLE_FPGA=ON, run_tests and all the required aux files are
installed on the filesystem
2017-02-16 19:41:11 +01:00
Carles Fernandez
3286ddecde Fix path of auxiliary files 2017-02-16 18:54:37 +01:00
Carles Fernandez
015e195c2a Install FPGA tests on target when cross-compiling 2017-02-15 22:10:06 +01:00
mmajoral
d22f4f5f2b Started implementing the code that uses the FPGA HW accelerators and the unit tests. For now the code contains a cloned version of the tracking tests using short complex data types plus a few new class variable definitions 2017-02-13 17:20:49 +01:00
Carles Fernandez
f8adffe5c2 Fix execution of extra tests in some environments
and some code cleaning
2017-02-05 20:07:34 +01:00
Carles Fernandez
adb088e36c Fix building when Armadillo < 5.300 2017-02-03 12:04:15 +01:00
Carles Fernandez
6e97c5f2f9 Define all the commandline flags of the signal generator in a single
file
2017-02-02 20:07:36 +01:00
Carles Fernandez
92f1f90935 Merge branch 'rinex_fix' of https://github.com/gnss-sdr/gnss-sdr into rinex_fix 2017-02-02 11:24:15 +01:00
Carles Fernandez
2c1ccf0672 Download and build GPSTk and the signal generator also for extra unit tests 2017-02-02 11:23:53 +01:00
Javier Arribas
fca151ad6b Adding signal processing unit testing auxiliarily libs to enable automating testing with gnss-simulator-in-the-loop 2017-02-01 19:24:25 +01:00
Carles Fernandez
ae55c151e1 Move GPSTK building files to the root of build directory for consistency 2017-02-01 16:39:00 +01:00
Carles Fernandez
e6facdcb0c GPSTk is now on GitHub. Retrieve version 2.9 2017-02-01 16:17:58 +01:00
Carles Fernandez
c11a20520e Add new configuration option ENABLE_UNIT_TESTING_EXTRA
If set to ON, it donwload some raw signal files and add more tests to run_tests.
This allows a smaller source code tarball.
It defaults to OFF
2017-01-28 16:49:46 +01:00
Carles Fernandez
71c19cac99 Regroup CMake options for testing
-DENABLE_UNIT_TESTING  (defaults to ON): Builds unit tests
-DENABLE_SYSTEM_TESTING  (defaults to OFF): Builds system tests
-DENABLE_SYSTEM_TESTING_EXTRA (defaults to OFF): Builds extra tools (a
software-defined signal generator and GPSTk) and extra system tests
-DENABLE_OWN_GPSTK (defaults to OFF): forces a local download and builds
GPSTk even if it is already installed in your system.

If ENABLE_SYSTEM_TESTING_EXTRA is set to ON, then ENABLE_SYSTEM_TESTING
is also set to ON automatically.

This commit removes the option ENABLE_SW_GENERATOR
2017-01-10 18:57:38 +01:00
Carles Fernandez
7df15841b4 Use GPSTk if found, let the user change that with -DENABLE_OWN_GPSTK=ON
Add diff stdev error computation for carrier phase
2016-12-30 14:36:41 +01:00
Carles Fernandez
19bc085e89 Change name to obs_gps_l1_system_test 2016-12-25 12:49:14 +01:00
Carles Fernandez
7f9d3c385d Simple example of GPSTk usage 2016-12-22 01:35:31 +01:00
Carles Fernandez
cdf7fcfa99 Add GPSTk as an optional analysis tool 2016-12-21 18:52:45 +01:00
Carles Fernandez
211b7b34c0 Embed the whole system in a test 2016-12-21 14:21:52 +01:00
Carles Fernandez
dda1833646 Add example of gnss-sim usage 2016-12-20 21:43:19 +01:00
Carles Fernandez
61cf9a59f2 Fix bad usage of set 2016-12-20 03:29:40 +01:00
Carles Fernandez
5279c2410e Fix building with openembedded 2016-12-20 03:02:43 +01:00
Carles Fernandez
4a02a1d294 Allow building with OpenEmbedded 2016-12-20 02:35:52 +01:00
Carles Fernandez
e02b17d7a1 Clean script 2016-11-28 00:18:02 +01:00
Carles Fernandez
38e4551cf1 Ensure that gtest is built before building run_tests 2016-11-27 13:44:43 +01:00
Carles Fernandez
0425fd3cf2 Fix name of CMake variable 2016-10-27 08:23:25 +02:00
Carles Fernandez
35c10681b9 Change folder name to be more consistent with the website
See http://gnss-sdr.org/docs/
2016-10-10 19:36:41 +02:00
Carles Fernandez
896ae47439 Trigger a building test 2016-10-02 23:32:45 +02:00
Carles Fernandez
ba73218747 Improve TTFF report 2016-10-02 21:14:58 +02:00
Carles Fernandez
ff4c323b01 Add options to enable/disable building of unit and system testing
Unit Testing is enabled by default. In some memory-constrained
environments it can be useful to disable its building. It can be
disabled by setting -DENABLE_UNIT_TESTING=OFF

System testing is disabled by default. It can be build by setting
-DENABLE_SYSTEM_TESTING=ON
2016-10-02 01:59:12 +02:00
Carles Fernandez
44239e69c3 Start work with TTFF test 2016-09-29 18:31:22 +02:00
Carles Fernandez
b7e06dc6a2 Refactor QA code 2016-09-29 12:26:48 +02:00
Carles Fernandez
8aafb23c30 Updating to Googletest 1.8.0 2016-09-23 21:59:00 +02:00
Javier Arribas
c8d7a607f8 Adding CPU and GPU multicorrelators unit tests 2016-06-17 12:48:31 +02:00
Javier Arribas
0a5573f666 several receiver configuration mechanism simplifications and several bug fixes. Work in progress 2016-04-21 18:54:08 +02:00
Javier Arribas
b4e8966691 Removing the unused Output_filter block from the gnss_sdr flowgraph 2016-04-06 16:12:06 +02:00
Cillian O'Driscoll
26b18c19ee Added a generic tracking_loop_filter class
This implements a generic loop filter. Based on the analog PLL filters
from Kaplan and Hegarty, with a bilinear (Tustin's) transform from
s-plane to z-plane ( 1/s -> T/2 ( 1 + z^-1 )/( 1 - z^-1 ) )

Also added tests. Note the "truth" outputs
were derived from an Octave implementation of the loop filter and
Octave's builtin filter function
2015-11-26 15:12:26 +00:00
Carles Fernandez
e4206d38f6 Try to use OpenSSL if GnuTLS with openssl compatibility enabled is not
found.
2015-10-27 20:18:48 +01:00
Cillian O'Driscoll
48ae3f1e83 Added unit tests for unpack_2bit_samples 2015-10-14 09:34:33 +01:00
Carles Fernandez
43c3aa75f1 Simplifying googletest building 2015-08-24 15:59:49 +02:00
Carles Fernandez
4ab078c704 Googletest now lives at GitHub 2015-08-24 13:17:48 +02:00
Carles Fernandez
0dcdf00d19 Fixing linking problems 2015-07-16 15:46:01 +02:00
Carles Fernandez
14e1d94c91 Fixing linking problems 2015-07-16 14:55:52 +02:00
Carles Fernandez
1cfdd23037 some cleaning 2015-02-15 14:53:45 +01:00
Carles Fernandez
3e5332ff57 Fixing Gtest detection 2015-02-15 14:49:17 +01:00
Carles Fernandez
88789b0717 Adding fir_filter tests for different data types 2015-02-06 01:09:53 +01:00
Carles Fernandez
b9e7d8a446 adding a fir_filter for std::complex<signed char> (aka cbyte). It
converts the data type to floats, filters, and converts back to cbyte.
2015-02-03 00:58:21 +01:00
Carles Fernandez
6620e7d43c Updating copyright year 2015-01-08 19:49:59 +01:00
Carles Fernandez
35a72de883 Build minimal tests only if building with ENABLE_PACKAGING=ON. 2014-12-24 11:26:36 +01:00
Carles Fernandez
9b95919ddb Improving thread management 2014-12-21 22:46:57 +01:00
Carles Fernandez
a9bcc6a155 adding 'make check' target 2014-12-19 23:19:50 +01:00
Carles Fernandez
393375f8f0 finding sources of libgtest-dev package 2014-12-07 22:09:24 +01:00
Carles Fernandez
fae3aa4f19 fixing detection and use of libgtest-dev 2014-12-07 20:42:52 +01:00
Carles Fernandez
8130121979 add detection of libgtest-dev package 2014-12-07 11:16:33 +01:00
Carles Fernandez
059c23595c some linking fixes 2014-11-09 15:31:35 +01:00
Carles Fernandez
8afa1be6cf Adding volk_gnsssdr 2014-11-07 18:23:59 +01:00
Carles Fernandez
74cb7ff362 Changing building system: 'cmake && make && sudo make install' 2014-11-04 21:28:01 +01:00
Carles Fernandez
045c432920 Some changes to make it work with Yosemite 2014-10-18 12:39:58 +02:00
Carles Fernandez
dfd9be34a9 Merge branch 'galileo_e5a' of https://github.com/marc-sales/gnss-sdr
into next

Conflicts:
	src/core/receiver/gnss_block_factory.cc
	src/core/receiver/gnss_flowgraph.cc
2014-09-05 18:51:08 +02:00
Carles Fernandez
b746d1c619 Merging quicksync branch by Damian Miralles (GSoC 2014) 2014-08-19 18:52:05 +02:00
Carles Fernandez
3257d8cba1 Improving handling of optional processing blocks and linking libraries.
New options ENABLE_GN3S, ENABLE_RTLSDR, ENABLE_OPENCL, ENABLE_ARRAY and
ENABLE_GPERFTOOLS, all set by default to OFF. Users can enable that
features by 'cmake -DENABLE_XXX=ON ../ '. OpenCL is now not used by
default since it was giving problems in some platforms. Old variables
(RTSDR_DRIVER, GN3S_DRIVER, RAW_ARRAY_DRIVER and DISABLE_OPENCL) are
still honored and can be used in the same way, but the new ENABLE_XXX
are recommended for the sake of more uniform naming. Main CMakeFile.txt
has been rearranged, putting options first, then searching for the
required libraries, and then the optional ones. If Gperftools is enabled
and found, binaries are linked to the tcmalloc and profiler libraries,
and using the adequate flags. Fixed building in Mac OSX if Armadillo and
OpenBLAS were not installed in the system.
2014-08-07 21:04:01 +02:00
Carles Fernandez
42ae5cbd88 First commit of the acquisition method based on the QuickSync algorithm.
Code developed by Damian Miralles.
2014-07-24 01:38:58 +02:00
Carles Fernandez
027fcaa5cc Do not force cache of GTEST_DIR_LOCAL so the user can chose either
define it or not from cmake commandline
2014-05-28 22:12:29 +02:00
Carles Fernandez
36a587762b Fixing detection of GTEST_DIR variable when defined with -DGTEST_DIR=... 2014-05-28 22:02:11 +02:00
Carles Fernandez
31b4738d39 Fixing detection of GTEST_DIR environment variable 2014-05-28 20:24:29 +02:00
Javier Arribas
743af3398d Fixed GTEST_DIR env variable detector under MACOSX. Fixed small compatibility issue in armadilo norm for armadillo version < 4.100
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@503 64b25241-fba3-4117-9849-534c7e92360d
2014-04-07 16:20:09 +00:00
Carles Fernandez
e3578d801c Some tests
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@497 64b25241-fba3-4117-9849-534c7e92360d
2014-03-28 17:52:51 +00:00
Carles Fernandez
daba798d8a Cleaning tests. Added test for the RTCM printer.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@495 64b25241-fba3-4117-9849-534c7e92360d
2014-03-23 09:45:03 +00:00
Carles Fernandez
26d2bc70b3 Adds the option to avoid the use of OpenCL by doing 'cmake ../ -DDISABLE_OPENCL=1'
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@485 64b25241-fba3-4117-9849-534c7e92360d
2014-03-15 01:21:17 +00:00
Carles Fernandez
3595d60f99 Working on the tests. Workaround to build with Xcode. Improving documentation, README and cmake files readability
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@444 64b25241-fba3-4117-9849-534c7e92360d
2013-11-15 17:45:24 +00:00
Carles Fernandez
669910f6af Improving the way cmake detects GNU Radio. Switching from FindGnuradioXXX() to ConfigGnuradio.cmake. Fixed a typo in README. Tested in Mac OS X 10.9 and Ubuntu 13.10 64 bits, should work on other versions as well.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@442 64b25241-fba3-4117-9849-534c7e92360d
2013-11-13 21:07:33 +00:00
Carles Fernandez
a8619337be Now GNSS-SDR also builds on Mac OS X 10.9 Mavericks using clang++ and libc++. Updated cmake scripts, some modification of code not accepted by clang. Updated README with instructions for Mavericks. Fixed file length computation in 64-bit architectures.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@435 64b25241-fba3-4117-9849-534c7e92360d
2013-11-09 10:51:11 +00:00
Carles Fernandez
2972272b3e Fixes compilation issues on Mac OS X. Now it builds successfully against gnuradio installed by Macports and using gcc 4.8. Upgrade version of Gtest. Some fixes and updates in documentation and code cleaning.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@423 64b25241-fba3-4117-9849-534c7e92360d
2013-10-18 18:26:06 +00:00
Luis Esteve
025a24bb20 Last commit from the GSoC 2013 project "Improve the acquisition sensitivity of a GNSS receiver" by Marc Molina.
Added OpenCL Acquisition blocks and tests. 

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@420 64b25241-fba3-4117-9849-534c7e92360d
2013-10-01 20:32:04 +00:00
Luis Esteve
2f6c75be76 Adding new algorithms of adquisition:
gps_l1_ca_pcps_multithread_acquisition
     gps_l1_ca_pcps_tong_acquisition
     galileo_e1_pcps_cccwsr_ambiguous_acquisition
     galileo_e1_pcps_tong_ambiguous_acquisition
     galileo_e1_pcps_8ms_ambiguous_acquisition

and test for all the algorithms.


git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@411 64b25241-fba3-4117-9849-534c7e92360d
2013-08-28 17:17:57 +00:00
Carles Fernandez
a604f45afb some small changes required by Pybombs
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@376 64b25241-fba3-4117-9849-534c7e92360d
2013-07-06 10:50:55 +00:00
Carles Fernandez
5b13435332 small fixes to cmake scripts
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@374 64b25241-fba3-4117-9849-534c7e92360d
2013-07-06 02:15:09 +00:00
Javier Arribas
58b280afb6 Switch to GNU Radio 3.7.x API
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@368 64b25241-fba3-4117-9849-534c7e92360d
2013-07-04 13:47:40 +00:00
Javier Arribas
d7b014e373 Experimental GPS assistence using Secure User Plane Protocol (SUPL) initial tests. Not usable yet!
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@348 64b25241-fba3-4117-9849-534c7e92360d
2013-03-15 18:05:37 +00:00
Carles Fernandez
2b5d6e45f5 Adapting tests to the new GNU Radio 3.7 API. The component gr-analog, required by some tests, is now found by CMake. Some code cleaning
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@340 64b25241-fba3-4117-9849-534c7e92360d
2013-02-17 09:54:41 +00:00
Carles Fernandez
6628e5e2d8 Now gflags and google-glog are downloaded, configured, build and linked automatically when doing "make". Since gflags is a prerequisite for the proper functioning of glog, glog is always built locally when gflags is missing.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@305 64b25241-fba3-4117-9849-534c7e92360d
2013-01-01 11:24:42 +00:00
Carles Fernandez
74668e14dd Glog is now downloaded, configured, built and linked automatically if it is not found in the host system.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@304 64b25241-fba3-4117-9849-534c7e92360d
2012-12-29 21:07:43 +00:00
Carles Fernandez
a032dfaefd Enabling CTest
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@301 64b25241-fba3-4117-9849-534c7e92360d
2012-12-28 15:40:03 +00:00
Carles Fernandez
7ebebd041e If the GTEST_DIR variable is not set, CMake will automatically download, configure and build Googletest 1.6.0 when building run_tests. Download includes MD5 checksum. The source code will be left under the thirdparty/ folder. All the download and build files will remain under the build/ directory. Since Googletest does not need installation, all the process can be done without root privileges, simply doing 'make'.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@297 64b25241-fba3-4117-9849-534c7e92360d
2012-12-26 11:19:57 +00:00
Carles Fernandez
f33a0db34e Enabling run_tests build. If the variable GTEST_DIR exists, it builds the executable run_tests. 'make install' will copy the executable at the install/ folder.
Improved doxygen detection. Now 'make doc' will build the documentation at the docs/ folder if doxygen is available.

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@296 64b25241-fba3-4117-9849-534c7e92360d
2012-12-25 10:28:29 +00:00
Carles Fernandez
30c6045f11 Working on GTest
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@295 64b25241-fba3-4117-9849-534c7e92360d
2012-12-24 13:29:23 +00:00