Commit Graph

48 Commits

Author SHA1 Message Date
Carles Fernandez ca6b4b545b
Replace Boost::filesystem by std::filesystem if C++17 support is available 2019-06-10 21:41:13 +02:00
Carles Fernandez fb1fd2584d
Fix coverity scan defects 2019-03-02 11:44:45 +01:00
Carles Fernandez 7c71ed9404
Merge branch 'fpga' of https://github.com/gnss-sdr/gnss-sdr into merge-fpga
Applied checks and formatting
2019-02-28 21:45:30 +01:00
Carles Fernandez d7d4cd09ae
Fix naming in fgpa and extra unit test implementations 2019-02-22 15:57:15 +01:00
Carles Fernandez 73b7341904
clang-tidy: apply readability-braces-around-statements plus code formatting
See http://releases.llvm.org/7.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability-braces-around-statements.html
Code formatting applied with:
  find ../src/ -iname *.h -o -iname *.cc | xargs clang-format -i
2019-02-11 21:13:02 +01:00
Carles Fernandez 8c0051ca0b Apply clang-tidy checks 2019-02-11 18:38:42 +01:00
Carles Fernandez 5f79053d65
Sort includes automatically with clang-format
Order:
1.- Main header
2.- Local headers
3.- Third-party library headers
4.- System headers

each category sorted lexicographically
2018-12-09 22:00:09 +01:00
Carles Fernandez e4303d0fac
Fix build with latest GNU Radio master (towards 3.8) 2018-08-31 13:52:35 +02:00
Carles Fernandez 2b65c1b550
Replace unsigned long int by uint64_t and long int by int64_t in tests 2018-08-10 21:16:10 +02:00
Javier Arribas e88447675d Improving tracking and observables unit test plots 2018-07-17 18:31:55 +02:00
Javier Arribas 639eb0d59c Bug fix in Doppler error plot in Tracking unit test 2018-07-16 16:23:41 +02:00
Javier Arribas be22c6a83e Improving accumulated carrier phase error estimation in tracking unit test 2018-07-16 15:09:35 +02:00
Javier Arribas 75d0645276 Add RMSE exports to MATLAB in tracking unit test 2018-07-12 18:52:38 +02:00
Carles Fernandez 2f3376dc38
Ensure that a terminal is not open when the flag --noshow_plots is passed to the tests 2018-07-06 11:14:38 +02:00
Carles Fernandez ccacc9fe3e
Share flag --noshow_plots for non-interactive testing 2018-06-29 21:53:39 +02:00
Javier Arribas d6cb8aa2c0 Adding a tracking pull-in test for GPS L1 C/A tracking 2018-06-24 22:31:44 +02:00
Javier Arribas 89185fbb58 Adding more features to DLL/PLL unit test 2018-06-22 16:10:22 +02:00
Javier Arribas 6bb284b9bb Improving gnuplot and adding DLL/PLL bandwidth sweep options to DLL/PLL unit test 2018-06-20 18:42:06 +02:00
Javier Arribas 306f8103d2 Fix GNUPLOT interface to support multiplots and improving tracking unit test plots 2018-06-20 12:04:03 +02:00
Javier Arribas bfef012231 Adding CN0 sweep option to the GPS L1 CA DLL/PLL unit test and adding extra results plots 2018-06-19 17:51:22 +02:00
Carles Fernandez 0d60d97c24
Use https instead of http in links when available
Update copyright year in headers
2018-05-13 22:49:11 +02:00
Javier Arribas c0375c99ff Adding GPS L1 C/A CN0 control in GPS DLL/PLL unit test 2018-04-23 12:37:43 +02:00
Antonio Ramos ebb908f2e7 Merge branch 'next' into observables_and_display_color 2018-04-03 11:01:59 +02:00
Carles Fernandez 6db935b133 Remove old gps_l1_ca_dll_pll_tracking_cc block 2018-03-29 15:08:54 +02:00
Antonio Ramos 5a86de623b Fix tests 2018-03-21 16:29:04 +01:00
Antonio Ramos f577bf3cea Fix GPS L1 CA unit test 2018-03-20 14:44:34 +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
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 396415b6f2 Fixes in testing code 2017-10-29 00:44:38 +02: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 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 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
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 7bc57587d8 Fix bugs and defects detected by coverity scan 2017-07-12 20:02:34 +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
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 ccacac7047 Activate generation of signal 2017-02-16 21:04:10 +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 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
Javier Arribas 37d78d3f12 Completing tracking unit test with simulator-in-the-loop 2017-02-02 18:10:24 +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
Javier Arribas c6cb41cfe3 GPS L1 CA DLL/PLL tracking fixes and gnss_synchro code refactoring 2017-01-25 11:58:05 +01:00