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

979 Commits

Author SHA1 Message Date
Carles Fernandez
6a79018d2c Add more verbose messages 2018-03-10 23:00:09 +01:00
Antonio Ramos
be5139e5f7 Merge branch 'next' into debug 2018-03-06 16:19:52 +01:00
Gastd
952925b3e9 Fix test 2018-03-05 11:52:56 -03:00
Javier Arribas
7c406bb6eb Merging fpga with next 2018-03-05 11:03:59 +01:00
Carles Fernandez
07b25ebb06 Apply clang-format to the whole source tree 2018-03-04 02:04:27 +01:00
Carles Fernandez
34f24562cf Apply automated code formatting
Documented at .clang-format
See http://clang.llvm.org/docs/ClangFormat.html and http://clang.llvm.org/docs/ClangFormatStyleOptions.html
2018-03-03 02:03:39 +01:00
Javier Arribas
c2fc4b9854 Updating GPS L1 FPGA tracking adapters 2018-03-02 17:40:13 +01:00
Carles Fernandez
3edbb9e084 Fix building when OpenCL is enabled 2018-03-02 14:38:42 +01:00
Carles Fernandez
1189605fbb Fix automatic testing in Debian packaging 2018-03-01 21:02:48 +01:00
Carles Fernandez
1fc9592736 Update test name 2018-03-01 19:52:03 +01:00
Carles Fernandez
c9ae4affc9 Fix automatic testing in Debian packaging 2018-03-01 19:37:29 +01:00
Carles Fernandez
0479d2234f Fix automatic testing in Debian packaging 2018-03-01 19:07:44 +01:00
Carles Fernandez
53095d06ba Fix make check and add tests 2018-03-01 17:30:47 +01:00
Carles Fernandez
9d23915fee Fix make check in Ubuntu 16.04 2018-03-01 15:05:04 +01:00
Antonio Ramos
eed6ed1f5e Remove set_max_noutput_items 2018-03-01 14:25:44 +01:00
Carles Fernandez
ac18e7a49d Fix building in Ubuntu 18.04 2018-02-28 15:40:43 +01:00
Antonio Ramos
4d6aaf43af Merge branch 'next' into fix_observables 2018-02-26 10:12:47 +01:00
Carles Fernandez
658e677fc3 Reorder includes: local headers first, then 3rd-party library headers, and finally standard headers 2018-02-26 03:15:53 +01:00
Carles Fernandez
24f6003ba0 Remove iostream from header files
and in redundant places such as in unit tests
2018-02-25 22:49:06 +01:00
Carles Fernandez
946d3dae9f Replace memset by std::fill_n. This fix warnings in GCC 8.0.1 (Fedora
Rawhide). The warnings were:

 warning: 'void* memset(void*, int, size_t)' clearing an object of
non-trivial type 'struct std::complex<float>'; use assignment or
value-initialization instead [-Wclass-memaccess]
2018-02-25 13:27:27 +01:00
Carles Fernandez
702257e678 Fix building if matio was not installed in the system 2018-02-24 00:40:31 +01:00
Carles Fernandez
6eb03cd94c Add matio_test to make check in order to detect outdated matio library 2018-02-24 00:13:35 +01:00
Carles Fernandez
59e49a5eba Fix configuration and building when matio is not present 2018-02-23 23:46:16 +01:00
Carles Fernandez
b26e63e753 Add acquisition tests to make check 2018-02-23 23:44:57 +01:00
Antonio Ramos
dfb5f1118c Fix unit tests 2018-02-20 15:44:45 +01:00
Carles Fernandez
e5fd943303 Add -dll_bw_hz and -pll_bw_hz commandline flags
API of Galileo_E5a_DLL_PLL_Tracking has been changed for consistency with other blocks
2018-02-18 19:28:21 +01:00
Carles Fernandez
e388b8987b Shorten the tests by default 2018-02-10 14:20:22 +01:00
Carles Fernandez
891d6b80df Rational_Resampler renamed to Mmse_Resampler
Following its renaming in GNU Radio 3.8 (see https://github.com/gnuradio/gnuradio/issues/1428)
2018-02-03 10:49:03 +01:00
Antonio Ramos
9c292302d9 Minor change 2018-01-30 17:02:59 +01:00
Antonio Ramos
f8e5b0e705 Set matio min ver. 2018-01-30 16:48:58 +01:00
Antonio Ramos
42dc14b2bb Merge branch 'next' into new_acq_grid 2018-01-30 15:36:05 +01:00
Carles Fernandez
dfe8dbbea4 Remove unrequired include and other minor fixes 2018-01-29 19:22:49 +01:00
Carles Fernandez
749771ac3b Remove unrequired includes 2018-01-26 15:12:55 +01:00
Carles Fernandez
301a35b2e2 Move Glonass Tracking tests from extra to regular unit tests 2018-01-26 15:07:53 +01:00
Carles Fernandez
1b65cd9f8a Fix header 2018-01-26 14:52:57 +01:00
Carles Fernandez
3865143909 Replace <ctime> library by <chrono> 2018-01-26 14:48:44 +01:00
Carles Fernandez
77ab00698c Add copyright header 2018-01-26 14:21:24 +01:00
Carles Fernandez
36ae812e17 Remove blank line 2018-01-26 14:09:33 +01:00
Carles Fernandez
2a20976b0c Remove big sample file and move GlonassL1CaPcpsAcquisitionTest to extra unit tests 2018-01-26 13:40:52 +01:00
Antonio Ramos
f6aa86f60c Adapt tests to .mat dump files 2018-01-26 13:34:02 +01:00
Carles Fernandez
d33f5e1772 Fix test 2018-01-24 19:22:32 +01:00
Carles Fernandez
9b28aa9e6b Fix test 2018-01-24 19:08:08 +01:00
Carles Fernandez
5296c5e81f Fix warning 2018-01-24 18:25:06 +01:00
Carles Fernandez
2685dd0dfa Fix typo 2018-01-24 18:21:45 +01:00
Carles Fernandez
1cf8f93a52 Fix warning of unused variables 2018-01-24 18:19:15 +01:00
Carles Fernandez
9ff66b3377 Fix tests 2018-01-24 18:06:03 +01:00
Carles Fernandez
c9790a6549 Fix typos 2018-01-24 17:38:57 +01:00
Damian Miralles
e8c363814e Merge branch 'glonass' of https://github.com/gnss-sdr/gnss-sdr
Grab latest code addition to ease up pull request
2017-12-27 19:16:19 -07:00
Damian Miralles
aa2464cc28 glonass bug fix: Adds more reliable GPST 2 UTC conversion
Adds logic to check for exact epoch when performing leap second
correction and also fixes unit test in code for GLONASS
2017-12-26 10:29:09 -07:00
Carles Fernandez
7ac5e7c833 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-12-02 13:48:45 +01:00
Carles Fernandez
0a1e1e88c1 Minor fixes 2017-11-30 21:48:57 +01:00
Unknown
bb098efcc8 Minor changes obs sys test 2017-11-29 16:59:20 +01:00
Carles Fernandez
46d64af778 Matio is not optional 2017-11-26 18:59:00 +01:00
Damian Miralles
d75857db91 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass_dec 2017-11-20 08:31:32 -07:00
Carles Fernandez
16a5f100cb Remove blanks 2017-11-20 11:21:23 +01:00
Carles Fernandez
1d51f7aae3 Merge remote-tracking branch 'cf/matio' into next
This commit adds the possibility to get .mat files with intermediate processing results (output of correlators, observables, etc.). Activate it with dump=true

This has been implemented in Tracking Blocks and Observables blocks
2017-11-20 11:17:27 +01:00
Carles Fernandez
72be91ad1f Fix some defects detected by Coverity Scan 2017-11-20 11:02:17 +01:00
Carles Fernandez
0fd605e2ef Test fixes 2017-11-18 10:10:23 +01:00
Carles Fernandez
fcaf4cfa50 Fix test in Ubuntu 16.04 2017-11-18 10:05:14 +01:00
Carles Fernandez
2f05ba4726 Warn user about lack of hdf5 2017-11-18 01:06:57 +01:00
Carles Fernandez
8926821fa3 Fix building if hdf5 is not found 2017-11-17 23:17:08 +01:00
Carles Fernandez
d4aa35316d Add matio 2017-11-17 21:54:02 +01:00
Carles Fernandez
00e37a83a6 Fix building in Linux 2017-11-17 21:20:56 +01:00
Carles Fernandez
929125cce5 Add matio library and add test case for it 2017-11-17 14:47:50 +01:00
Carles Fernandez
d20902d688 Add mechanisms for inverted spectrum 2017-11-17 09:21:03 +01:00
Damian Miralles
5eab353132 bugfixes: Add RTCM header creation for GLONASS satellites
Added code to enable RTCM header generation when in GLONASS. Also fixes
bug to allow combined observations from GPS and GLONASS. Fix some code
compilation warnings and unit tests.
2017-11-13 22:50:16 -07:00
Carles Fernandez
e95f1b62f5 Improve usage of gtest macros 2017-11-13 22:13:58 +01:00
Carles Fernandez
46a96775e4 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-11-11 11:02:21 +01:00
Carles Fernandez
05247ea4be Remove repeated line 2017-11-11 10:27:02 +01:00
Carles Fernandez
9496e66f3d Merge branch 'obs_sys_test' of https://github.com/antonioramosdet/gnss-sdr into antonioramosdet-obs_sys_test 2017-11-11 10:09:46 +01:00
Unknown
218844cce5 Minor changes in RINEX printer version setting 2017-11-10 15:07:06 +01:00
Unknown
baf2afdd3e Added GnuPlot to observables system test 2017-11-10 14:37:32 +01:00
Carles Fernandez
6e878920d5 Avoid working with optional testing executables from old builds
If the testing flags are switched ON and then OFF, optional executables
are deleted from the install folder. If the flag is switched to ON
again, executables are rebuild and copied to the install folder.
2017-11-10 12:34:20 +01:00
Unknown
b838d5d34c Improved pseudorange error computation 2017-11-10 12:04:21 +01:00
Carles Fernandez
f55f3d34a6 Print test results in file in a more elegant way 2017-11-10 10:46:53 +01:00
Unknown
994233b9f7 Change test name 2017-11-10 09:25:18 +01:00
Unknown
6798f45df6 Added L1, E1, L5, E5 obs system test 2017-11-09 16:11:04 +01:00
Unknown
805e5b8020 Merge remote-tracking branch 'gnss-sdr/next' into system_test_space 2017-11-06 12:56:49 +01:00
Carles Fernandez
7f452c34d2 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-11-04 21:19:21 +01:00
Carles Fernandez
401889da35 Update GPSTk to 2.10
Add more control of installed versions
2017-11-04 19:22:40 +01:00
Unknown
dcedbf25d7 Improving gps_l1_obs_space_system_test
Improved checking algorithm
2017-10-31 17:01:56 +01:00
Unknown
0531c0a0ed Observables system test GNSS-SDR space
Added a new observables system test
2017-10-31 15:40:51 +01:00
Carles Fernandez
7a2ef17927 Merge branch 'glonass_dec' of https://github.com/dmiralles2009/gnss-sdr into dmiralles2009-glonass_dec 2017-10-31 07:41:00 +01:00
Carles Fernandez
90533189d3 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-10-31 07:34:13 +01:00
Carles Fernandez
cccb77783a Avoid comparison between signed and unsigned integer warning 2017-10-29 12:55:10 +01:00
Carles Fernandez
ee1285218e Add GPS L2 acqusitition grid plot
and other small fixes
2017-10-29 12:26:06 +01:00
Carles Fernandez
396415b6f2 Fixes in testing code 2017-10-29 00:44:38 +02:00
Carles Fernandez
4267150445 Add Galileo acquisition grid
and other fixes in tests
2017-10-28 20:17:51 +02:00
Carles Fernandez
41b5365244 Add acquisition grid plot 2017-10-28 18:15:59 +02:00
Damian Miralles
6e223c4277 bugfix: changing flooring operation for tow update 2017-10-26 20:46:16 -06:00
Damian Miralles
791dfbd6d3 bugfix: Adjusting time of week (TOW) computation for GLONASS
Fixing the time of week computation for GLONASS by treating N_T as a
day offset from January 1. It also adds more units test for TOW checks
2017-10-26 18:43:18 -06:00
Damian Miralles
c9fba22307 bugreport: Time managment with boost posix time
Need to fix bug in time duration with posix time and deal with day
offsets in the code. Something seems off with day duration for long
periods of time.
2017-10-24 08:51:38 -06:00
Carles Fernandez
218c23000b Small fixes 2017-10-24 14:47:05 +02:00
Carles Fernandez
2c3ada26f2 Add constellation diagram plot 2017-10-24 14:23:59 +02:00
Carles Fernandez
ac99ba5b75 Fix exception catching 2017-10-24 11:38:37 +02:00
Carles Fernandez
8509b7254a Add opaque legend 2017-10-24 08:45:13 +02:00
Carles Fernandez
d1ed8a963c Add plot of correlators\' output 2017-10-23 19:25:41 +02:00
Carles Fernandez
d86158a94a Adjust font size in pdf files 2017-10-22 23:04:39 +02:00
Carles Fernandez
32dde63348 Save figures in pdf format 2017-10-22 22:33:27 +02:00
Carles Fernandez
d73825ebef Add 3d plot to position test 2017-10-22 19:39:16 +02:00
Carles Fernandez
4d7f93fd43 Add plot of precision results 2017-10-22 18:05:02 +02:00
Carles Fernandez
0164d6725d Simplify gnuplot interface usage in tests 2017-10-22 09:14:25 +02:00
Carles Fernandez
785d6185c3 Print both plots 2017-10-22 08:29:35 +02:00
Carles Fernandez
b6573b00e6 Fix persist for Mac 2017-10-22 08:28:59 +02:00
Carles Fernandez
5b23e29beb Fix error 2017-10-22 08:23:19 +02:00
Carles Fernandez
19b280e089 Add persist to gnuplot terminal 2017-10-22 08:20:51 +02:00
Carles Fernandez
e006b66f51 Fix postscript generation 2017-10-21 16:33:26 +02:00
Carles Fernandez
c4ba566c42 Keep windows open in Linux 2017-10-21 13:39:41 +02:00
Carles Fernandez
d0bd3987e1 Fix warnings 2017-10-21 13:38:25 +02:00
Carles Fernandez
ff4938702e Add Gnuplot-based plot results for FFT MeasureExecutionTime test 2017-10-21 13:05:51 +02:00
Carles Fernandez
1ac986e207 Test FFT with random numbers instead of all zeros 2017-10-20 12:58:44 +02:00
Damian Miralles
a1b9b092f5 Debugging GLONASS code to obtain position solution 2017-10-19 13:22:55 -06:00
Unknown
c114d38975 Notch filters FFT improved
FFT migrated from Armadillo to GNU Radio
2017-10-18 12:36:12 +02:00
Unknown
d5590eefe4 Added FFT speed test
Unit test comparing GNU Radio and Armadillo FFT implementations
2017-10-18 11:04:17 +02:00
Unknown
2c739a26bf Added Armadillo VS GNU Radio FFT speed test
Unit test comparing the two FFT implementations
2017-10-17 14:17:11 +02:00
Unknown
9a74120e7c Added Notch Filter Lite tests
Unit tests for Notch Lite input filter
2017-10-17 11:44:41 +02:00
Unknown
a1d432f9e8 Added Notch Filter tests
Unit test fot Notch input filter
2017-10-17 09:38:16 +02:00
Unknown
d8481d927b Added Pulse Blanking unit tests
New unit tests for the pulse blanking input filter
2017-10-16 16:36:51 +02:00
Unknown
0f45e7d211 Block Factory filter instantiation tests
Added test cases for Pulse_Blanking, Notch and Notch_Lite filters
2017-10-13 16:21:26 +02:00
Carles Fernandez
35620b8c57 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-10-04 01:27:03 +02:00
Damian Miralles
c4c90dcad2 feature: Remove satellite position computation from GNAV Almanac
Removes the satellite position computation from the GNAV Almanac object
since it does not seems to be a great usage at the moment. Possible
addition of the fields should be added to the RTKLib API
2017-10-03 15:26:02 +02:00
Damian Miralles
4d844cfa43 bugfix: Adds conversion from relative code to data bits
Adds conversion from relative code to data bits while decoding GLONASS
GNAV data. It also fixes bugs with CRC computation and extraction of
data from navigation message
2017-10-03 15:26:02 +02:00
Carles Fernandez
e352978777 Implement the non-blocking option for complex shorts
Apply GNU-style indentation
Add Cillian to files copyright
Delete multithread_acquisition block
2017-10-03 13:47:55 +02:00
Damian Miralles
fa235e29a4 feature: Remove satellite position computation from GNAV Almanac
Removes the satellite position computation from the GNAV Almanac object
since it does not seems to be a great usage at the moment. Possible
addition of the fields should be added to the RTKLib API
2017-09-18 15:52:09 -06:00
Damian Miralles
0c65a4eb7c bugfix: Adds conversion from relative code to data bits
Adds conversion from relative code to data bits while decoding GLONASS
GNAV data. It also fixes bugs with CRC computation and extraction of
data from navigation message
2017-09-15 22:25:37 -06:00
Carles Fernandez
0857892ded Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into odrisci-non_blocking_acq-test 2017-09-16 01:52:46 +02:00
Carles Fernandez
00ba4ff96e Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-09-16 01:45:53 +02:00
Carles Fernandez
94dfef74c1 Add cpu_multicorrelator_real_codes_test
and minor cosmetics
2017-09-16 01:14:15 +02:00
Carles Fernandez
3cf1fdfd92 Test waits for the block message to emit a message 2017-09-15 16:12:52 +02:00
Cillian O'Driscoll
e87522880e Added ability to generate real valued codes
Only done for GPS L1 C/A and Galileo E1 OS for now. Also added a
cpu_multicorrelator_real_codes class that performs code correlation
using real-valued local codes
2017-09-11 15:21:05 +01:00
Carles Fernandez
047d9af6a3 Merge branch 'glonass_dec' of https://github.com/dmiralles2009/gnss-sdr into dmiralles2009-glonass_dec 2017-09-10 10:51:17 +02:00
Carles Fernandez
0ac2f7bd74 The global parameter name GNSS-SDR.internal_fs_hz has been replaced by
GNSS-SDR.internal_fs_sps
2017-09-02 11:36:19 +02:00
Carles Fernandez
c474ea31d5 Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into glonass 2017-09-02 11:27:18 +02:00
Carles Fernandez
dc18980194 The global parameter name GNSS-SDR.internal_fs_hz has been replaced by
GNSS-SDR.internal_fs_sps

The old name was misleading, since the units are samples per second and
not Hertz. 

Backward compatibility is kept, so this change does not break any
existing configuration.
2017-09-02 11:24:44 +02:00
Damian Miralles
4e78bcf446 Merge in GLONASS acquisition and tracking code 2017-08-31 09:57:30 -06:00
Damian Miralles
e1d8a7b23a unit-test: Testing RTCM MS1020 Message generation
Tests MS1020 message and fixes several bugs that show up while
debugging the code. Major changes were introduced due to the bug
correction process
2017-08-31 09:55:35 -06:00
Damian Miralles
eb33715cb9 unit-test: Adds and fixes unit test for system-parameters block
Adding unit test for system-parameters block, testing string decoding
logic for GLONASS GNAV messages. Bug fixes the code after several errors
were detected while debugging
2017-08-31 09:55:35 -06:00
Damian Miralles
3f87223f35 bugfix: Fix compile errors, code style and documentation
Fixes compilation errors after the RTCM package addition in the PVT
block. It also adds a series of class members documentation in the code
using the Doxygen standard while fixing code style errors
2017-08-31 09:55:35 -06:00
Damian Miralles
bc8d0bbe64 Adds unit test for RINEX and RTCM messages printer
Adds set of unit test to check functionality of GLONASS processing for
RINEX and RTCM messages. It also fixes a couple of bug fixes with
formatting in existing code.
2017-08-31 09:55:35 -06:00
Damian Miralles
6669482e91 rtcm: Starting coding of RTCM standard
Starting to add GLONASS support for RTCM v3 messages while fixing bugs
with the RINEX parser. In addition, adding more unit tests in the code
2017-08-31 09:55:35 -06:00
Damian Miralles
8a0689fbb1 Fixing compile warnings and adding work on unit test 2017-08-31 09:55:35 -06:00
Damian Miralles
c24710c585 gnav: Adding GLONASS GNAV Navigation Message Operations
Adding code for navigation message computation for GLONASS GNAV code.
Continues to fix the almanac position computation and fixes bugs in code
due to compilation errors, coding style and Doxygen documentation
2017-08-31 09:55:35 -06:00
Carles Fernandez
12aaa25d50 Do not use LOG(FATAL) since the glog library could have been stripped
off
2017-08-31 09:55:35 -06:00
Carles Fernandez
5530352e8a Fix bug in NMEA messages. Fixes #45
Add a new test for the NMEA printer
2017-08-31 09:55:35 -06:00
Carles Fernandez
8bbe4edc64 Replace <ctime> library by <chrono>
and also replace C-style casts by C++ casts. Added/removed some blank
lines here and there to match coding style of other tests.
2017-08-31 09:55:35 -06:00
Carles Fernandez
1e59501cb5 Fix redefinition of variable 2017-08-31 09:55:35 -06:00
Carles Fernandez
fc9740b4dc Do not use LOG(FATAL) since the glog library could have been stripped
off
2017-08-25 19:17:12 +02:00
Carles Fernandez
ea84c1ec27 Fix redefinition of variable 2017-08-25 11:58:05 +02:00
Carles Fernandez
58e92343c7 Fix bug in NMEA messages. Fixes #45
Add a new test for the NMEA printer
2017-08-25 11:42:02 +02:00
Carles Fernandez
38858836a0 Replace <ctime> library by <chrono>
and also replace C-style casts by C++ casts. Added/removed some blank
lines here and there to match coding style of other tests.
2017-08-24 18:09:04 +02:00
Carles Fernandez
a3b81a884b Fix redefinition of variable 2017-08-24 18:03:23 +02:00
Gastd
21dcf7216d Update test configuration 2017-08-23 13:56:02 -03:00
Gastd
edc7ce8ccc Add unit test for new tracking blocks 2017-08-23 13:56:02 -03:00
Gastd
26cf61b045 Set noise_flag and dump to false 2017-08-23 13:44:27 -03:00
Gastd
0ebc8af42b Update tests 2017-08-23 13:44:27 -03:00
Gastd
a178376ad1 Update test 2017-08-23 13:38:47 -03:00
Gastd
88fa602505 Add unit-test for glonass pcps acquisition 2017-08-23 13:30:05 -03:00
Gastd
e484c391e6 Add file with real signals for testing 2017-08-23 13:09:28 -03:00
Gastd
2984b6c976 Update test configuration 2017-08-23 13:09:28 -03:00
Gastd
4c83f59cfc Add unit test for new tracking blocks 2017-08-23 13:09:28 -03:00
Gastd
ed1e99b15b Add tracking glonass tests 2017-08-23 13:09:28 -03:00
Gastd
e82bc0c4d2 Add new file for glonasstests 2017-08-23 13:09:28 -03:00
Gastd
4557837814 Set noise_flag and dump to false 2017-08-23 13:09:28 -03:00
Gastd
d796a74f23 Update tests utils 2017-08-23 13:09:28 -03:00
Gastd
195c836922 Update tests 2017-08-23 13:09:28 -03:00
Gastd
3550a4dfb7 Update test 2017-08-23 13:09:28 -03:00
Gastd
e02e8f8df4 Update test 2017-08-23 13:09:28 -03:00
Gastd
be8bde063f Add signal sample for glonass and installation rule 2017-08-23 13:09:28 -03:00
Gastd
936c5d5bea Add unit-test for glonass pcps acquisition 2017-08-23 13:09:28 -03:00
Gastd
bfa0d50771 Add glonass acquisition tests 2017-08-23 13:09:28 -03:00
Carles Fernandez
eecfd10875 Replace C-style casts by C++ casts 2017-08-19 20:05:52 +02:00
Carles Fernandez
d12858e579 Replace C-style casts by C++ casts 2017-08-19 12:45:19 +02:00
Carles Fernandez
187ae683c9 Fix GCC warning 2017-08-18 13:56:49 +02:00
Carles Fernandez
4807c55184 Fix GCC warnings 2017-08-18 13:42:27 +02:00
Carles Fernandez
a168b31fb1 Fix GCC warning 2017-08-18 13:35:02 +02:00
Carles Fernandez
45ba8bb10c Fix GCC warnings 2017-08-18 13:21:08 +02:00
Carles Fernandez
ff89df1ea1 Fix GCC warning 2017-08-18 13:11:12 +02:00
Carles Fernandez
2467ed5af7 Avoid gcc warning 2017-08-18 13:07:49 +02:00
Carles Fernandez
61f8df3586 Replace some C-style cast by static_cast<>()
See https://stackoverflow.com/questions/1609163/what-is-the-difference-between-static-cast-and-c-style-casting
2017-08-18 12:45:47 +02:00
Carles Fernandez
e2f02a50f0 Use const container calls when result is immediately converted to a const iterator 2017-08-15 22:15:21 +02:00
Carles Fernandez
f0e6d6cbfa Fix possible memory leaks 2017-08-15 00:04:51 +02:00
Carles Fernandez
85cc7802be Fix const correctness when catching exceptions
See https://stackoverflow.com/questions/7581654/about-catching-exception-good-practices
Unneeded includes unistd.h removed
Close dump files in destructor
2017-08-14 13:59:00 +02:00
Carles Fernandez
77eb09c2a7 Remove uneeded stdio.h 2017-08-13 10:01:10 +02:00
Carles Fernandez
59164c33bd Remove unneded cstdlib include 2017-08-12 15:52:23 +02:00
Carles Fernandez
e8f401911f Fix test 2017-08-12 14:25:53 +02:00
Carles Fernandez
9b8b0eb726 Fix building of extra tests in Debian 9 2017-08-12 13:22:54 +02:00
Carles Fernandez
02ea8acbfd Always initialize elapsed_seconds
It was causing warnings in GCC. Some code style applied.
2017-08-11 13:11:38 +02:00
Carles Fernandez
18cd7daa09 Eliminate ctime library. Replaced by chrono or boost::date_time 2017-08-11 05:18:38 +02:00
Carles Fernandez
ed5191fc54 Clean headers. C++ libraries preferred over C libraries 2017-08-10 15:34:38 +02:00
Carles Fernandez
3dd3c2f444 Enable building with Clang in Linux 2017-08-07 11:08:05 +02:00
Javier Arribas
365ff3a18b Observable unit test updated and upgraded to test both code and carrier phase observables. It requires the latest version of gnss-sim, please update the simulator 2017-08-03 17:58:11 +02:00
Javier Arribas
ceef915de7 Improving observables binary dump 2017-07-28 18:24:36 +02:00
Carles Fernandez
196d84aca3 Fix telemetry test 2017-07-12 21:54:47 +02:00
Carles Fernandez
4ba0dd63cb Update PVT block name 2017-07-12 21:25:15 +02:00
Carles Fernandez
a298013a23 Fix bug reading tracking dump file 2017-07-12 21:24:47 +02:00
Carles Fernandez
367d65a536 Fix defect 2017-07-12 21:01:46 +02:00
Carles Fernandez
f3d0435c37 Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next 2017-07-12 20:31:29 +02:00
Carles Fernandez
d1828721cf Fix bugs and defects detected by Coverity Scan 2017-07-12 20:12:33 +02:00
Carles Fernandez
7bc57587d8 Fix bugs and defects detected by coverity scan 2017-07-12 20:02:34 +02:00
Carles Fernandez
ec83f384bf Add minor fixes 2017-07-12 10:01:20 +02:00
Carles Fernandez
92cc773067 Add DataTypeAdapter tests to make check 2017-07-11 12:52:45 +02:00
Carles Fernandez
15a807380e List Unpack2bitSamplesTest 2017-07-11 12:51:19 +02:00
Carles Fernandez
d7e6b5a941 Add include required by make check 2017-07-11 12:50:20 +02:00
Carles Fernandez
f84fe9e31f Avoid underscores in Test Cases and Test Names
According to
    https://github.com/google/googletest/blob/master/googletest/docs/FAQ.md#why-should-not-test-case-names-and-test-names-contain-underscore
2017-07-11 12:22:05 +02:00
Carles Fernandez
d89be37c4a Fix tests 2017-07-11 11:56:54 +02:00
Carles Fernandez
39253893d4 Add missing include 2017-07-11 08:59:54 +02:00
Carles Fernandez
d469961f09 Fix test 2017-07-11 00:31:40 +02:00
Carles Fernandez
e8598e2dd7 Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next 2017-07-11 00:10:37 +02:00
Carles Fernandez
51cd1d0c29 Add unit tests for Data Type Adapter blocks 2017-07-10 23:59:18 +02:00
Carles Fernandez
0c03d36093 Fix test 2017-07-07 12:38:24 +02:00
Carles Fernandez
e7149acf6e Better use of Test Case name 2017-07-03 12:43:25 +02:00
Carles Fernandez
b1f880c19a Fix test 2017-07-03 12:42:22 +02:00
Carles Fernandez
130de7acac Avoid underscores in Test Cases and Test Names
According to
https://github.com/google/googletest/blob/master/googletest/docs/FAQ.md#why-should-not-test-case-names-and-test-names-contain-underscore
2017-06-25 23:59:47 +02:00
Carles Fernandez
40f02e30c2 Avoid underscores in Test Cases and Test Names
According to
https://github.com/google/googletest/blob/master/googletest/docs/FAQ.md#why-should-not-test-case-names-and-test-names-contain-underscore
2017-06-25 22:53:11 +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
9863c680f1 Merge branch 'next_fpga' of https://github.com/gnss-sdr/gnss-sdr into next 2017-06-13 11:14:35 +02:00
Carles Fernandez
d80e436fc2 Add missing include (for O_WRONLY) 2017-06-12 17:47:20 +02:00
mmajoral
9a7bd7ffb4 adopted code style + did some code refactoring 2017-06-08 17:29:45 +02:00
mmajoral
e3b2319568 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next_fpga 2017-06-08 16:18:16 +02:00
Carles Fernandez
9e77789d8d Small fix 2017-06-07 17:33:59 +02:00
Carles Fernandez
d3fbfb38db Fix uncatched exception 2017-06-07 17:32:37 +02:00
Carles Fernandez
8aa7140f19 Avoid the use of rand() 2017-06-07 17:28:11 +02:00
mmajoral
2a0b874a02 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next_fpga 2017-05-24 12:26:27 +02:00
mmajoral
adde064ff4 removed non used configuration parameter 2017-05-24 11:11:58 +02:00
mmajoral
0966ea9dca code refactoring 2017-05-23 18:12:22 +02:00
Carles Fernandez
639a41c36b Remove unused variable 2017-05-19 09:11:12 +02:00
Carles Fernandez
a7c9fd657c Position file now admits a configuration file
e.g.:

../install/position_test --config_file_ptest=../conf/gnss-sdr.conf
2017-05-19 08:39:48 +02:00
mmajoral
cbe20c0920 refactoring code 2017-05-18 17:10:28 +02:00
Carles Fernandez
96f3599a29 Stylishing code 2017-05-13 21:08:42 +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
Carles Fernandez
bb9346441c Better handling of RTKLIB options 2017-05-08 21:26:12 +02:00
mmajoral
de2043ca00 cleaned the acquisition code that runs in the Zynq SoC, cleaned some tracking files that run in the Zynq SoC as well. 2017-05-08 17:03:27 +02:00
Carles Fernandez
1cb4425cde Fix PPP configuration 2017-05-06 10:45:33 +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
mmajoral
9195740d8a acquisition gps unit test for the FPGA. The code is currently being cleaned 2017-05-05 16:14:27 +02:00
Carles Fernandez
b3025b74a6 Add pararmeters to position test 2017-05-04 18:42:35 +02:00
Carles Fernandez
9323360526 Fix TTFF test 2017-04-29 23:14:36 +02:00
Carles Fernandez
a5bfa2a938 Relax test thershold 2017-04-29 19:16:59 +02:00
Carles Fernandez
6f140b67d1 Re-enable TTFF test 2017-04-29 19:14:59 +02:00
Carles Fernandez
f4cc6addc6 Re-enable observables system test 2017-04-29 18:23:32 +02:00
Carles Fernandez
0b6affe38b Re-enable RTCM and RINEX writing, average parameters removed 2017-04-29 09:25:05 +02:00
Carles Fernandez
efaf01c78c Fix rate parameters 2017-04-27 15:41:59 +02:00
Carles Fernandez
07ecbd2f5e Add computation of 2D and 3D bias to position test 2017-04-23 22:31:53 +02:00
Carles Fernandez
979377a632 Deactivate PVT flag averaging 2017-04-22 23:50:21 +02:00
Carles Fernandez
9805e0975b fix test compilation 2017-04-22 19:12:12 +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
Javier Arribas
e90a9aa2bf Migration of the internal LS PVT solver to RTKLIB solver in progress. First working version for GPS L1. Removing SBAS duplicated code. 2017-04-20 16:10:12 +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
14415c1316 Fix test when building with clang 8.0.0 2017-04-07 17:02:55 +02:00
Carles Fernandez
ef5cb645a7 Code cleaning: remove tabulators, remove multiple blank lines 2017-03-13 20:54:25 +01:00
mmajoral
507bc86cc9 Merge branch 'next_fpga' of https://github.com/gnss-sdr/gnss-sdr into next_fpga 2017-03-13 10:02:57 +01:00
mmajoral
c6eda22bab 1 - Check for any exception in tracking_dump_reader.cc and tracking_true_obs_reader.cc when manipulating files, not just a specific exception, for compatibility with the Linux OS running in the Zynq board. 2 - gps_l1_ca_dll_pll_tracking_test.cc uses the c_aid_tracking class instead of the tracking one. 3 - Implemented the code that runs the unit test of the GPS tracking algorithm using the HW accelerator in the FPGA 2017-03-13 09:59:16 +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
ccacac7047 Activate generation of signal 2017-02-16 21:04:10 +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
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