1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-15 22:34:58 +00:00
Commit Graph

463 Commits

Author SHA1 Message Date
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
0eaea3d563 Fix typos 2017-02-05 20:14:01 +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
0362476864 Merging gnss-sdr/rinex_fix branch
This commit rewrites the way pseudoranges are computed, now accounting for the receiver clock offset. It also adds more work in the QA code. If extra tests are activated by -DENABLE_UNIT_TESTING_EXTRA=ON or -DENABLE_SYSTEM_TESTING_EXTRA=ON, additional raw data files, a software-defined signal generator and GPSTk 2.9 are downloaded. Many fixes and code refactoring in tracking blocks.
2017-02-03 14:04:13 +01:00
Carles Fernandez
b8ba57b9cf fix typo 2017-02-03 12:52:58 +01:00
Carles Fernandez
46353ea378 Read flags from a single file 2017-02-03 12:49:54 +01:00
Carles Fernandez
adb088e36c Fix building when Armadillo < 5.300 2017-02-03 12:04:15 +01:00
Carles Fernandez
a8f5b505b7 Fix tests
gps_ls_m_pcps_acquisition moved to extra unit tests since it requires an
external data file. Fixed a bug in
galileo_e1_pcps_ambiguous_acquisition_test
2017-02-03 09:17:53 +01:00
Carles Fernandez
2b4521d470 Delete unused file 2017-02-02 21:20:57 +01:00
Carles Fernandez
0ee4866b51 Finally right :-) 2017-02-02 20:58:50 +01:00
Carles Fernandez
9804f7f535 Fix wrong commit 2017-02-02 20:45:32 +01:00
Carles Fernandez
e078ebfd10 Add header 2017-02-02 20:37:46 +01:00
Carles Fernandez
51c6ed85a9 Fix path of raw data file 2017-02-02 20:30:56 +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
59e3ffe167 Add header 2017-02-02 20:05:15 +01:00
Javier Arribas
37d78d3f12 Completing tracking unit test with simulator-in-the-loop 2017-02-02 18:10:24 +01:00
Javier Arribas
dc910bca4e GNSS simulator-in-the-loop completed for tracking and telemetry unit tests 2017-02-02 16:41:58 +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
5612e5732e Activate signal generation 2017-02-01 16:20:13 +01:00
Carles Fernandez
a01f00b8fd Fix usage of GPSTk 2.9 2017-02-01 16:18:45 +01:00
Carles Fernandez
e6facdcb0c GPSTk is now on GitHub. Retrieve version 2.9 2017-02-01 16:17:58 +01:00
Carles Fernandez
886e3d24d0 Merge branch 'rinex_fix' of https://github.com/gnss-sdr/gnss-sdr into
rinex_fix

# Conflicts:
#	src/algorithms/PVT/gnuradio_blocks/gps_l1_ca_pvt_cc.cc
#	src/algorithms/PVT/libs/gps_l1_ca_ls_pvt.cc
2017-01-30 20:26:50 +01:00
Carles Fernandez
1c357ef062 Fix gcc warnings 2017-01-30 00:09:48 +01:00
Carles Fernandez
bf34702f9d Move gps_l2_m_dll_pll_tracking_test to UNIT_TESTING_EXTRA
This test requires a 8 MB file. Now that file is downloaded if
ENABLE_UNIT_TESTING_EXTRA is set to ON.
2017-01-29 19:30:48 +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
4438ffe916 Code cleaning 2017-01-28 15:31:04 +01:00
Javier Arribas
d64935406d Improving tracking+telemetry_decoder unit test 2017-01-25 18:41:42 +01:00
Javier Arribas
3da0807044 PVT receiver time feedback to observables to account for the receiver clock offset. Prototype of observables unit test enabled 2017-01-25 17:15:32 +01:00
Javier Arribas
c6cb41cfe3 GPS L1 CA DLL/PLL tracking fixes and gnss_synchro code refactoring 2017-01-25 11:58:05 +01:00
Carles Fernandez
758a13c554 Add more info if test fails 2017-01-20 15:33:29 +01:00
Carles Fernandez
938db73b43 Check carrier phase evolution per satellite 2017-01-10 20:59:20 +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
23d8b7016a Add the option of dynamic testing:
obs_gps_l1_system_test --dynamic_position=./circle.cvs
2017-01-09 12:09:46 +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
f12e8b97f4 Better way to compute stdev 2016-12-25 13:45:06 +01:00
Carles Fernandez
19bc085e89 Change name to obs_gps_l1_system_test 2016-12-25 12:49:14 +01:00
Carles Fernandez
c3e545ecfd Compute error stdev for pseudorange diff and Doppler 2016-12-25 12:10:15 +01:00
Carles Fernandez
1eb75e0170 Add Doppler observables 2016-12-24 19:51:13 +01:00
Carles Fernandez
c2c96e5391 read and compare measurements 2016-12-24 15:58:04 +01:00
Carles Fernandez
4c8a74936c Read both RINEX obs files 2016-12-23 13:45:02 +01:00
Carles Fernandez
cd1adc33c7 Usign GPSTk to read observables 2016-12-23 08:49:49 +01:00
Carles Fernandez
2c393af75a Add RINEX validations 2016-12-22 16:58:09 +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
2744a26344 Configure RINEX version via configuration
This supersedes the value passed by the --RINEX_version flag. Useful for system testing
2016-12-21 15:43:00 +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
9a3d5950ba Add work on Galileo observables RINEX printer 2016-11-03 10:49:10 +01:00
Carles Fernandez
d4a14c3f2d RINEX obs files GPS dual-band: Fill obs with 0s if signal is not present 2016-11-01 14:02:23 +01:00
Carles Fernandez
ece71a53fb Improve log of dual-band GPS observations in RINEX files 2016-11-01 13:01:35 +01:00
Carles Fernandez
74a23c5575 Add the ability to print multiband Galileo observables in RINEX files 2016-11-01 11:00:44 +01:00
Carles Fernandez
ee5a889383 Add test for dual band Galileo Rinex observation file 2016-10-31 22:49:15 +01:00
Carles Fernandez
f0bef19fdb Add multi-band capability to the Galileo observables RINEX printer 2016-10-31 22:32:58 +01:00
Carles Fernandez
0425fd3cf2 Fix name of CMake variable 2016-10-27 08:23:25 +02:00
Carles Fernandez
bbd1c2fe7c Add test of stopping the receiver by a external program 2016-10-16 10:40:07 +02:00
Carles Fernandez
c5c4dd17e5 Catch exceptions raised by gtest 2016-10-14 00:26:05 +02:00
Carles Fernandez
a7bd728595 Fix some problems detected by Coverity Scan 2016-10-13 12:48:05 +02:00
Carles Fernandez
664d6ecfa8 Remove dead code 2016-10-13 10:06:53 +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
93a63bf367 Fix sampling rate issue when TTFF is reading conf from file
and some code cleaning
2016-10-10 19:23:54 +02:00
Carles Fernandez
a4eb6634e6 Cleaning 2016-10-10 16:17:55 +02:00
Carles Fernandez
1dfb0e3087 Fix crash 2016-10-10 15:22:42 +02:00
Carles Fernandez
98b3145ab1 Fix crash 2016-10-10 11:22:08 +02:00
Carles Fernandez
001896fbd7 Fix crash 2016-10-10 11:19:58 +02:00
Carles Fernandez
257d2de18e Adding a configuration file flag to TTFF test
Now the conf file can be passed as a parameter:
ttff --config_file_ttff=myconf.conf
2016-10-10 11:02:39 +02:00
Carles Fernandez
6f2aabe0b6 Improve double comparison
<and allow the USRP some time to set up between tests
2016-10-03 18:34:53 +02:00
Carles Fernandez
08f0a36075 Improve queue management gnss-sdr and in TTFF tests.
Always destroy queues when exiting
2016-10-03 17:43:06 +02:00
Carles Fernandez
047ced2b20 Improve queue management 2016-10-03 13:43:20 +02:00
Carles Fernandez
a9c77b22ff Print TTFF report in a file 2016-10-03 12:48:02 +02:00
Carles Fernandez
9b4965bfdb Improve TTFF report 2016-10-03 12:20:46 +02:00
Carles Fernandez
3583952a5c Closing queues and improving TTFF report 2016-10-03 11:42:54 +02:00
Carles Fernandez
896ae47439 Trigger a building test 2016-10-02 23:32:45 +02:00
Carles Fernandez
8a50cccd18 Fix 2016-10-02 22:09:23 +02:00
Carles Fernandez
e976b8cd0c Fix 2016-10-02 21:55:58 +02:00
Carles Fernandez
a9e881c8bd Fix 2016-10-02 21:47:10 +02:00
Carles Fernandez
e89b54c682 Add AGNSS configuration to TTFF test 2016-10-02 21:41:37 +02:00
Carles Fernandez
b3eab47604 Add hot start TTFF 2016-10-02 21:24:46 +02:00
Carles Fernandez
f61c6fddd8 Fix 2016-10-02 21:19:09 +02:00
Carles Fernandez
ba73218747 Improve TTFF report 2016-10-02 21:14:58 +02:00
Carles Fernandez
7624c461f2 Clean TTFF test 2016-10-02 13:45:23 +02:00
Carles Fernandez
cd0cec131b Use current time as seed for random generator 2016-10-02 12:57:01 +02:00
Carles Fernandez
3e716df88b Use Test Fixtures in the TTFF Test 2016-10-02 12:48:12 +02:00
Carles Fernandez
886de8d539 Clean the TTFF test 2016-10-02 11:43:51 +02:00
Carles Fernandez
36f313d6f0 Small fixes 2016-10-02 02:02:42 +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
db71c74898 Small fixes 2016-10-01 19:09:55 +02:00
Carles Fernandez
b80eba91c8 Terminate run when testing TTFF 2016-10-01 18:43:58 +02:00
Carles Fernandez
c9ef673afa Fix 2016-10-01 18:08:23 +02:00
Carles Fernandez
f3b8b54801 Kill queue 2016-10-01 17:53:18 +02:00
Carles Fernandez
3e1cff4e7e Stop receiver after TFFF detection 2016-10-01 17:42:47 +02:00
Carles Fernandez
35084f93cc Clean up 2016-10-01 12:41:39 +02:00
Carles Fernandez
91c0fcc539 Improve TTFF report 2016-10-01 12:13:08 +02:00
Carles Fernandez
e445d5d26b Add TTFF report 2016-10-01 11:58:15 +02:00
Carles Fernandez
a4850dc85d Fix to terminate the queue thread 2016-10-01 11:44:38 +02:00
Carles Fernandez
0e65bfc813 Fix for more than one measuement 2016-10-01 11:39:04 +02:00
Carles Fernandez
79e2663d08 Annotate TTFF 2016-10-01 11:26:59 +02:00
Carles Fernandez
a2eaab884e Add sysV queue to the GPS PVT block 2016-10-01 11:03:40 +02:00
Carles Fernandez
56be4616bf Use Sys-V queue 2016-10-01 10:25:29 +02:00
Carles Fernandez
79afa71011 Set sampling frequency 2016-09-29 22:28:22 +02:00
Carles Fernandez
4c79fb2e9c Change Acquisition algorithm 2016-09-29 22:18:21 +02:00
Carles Fernandez
19b4ce8c7d Add a main to the TTFF test 2016-09-29 22:04:53 +02:00
Carles Fernandez
72b7229fbb Add more flags to the TTFF Test 2016-09-29 20:15:50 +02:00
Carles Fernandez
f7618bb189 Fix Rx control and add some flags 2016-09-29 19:46:27 +02:00
Carles Fernandez
0a74ad17be Add control thread to TTFF test 2016-09-29 19:06:17 +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
Carles Fernandez
24e62c4e4e Make use of volk_gnsssdr_malloc, volk_gnsssdr_free
instead of volk_malloc, volk_free (which are missing from the volk
version distributed by ubuntu 14.04). Fix the include guard in
volk_gnsssdr_malloc.h 
Thanks to @hoernchen
2016-08-18 14:17:02 +02:00
Javier Arribas
2c327b0de4 GPU / CPU unit test performance improvements 2016-06-17 16:29:07 +02:00
Javier Arribas
c8d7a607f8 Adding CPU and GPU multicorrelators unit tests 2016-06-17 12:48:31 +02:00
Carles Fernandez
394048f5e7 Add test of FFT execution times for different lengths 2016-05-26 19:30:14 +02:00
Carles Fernandez
df47884cd7 Clean the factory
Now GetBlock does not require a queue for generating blocks that do not
use it.
2016-05-10 01:32:26 +02:00
Carles Fernandez
953bc4686e Remove unused queue in input filters and data type adapters 2016-05-09 18:44:58 +02:00
Carles Fernandez
3bd59ec83e Remove unused queue from acquisition blocks
Now replaced by GNU Radio's message passing system
2016-05-09 16:44:54 +02:00
Carles Fernandez
0acb48c0b5 Remove unused queue from tracking blocks
Now replaced by GNU Radio block's message passing system
2016-05-09 11:51:42 +02:00
Carles Fernandez
9cbb88bc9f TCP port and RTCM station ID are now configured by the printer
Merge branch 'next' of git+ssh://github.com/gnss-sdr/gnss-sdr into next
2016-05-06 21:00:08 +02:00
Carles Fernandez
831cc75153 Remove tabs from the source code 2016-05-02 23:46:30 +02:00
Carles Fernandez
ed8d647935 fixing binary format in RTCM messages 2016-05-02 01:24:23 +02:00
Carles Fernandez
ad16c5ab35 some test fixes 2016-05-01 12:39:40 +02:00
Carles Fernandez
c14fed8b64 Samll fixes in tests. Dump flags set to false 2016-05-01 09:19:30 +02:00
Carles Fernandez
313892c1c4 fixing test 2016-04-30 18:16:31 +02:00
Carles Fernandez
4fd4c24747 Print RTCM messages in binary format 2016-04-30 15:20:56 +02:00
Carles Fernandez
db30910cf5 Re-enabling OpelCL acquisition test 2016-04-30 11:33:52 +02:00
Carles Fernandez
ef095aee66 Re-enabling acquisition tests
Examples of usage of the new message passing system
2016-04-29 18:45:30 +02:00
Carles Fernandez
4882398c56 fixing wrong commit 2016-04-26 19:00:41 +02:00
Carles Fernandez
59e2e61cae Merge branch 'next' of git+ssh://github.com/gnss-sdr/gnss-sdr into next 2016-04-26 18:54:32 +02:00
Javier Arribas
dcbe96f783 migrating galileo e1 pcps gsoc2013 test to new message system 2016-04-25 20:42:43 +02:00
Javier Arribas
273cc945c2 simplifiying unit test gnuradio message rx class 2016-04-25 20:20:41 +02:00
Javier Arribas
e99bae8ad4 Unit test BlockFactory migrated to the new configuration scheme 2016-04-25 16:20:14 +02:00
Javier Arribas
481d368eb1 Unit test flowgrap migrated to the new configuration scheme 2016-04-25 16:16:31 +02:00
Javier Arribas
b8aa202348 Fix controthread test to use new configuration scheme 2016-04-25 16:03:57 +02:00
Javier Arribas
76f9ea0e07 Re-enabling more tests and bug fixes 2016-04-25 15:53:01 +02:00
Carles Fernandez
5b30b3f8c6 adding missing include 2016-04-25 15:38:31 +02:00
Javier Arribas
7d62ef367a Acquisition unit test migrated to new message system 2016-04-25 15:31:30 +02:00
Javier Arribas
86658c2391 Migration of acquisition test to new message system 2016-04-25 15:20:42 +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
0f80ce0159 Channel internal message queue is replaced by the asynchronous GNURadio
message system. Removing the deprecated channel internal queue and its
references. Some tests that are using the old channel queue are disabled
in this version
2016-04-15 16:33:41 +02:00
Javier Arribas
6ba8cea5f4 removed unused queue from PCPS acquisition constructors 2016-04-13 16:45:17 +02:00
Javier Arribas
b56183f93b Replacing Galileo E1, SBAS, and GPS L2C telemetry shared queues and maps
with GNURadio asynchronous messages (TLM -> PVT)
2016-04-12 17:29:16 +02:00
Carles Fernandez
b8f984292a Update tests with the new tracking blocks, removing old ones 2016-04-08 11:46:39 +02:00
Javier Arribas
b4e8966691 Removing the unused Output_filter block from the gnss_sdr flowgraph 2016-04-06 16:12:06 +02:00