Commit Graph

362 Commits

Author SHA1 Message Date
Carles Fernandez 0e5211dbf0
Modern CUDA usage 2019-06-24 20:02:19 +02:00
Marc Majoral b48a70b9dd enabled FPGA extended coherent integration by default 2019-06-18 19:36:02 +02:00
Marc Majoral 05d006d1f9 Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration 2019-06-18 18:25:24 +02:00
Marc Majoral 33d1115246 added support for extended coherent integration in the FPGA. The code still needs to be optimized and cleaned. 2019-06-18 18:22:01 +02:00
Javier Arribas 88f78a107c Improving unified tracking. Added Doppler frequency correction for false PLL lock 2019-06-14 12:52:46 +02:00
Javier Arribas 559080b651 Improving tracking stability of carrier lock detector 2019-06-11 20:20:23 +02:00
Javier Arribas e7517dc86d Removing superseded GPS tracking block. Carrier Aiding is now included in unified tracking 2019-06-11 10:11:20 +02:00
Marc Majoral 6979e561b8 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-04-04 19:55:56 +02:00
Marc Majoral ff024e7292 cleaned unused code and added some comments. 2019-04-04 19:55:02 +02:00
Marc Majoral eda3f21fb9 added the reading of the high_dyn parameter in the tracking adapter modules + added max_num_acqs parameter for the FPGA acquisition. 2019-04-04 16:10:29 +02:00
Javier Arribas 02db271011 Set default Galileo E1 VE and VL correlator spacing to 0.5 2019-04-03 15:28:56 +02:00
Marc Majoral d8e8b8a5a0 solved a bug in the E1 data code generation optimization 2019-04-03 10:21:16 +02:00
Marc Majoral 553946fb65 moved the setting of the flags for the writing of the local code to the initialization, to save cpu cycles during tracking. 2019-04-02 20:36:48 +02:00
Marc Majoral a6110eb334 moved the calculations related to the local code that is specific to the FPGA to the initialisation phase of the tracking modules to save clock cycles during real-time tracking. 2019-04-02 18:46:37 +02:00
Marc Majoral fb38247273 updated the tracking adapters and added new FPGA tracking correlator parameters according to what is implemented in the SW tracking correlator. 2019-03-28 12:30:57 +01:00
Carles Fernandez 6a17a33d6f
Expose more tracking parameters to the configuration: filters order, FLL usage, pull-in time 2019-03-21 19:21:39 +01:00
Carles Fernandez 597ef26092
Minor fixes 2019-03-18 19:28:35 +01:00
Carles Fernandez 52c69073ac
Apply clang-tidy fixes 2019-03-18 09:10:00 +01:00
Carles Fernandez ed9aaf86ce
Fix building, apply formatting 2019-03-18 08:43:38 +01:00
Damian Miralles dc65760122
bds_b3i: Updating branch with new changes from upstream repo 2019-03-12 10:54:17 -05:00
Damian Miralles 2b4a395dc8 bds_b3i: merging new changes, fixing D2 decoding bug 2019-03-07 09:38:49 -06:00
Carles Fernandez dd7a52c93b
Fix headers 2019-03-06 21:54:39 +01:00
Carles Fernandez 502bf32d83 Improve includes (IWYU) 2019-03-06 14:36:51 +01:00
Carles Fernandez 2f6c123307
Fix header 2019-03-03 14:35:39 +01:00
Carles Fernandez e7ea5c1fdd
Remove superfluous 'using google::LogMessage' 2019-03-03 13:39:35 +01:00
Carles Fernandez 08ce4cdd75
Sort includes, fix coverity scan defect 2019-03-03 00:15:20 +01:00
Carles Fernandez fcfe63ba08
Fix defects detected by coverity scan 2019-03-01 20:49:45 +01:00
Damian Miralles 9ccb86dac6 Merge branch 'next' into bds_b3i 2019-03-01 13:29:10 -06:00
Damian Miralles 8782fcba69 bds_b3i: merging new changes, fixing small bugs 2019-03-01 13:28:21 -06:00
Carles Fernandez 2543b2aae2
Fix error 2019-03-01 16:59:29 +01:00
Carles Fernandez e43b8f5284
Fix defects detected by Coverity Scan 2019-03-01 15:29:43 +01:00
Carles Fernandez df0a77ee0d
Fix warnings
more protection on read/write failures and some code cleaning
2019-03-01 10:11:36 +01:00
Marc Majoral c32e0b427a coding style + removed some unnecessary memory arrays in the FPGA E5A tracking adapter class. 2019-02-27 17:27:31 +01:00
Marc Majoral a03ed571e6 replaced int and unsigned int by int32_t and uint32_t
removed some unused variables
2019-02-27 14:37:07 +01:00
Marc Majoral 8d770d9be9 more code cleaning
removed some non used variables
2019-02-27 13:30:09 +01:00
Marc Majoral 2b6e7749a8 cleaned the source code of the FPGA switch and the FPGA tracking adapters 2019-02-26 19:30:08 +01:00
Marc Majoral cf0a37300a Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-02-25 19:21:00 +01:00
Carles Fernandez d7d4cd09ae
Fix naming in fgpa and extra unit test implementations 2019-02-22 15:57:15 +01:00
Carles Fernandez 62a7e54359
Introduce readability-identifier-naming check
This commit enforces naming style for Classes and global constants:
Camel_Snake_Case for Classes
UPPER_CASE for global constants
CamelCase for abstract classes
2019-02-22 10:47:24 +01:00
Carles Fernandez b3ae2c969a
clang-tidy: apply fixes 2019-02-21 10:33:20 +01:00
Carles Fernandez 9bc771bed6
Deploy a new option -DENABLE_CLANG_TIDY to integrate clang-tidy checks and fixes into the compilation process, if found. It defaults to OFF 2019-02-21 09:59:06 +01:00
Carles Fernandez eedc3d5de6
clang-tidy: apply checks 2019-02-19 09:08:09 +01:00
Carles Fernandez 111c6291ec Revert "clang-tidy: apply performance-unnecessary-value-param check"
This reverts commit eae967ed1a.
2019-02-12 12:07:40 +01:00
Carles Fernandez eae967ed1a
clang-tidy: apply performance-unnecessary-value-param check
See https://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-value-param.html
2019-02-12 01:00:36 +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 75bd492d96
Change CMake target names to more meaningful ones, reflecting the code tree 2019-02-10 18:34:28 +01:00
Carles Fernandez ce051e040f
Improve target design 2019-02-10 01:13:02 +01:00
Carles Fernandez 5d9dea9537
Clean CMake scripts 2019-02-07 20:51:50 +01:00
Damian Miralles 1b7d4edf51 bds_b31: Getting new changes from upstream 2019-02-05 17:25:16 -06:00
Carles Fernandez dfab84b2de
Add fixes applied by clang-tidy 2019-02-05 01:31:09 +01:00
Carles Fernandez 708b288e61
Clean CMake scripts 2019-02-04 22:44:45 +01:00
Carles Fernandez b58b07fe01
Update and clean CMake scripts 2019-02-04 20:29:42 +01:00
Carles Fernandez 8ae72fe458
Update to modern CMake usage 2019-02-03 19:24:44 +01:00
Marc Majoral bb0fae98c7 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-01-30 10:28:52 +01:00
Carles Fernandez c561d7e799
Applying code formatting rules 2019-01-28 02:29:43 +01:00
Damian Miralles 7f1619483f bds_b3i: bug fix in code generation
Moved code generation logic to use bool type to keep same notation
as the previous implementations. More testing in code is required
2019-01-27 19:05:41 -06:00
Damian Miralles e78ba653e6 bds b3i: Adding code to process BeiDou B3I signals
Adds code to perform acq and trk in BeiDou B3I signals. Stages of
telemetry decoding, observables computation and pvt use existing
code on the platform. Some further testing is required
2019-01-25 15:43:00 -06:00
Marc Majoral f127729eb0 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-01-25 18:02:07 +01:00
Damian Miralles 42b506d0bb bds b1i: Merging latest changes from upstream/next 2018-12-18 15:55:36 -06:00
Carles Fernandez c9f55f2491
Apply fixes by clang-tidy 2018-12-10 23:01:05 +01:00
Carles Fernandez 54237770a6
Apply fixes by clang-tidy 2018-12-10 22:59:10 +01:00
Carles Fernandez 3dce8934fd
Apply fixes by clang-tidy 2018-12-10 19:05:12 +01:00
Carles Fernandez d6f3cd6dd3
Revert "Apply fixes by clang-tidy"
This reverts commit ba23d698bc.
2018-12-10 18:20:45 +01:00
Carles Fernandez ba23d698bc Apply fixes by clang-tidy 2018-12-10 15:15:35 +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 7261bec2ad
Miscelaneous code improvements 2018-12-04 13:20:49 +01:00
Carles Fernandez 327fec627c clang-tidy: apply readability-else-after-return fix (see https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html) 2018-12-03 22:08:19 +01:00
Carles Fernandez 1743a773b5 Improve performance by using const and std::move() to avoid unnecessary copies 2018-12-03 19:01:47 +01:00
Carles Fernandez 395f93aeff clang-tidy: apply modernize-pass-by-value fix. See http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html#modernize-pass-by-value 2018-12-03 15:43:43 +01:00
Carles Fernandez 8eec75c8ae clang-tidy: apply readability-string-compare fix (see https://clang.llvm.org/extra/clang-tidy/checks/readability-string-compare.html) 2018-12-03 12:52:17 +01:00
Carles Fernandez 96f34cabb1
clang-tidy: apply modernize-use-equals-default fix. See https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-equals-default.html 2018-12-03 11:12:10 +01:00
Marc Majoral bd90563925 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-11-30 11:10:38 +01:00
Marc Majoral f48a91c413 Galileo E5a is now debugged and working. Acquisition is using interrupts again. Each acquisition process opens and closes the acquisition device when an acquisition is done instead of having the device opened all the time. In this way the acquisition interrupt should only be received by the process that is using the interrupt at that time. 2018-11-30 11:07:01 +01:00
Damian Miralles 8db3f21070 bds b11: Get latest changes and add bds functions in rtk module
Merge branch 'next' into bds_b1i. Also fixes multiple bugs with the
addition of bds b1i signals into code. Major changes where fixed and
code to support RINEX and RTCM is needed
2018-11-29 09:56:54 -06:00
Carles Fernandez 87d1413447
Make cmakelint happier 2018-11-24 18:40:34 +01:00
Carles Fernandez b0ba246934
Apply some style rules to CMake scripts 2018-11-22 00:35:21 +01:00
Carles Fernandez e94b2f8990
Remove blanks 2018-11-18 21:24:54 +01:00
Marc Majoral 41faa311f7 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-11-05 18:29:35 +01:00
Carles Fernandez 715f32f0ee Improve tracking dump saving
Dump files can now be saved anywhere, including absolute paths. If directories do not exist, they will be created.

Added new dump_mat to deactivate generation of .mat files
2018-10-30 00:47:12 +01:00
Javier 5b3eb12998 Implementation of new receiver telecommands standby and coldstart 2018-10-28 11:09:01 +01:00
Damian Miralles 8c16d945f8 beidou b1i: Merging new changes and adding bug fixes to code 2018-10-22 14:16:38 -05:00
Marc Majoral 17ddab1c3e Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-10-17 15:49:58 +02:00
Carles Fernandez 8e5a24b32d
Merge branch 'trk_hi_dyn' of https://github.com/antonioramosdet/gnss-sdr into antonioramosdet-trk_hi_dyn 2018-10-10 19:34:51 +02:00
Marc Majoral 8710ba1cf7 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-10-08 19:47:39 +02:00
Carles Fernandez 78c0b76cb9
Avoid use of GLOB for source and header files 2018-10-04 22:35:44 +02:00
Marc Majoral df3caf5c2b Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-09-18 11:43:19 +02:00
Antonio Ramos 48b98165b4 Add high dynamic functionality to L5, E1 and E5a 2018-09-17 19:39:59 +02:00
Antonio Ramos 4375d0a051 Clean code 2018-09-17 19:19:19 +02:00
Marc Majoral 5b9b63cc77 implemented tracking pull-in tests for the FPGA
solved a bug in which the SW was using the doppler shift index reported by the HW acquisition accelerator plus one, instead of using the doppler shift index as such.
2018-09-12 16:02:23 +02:00
Antonio Ramos f22a1586c7 Merge branch 'next' into trk_hi_dyn 2018-09-09 20:42:58 +02:00
Antonio Ramos 25d04a94f2 Update rem_carrier_phase and minor changes 2018-09-09 18:19:43 +02:00
Antonio Ramos 2903e48e39 Dump carrier_phase_rate and modify matlab file 2018-09-08 23:20:29 +02:00
Carles Fernandez 49beb1241a
Fix header and testing in non-interactive environments 2018-09-04 20:08:59 +02:00
Javier Arribas da2c8f9977 Tunning GPS L5 default carrier lock threshold 2018-08-27 18:06:20 +02:00
Carles Fernandez ff90cf1a7e Remove unused parameter 2018-08-21 15:01:35 +02:00
Carles Fernandez a833abbb8a Merge branch 'kf' of https://github.com/gnss-sdr/gnss-sdr into next 2018-08-21 11:50:39 +02:00
Gerald LaMountain e42467a068 Updates to integration of bayesian_estimation library into GPS L1 kalman tracking block 2018-08-13 21:18:01 -04:00
Sergi Segura fc98fa6afe cleaning code for gsoc 2018-08-12 23:58:16 +02:00
Marc Majoral b1a7031e52 solved some bugs in GPS L5
removed check for sign in multicorrelator results: this is not necessary anymore
did some other minor maintenances
2018-08-07 18:56:54 +02:00
Marc Majoral daedfc3e01 adapted the FPGA tracking class according to the latest changes in the next branch 2018-08-02 17:32:59 +02:00
Marc Majoral 7e246dea29 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-08-01 18:59:40 +02:00
Marc Majoral bb33faea21 improved existing code
started the GPS L2 FPGA class implementation (not finished yet)
implemented the GPS L5 FPGA class (not tested yet)
implemented the Galileo E5 FPGA class (not tested yet)

The code is still "dirty": it is yet to be cleaned of debug comments/code and any possible redundant code and not used variables.
2018-08-01 15:55:40 +02:00
Carles Fernandez 16848069ee
Fix building 2018-07-20 13:19:41 +02:00
Sergi Segura 51aa80aa46 tracking working, some satellites with loss of lock 2018-07-10 23:30:15 +02:00
Sergi Segura bf8ffe63cf implemented the acquisition block, not working 2018-07-06 14:42:13 +02:00
Carles Fernandez e454dc7e14 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into kf 2018-07-04 13:09:28 +02:00
Gerald LaMountain 0dd99e3c5d Add configurable model order to KF tracking (order 2, order 3) 2018-07-03 14:47:17 -04:00
Carles Fernandez 69b05ff96d Initialize configuration object 2018-06-19 12:55:14 +02:00
Javier Arribas 799fe45830 Migrating DLL/PLL configuration from struct to class and adding tracking quality indicators plot sample MATLAB script 2018-06-19 11:36:15 +02:00
Carles Fernandez ebd8b46e51 Remove if parameter from Acquisition and Tracking blocks 2018-06-06 17:25:03 +02:00
Carles Fernandez 424f812790
Fix clang warnings about unused private member 2018-06-03 19:11:16 +02:00
mmajoral 75cbc3fcdd Added Galileo E1 acquisition + tracking classes that use the generic acquisition and tracking classes for the FPGA HW accelerators (still to be tested). Did some minor code cleaning to the GPS files that use the FPGA HW accelerator. 2018-05-22 12:25:14 +02:00
Carles Fernandez 93954fbbe1
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into kf 2018-05-14 08:16:36 +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
Carles Fernandez 7754fc66a6 Code cleaning 2018-05-09 13:09:26 +02:00
mmajoral 0b9b9f4c39 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga.
Use a generic tracking radio block class for the tracking code that uses the FPGA HW accelerators.
2018-05-09 11:11:12 +02:00
Carles Fernandez a5be528c90 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into HEAD 2018-05-07 15:08:28 +02:00
mmajoral 4fa5648aa4 Currently creating a generic tracking class for the FPGA in the same way as it is done in the SW. 2018-05-03 10:38:21 +02:00
Carles Fernandez 6d6b583169
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into mmajoral-fpga 2018-04-30 19:23:35 +02:00
Carles Fernandez 1573c40938
Expose some tracking parameters to the configuration
Replace GPS_L5i_DLL_PLL_Tracking by GPS_L5_DLL_PLL_Tracking since now it can also track the Q component. Old name still recognized for backward compatibility

Fix typo in flag documentation
2018-04-28 12:33:46 +02:00
Carles Fernandez 38524fc559 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into kf 2018-04-10 10:52:28 +02:00
Carles Fernandez 6e19c0c63d Add work on the Kalman filter 2018-04-10 10:52:19 +02:00
Javier Arribas 8e59a42ae2 Merge Next with FPGA. Adding software-defined emulation of the sample counter 2018-04-06 17:03:20 +02:00
Antonio Ramos 5d9fb5af38 Migrate tracking adapters to new conf structure 2018-04-06 10:10:32 +02:00
Antonio Ramos 267e9d95c6 Merge branch 'next' into tracking_conf_structure 2018-04-06 09:56:08 +02:00
Carles Fernandez a31f4fc7cc Use dll_pll_veml_tracking tracking block for GPS L5 2018-04-05 21:49:32 +02:00
Carles Fernandez 32cfe3e228 Use dll_pll_veml_tracking tracking block for Galileo E5a 2018-04-05 21:35:01 +02:00
Carles Fernandez c1eccf1a27 Delete unused member 2018-04-05 21:24:01 +02:00
Carles Fernandez 8a4b51bf38 Use dll_pll_veml_tracking tracking block for GPS L2C 2018-04-05 21:15:51 +02:00
Antonio Ramos dd04df5bc3 Add DLL PLL tracking configuration structure 2018-04-05 18:08:49 +02:00
Carles Fernandez 6345b5dd15 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into kf 2018-04-05 10:15:39 +02:00
Carles Fernandez c9630013f1 Remove old comment 2018-04-03 19:28:56 +02:00
Antonio Ramos 843679f0ed Report days, hours, mins and secs instead of secs 2018-04-03 12:14:54 +02:00
Carles Fernandez 5656dbee89 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into kf 2018-04-03 11:52:57 +02:00
Antonio Ramos ebb908f2e7 Merge branch 'next' into observables_and_display_color 2018-04-03 11:01:59 +02:00
Carles Fernandez 73dac46c07 Remove unused private member 2018-03-29 15:24:08 +02:00
Carles Fernandez ce5dede084 Remove old galileo_e1_dll_pll_veml_tracking_cc block 2018-03-29 15:19:21 +02:00
Carles Fernandez 6db935b133 Remove old gps_l1_ca_dll_pll_tracking_cc block 2018-03-29 15:08:54 +02:00
Carles Fernandez 1eede79e7f Integrate unified block for DLL/PLL Tracking 2018-03-29 12:54:03 +02:00
Carles Fernandez bd0222f4b7 Fix defects detected by Coverity Scan and fix building in MacOs 2018-03-27 11:01:23 +02:00
Carles Fernandez 97e5d88623 Minor fixes: typos, includes 2018-03-26 15:06:14 +02:00
Damian Miralles 287d38dea2 GLONASS L2 CA Signal Addition
Adds GLONASS L2 C/A signal processing to GNSS-SDR based on previous
work developed for the L1 signal. All code have been added in a single
commit with the idea to illustrate the process of signal addition for
future work
2018-03-24 12:44:26 -06:00
Antonio Ramos 5a86de623b Fix tests 2018-03-21 16:29:04 +01:00
Antonio Ramos afdad07493 Clean code 2018-03-20 12:30:20 +01:00
Antonio Ramos e94d7296dc Add warnings to tracking adapters 2018-03-20 12:04:53 +01:00
Antonio Ramos 02deff9b24 Add new tracking block to GPS L2 adapter 2018-03-19 16:52:36 +01:00
Antonio Ramos f2fe8e9d0d Extended correlator GPS L1 2018-03-16 17:40:24 +01:00
Antonio Ramos a7737d55da Fix Gal E1 primary code generation 2018-03-16 16:03:40 +01:00
Antonio Ramos bdce8b6a66 Add float code generation in some signals 2018-03-16 11:43:33 +01:00
Carles Fernandez fa89da48e6 Add KF test, some KF implementation fixes, use flags in tests 2018-03-15 18:56:29 +01:00