Carles Fernandez
d65daac971
Code formatting (cpplint.py --filter=-,+whitespace/tab,+whitespace/comments)
2020-02-11 21:47:13 +01:00
Carles Fernandez
39f4adb058
Remove unused dependencies
2020-02-11 12:56:33 +01:00
Carles Fernandez
8c16ceca14
Move gnss_sdr_flags dependency to private
2020-02-11 12:19:48 +01:00
Javier
b2a17b23c5
Move debug acquisition messages from LOG(INFO) to DLOG(INFO)
2020-02-10 11:00:03 +01:00
Carles Fernandez
955348b080
Remove trailing underscore in header guards
2020-02-08 10:10:46 +01:00
Carles Fernandez
4d0d263280
Make the software package compliant with the REUSE Specification v3.0 (see https://reuse.software/spec/ )
...
Update license headers to SPDX format (see https://spdx.org/ )
Add license to all files
Add CI job in GitHub Actions to ensure compliance
2020-02-08 01:20:02 +01:00
Carles Fernandez
a8fb2a6fb5
Update configurations (remove use_CFAR_algorithm parameter)
2020-02-05 22:15:50 +01:00
Carles Fernandez
d6ec2a7b2c
Update links (mainly from http to https, fix broken links)
2020-02-05 21:24:46 +01:00
Carles Fernandez
9023f19794
Use C++ comments for final #endif in headers
2020-01-26 22:23:22 +01:00
Marc Majoral
eb0df94336
updated fpga-related unit tests + fixed fpga acquisition log of sample stamp + stop tracking message unlocks channel (the fpga multicorrelator stops blocking the flow of samples)
2019-12-16 18:44:22 +01:00
Carles Fernandez
6993890587
Remove old comments
2019-11-24 22:25:18 +01:00
Carles Fernandez
abc12aaab3
Do not read use_CFAR_algorithm from configuration
...
Now it is just an internal flag not exposed to the configuration.
Added a control to ensure pfa and pfa2 are between 0.0 and 1.0
2019-11-24 12:18:21 +01:00
Carles Fernandez
f2a537e403
Remove old code from acquisition adapters
2019-11-24 11:33:32 +01:00
Carles Fernandez
a6300b7ccb
Fix parameter reading
2019-11-23 22:34:46 +01:00
Carles Fernandez
e0f8bdd8cc
Fix initializations
2019-11-23 19:10:36 +01:00
Carles Fernandez
d6528a4d13
Fix GPS L5 adapter
2019-11-23 11:23:36 +01:00
Carles Fernandez
134ddd8561
Fix existing conf files using threshold instead of pfa
2019-11-17 12:24:03 +01:00
Carles Fernandez
c7866ef385
Remove unused private members, replace std::bind by lambdas, apply clang-tidy and clang-format
...
Fix position_test with default parameters
2019-11-16 18:00:04 +01:00
Cillian O'Driscoll
7a7fd9a7b2
Fixed two missed references to "ic8" -> cbyte
2019-11-15 11:47:46 +00:00
Cillian O'Driscoll
feab31ae6b
Reverted to gnss-sdr style naming for item_types
...
i8->byte
ic8->cbyte
...
fc32->gr_complex
2019-11-15 11:39:05 +00:00
Cillian O'Driscoll
3d27940b0a
Applied clang-format
2019-11-08 13:47:08 +00:00
Cillian O'Driscoll
db57db839f
Fixed unused variable warning
2019-11-08 13:44:07 +00:00
Cillian O'Driscoll
00c76b8683
Added other pcps adapters to the new format
2019-11-08 13:44:07 +00:00
Cillian O'Driscoll
a1fe98f833
Updates to get tests passing [acq refactor]
2019-11-08 13:44:07 +00:00
Cillian O'Driscoll
6a969b1ea3
Fixes for crashing tests in acq_conf
2019-11-08 13:44:07 +00:00
Cillian O'Driscoll
1bfb60d11c
Ported galileo acquisition to new approach
2019-11-08 13:44:07 +00:00
Cillian O'Driscoll
3071aa1fcd
[WIP] Simplifying acquisition config
2019-11-08 13:44:07 +00:00
Cillian O'Driscoll
75c57e90e5
[WIP] Fixing threshold setting in pcps_acquisition
2019-11-08 13:44:07 +00:00
Marc Majoral
8bb25dc682
removed the messages related to the fft blk exponent
2019-10-28 20:21:47 +01:00
Carles Fernandez
b4e4c849b1
More usage of volk_gnsssdr::vector
2019-10-27 21:34:19 +01:00
Carles Fernandez
9a9c8825ed
Improved usage of reserve/resize
2019-10-27 12:51:01 +01:00
Carles Fernandez
82089979fe
Fix usage of resize instead of reserve
2019-10-27 11:25:31 +01:00
Carles Fernandez
b1166de1a0
Introduce volk:gnsssdr::vector
...
The usual benefits of using objects as opposed to pointers (RAII) + the type information is manifest (no void* pointers)
The best of both worlds: automatic destruction, aligned memory
2019-10-26 22:24:42 +02:00
Carles Fernandez
7126185515
Add and apply readability-braces-around-statements check
2019-10-11 19:24:20 +02:00
Carles Fernandez
c9e03557b7
Remove tabs
2019-10-05 03:16:31 +02:00
Marc Majoral
d20284fbc0
removed unused parameters
2019-10-02 15:25:46 +02:00
Carles Fernandez
0e6364af5a
Remove unused variables
2019-09-23 14:25:03 +02:00
Carles Fernandez
269d9010cd
Apply clang-tidy with ENABLE_OPENCL set to ON
2019-09-14 11:27:23 +02:00
Carles Fernandez
d137fda820
Apply clang-tidy
2019-09-13 13:35:26 +02:00
Carles Fernandez
e80122f4ff
Apply clang tidy checks and clang-format
2019-09-13 08:56:37 +02:00
Carles Fernandez
38a987607e
Make use of the new Boost::headers target introduced in CMake 3.15
2019-09-07 12:36:19 +02:00
Carles Fernandez
02318c0382
Give to global parameters more meaningful name
2019-08-31 11:37:29 +02:00
Carles Fernandez
95f688dcb0
Mark all constructors callable with one argument as explicit
2019-08-23 21:25:44 +02:00
Carles Fernandez
d4bb6e5731
Always have a space between // and comment
2019-08-18 22:16:13 +02:00
Carles Fernandez
4dd8aa12b4
Replace C style casts by C++ casts
2019-08-18 12:54:16 +02:00
Carles Fernandez
c31d9dea40
Fix errors risen by include_what_you_use
2019-08-17 13:56:54 +02:00
Carles Fernandez
3d146019dd
Apply modernize-redundant-void-arg clang-tidy fix
2019-08-14 02:14:29 +02:00
Carles Fernandez
ad477fd12f
Fix warning (unused parameter)
2019-08-13 21:26:36 +02:00
Carles Fernandez
487010346f
Apply readability-isolate-declaration clang-tidy check
2019-08-13 00:19:31 +02:00
Carles Fernandez
3e3af9de5a
Add new configuration option ENABLE_ARMA_NO_DEBUG
...
When enabled, defines the ARMA_NO_DEBUG macro in Armadillo, disabling bound checking.
Disabled by default, but it is set automatically to ON if ENABLE_PACKAGING is set to ON
2019-08-12 11:33:51 +02:00
Carles Fernandez
070996cdb4
Apply clang-tidy check readability-else-after-return
2019-08-04 13:15:03 +02:00
Carles Fernandez
4ec498514c
Build OpenCL block only if enabled with -DENABLE_OPENCL=ON
2019-08-02 14:59:05 +02:00
Carles Fernandez
2ec6ed6ec6
Clean usage of Guidelines Support Library
2019-07-29 21:47:46 +02:00
Carles Fernandez
4933ae3e0d
No Armadillo bound checking if compiled in Release mode
2019-07-29 21:22:44 +02:00
Carles Fernandez
8aaf6019e9
Better usage of the GSL, other minor cleaning
2019-07-27 11:22:08 +02:00
Carles Fernandez
822185ff93
Fixes by clang-tidy, clang-format and codespell
2019-07-26 13:58:15 +02:00
Carles Fernandez
d818aacde4
Avoid name clash with system macro in macOS
2019-07-26 13:22:11 +02:00
Carles Fernandez
d626ca1f88
Merge branch 'fpga_extended_coherent_integration' of https://github.com/mmajoral/gnss-sdr into mmajoral-fpga_extended_coherent_integration
2019-07-26 13:12:46 +02:00
Carles Fernandez
a4d6800e22
Update copyright year
...
Applied on files changed since last release
clang-format applied
2019-07-26 12:38:20 +02:00
Marc Majoral
694c5d9dcb
Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration
2019-07-26 10:11:55 +02:00
Carles Fernandez
ddc6b822fb
Simplify code
2019-07-26 03:51:43 +02:00
Marc Majoral
7f594a356b
doppler center frequency for the grid search
2019-07-24 13:02:14 +02:00
Marc Majoral
0b8a408b9a
Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration
2019-07-24 12:02:17 +02:00
Javier Arribas
f18a9adb55
Correct data type in acquisition set doppler center
2019-07-24 12:00:25 +02:00
Marc Majoral
ad7c1afea1
Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration
2019-07-24 11:30:04 +02:00
Marc Majoral
48fe6086e4
updated the handling of the scoped_lock mutex in the fpga tracking loops + used clang-format.
2019-07-24 11:26:16 +02:00
Carles Fernandez
bd99a0674c
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next
2019-07-23 19:32:55 +02:00
Marc Majoral
f30d8a60ec
updated doxygen comments
2019-07-23 19:05:43 +02:00
Carles Fernandez
bf1ac2cb50
Simplify GSL usage
2019-07-23 19:01:18 +02:00
Carles Fernandez
05faf97b70
Switch to automatically managed static memory
2019-07-23 18:54:32 +02:00
Javier Arribas
27b1baf0b7
completing the acquisition assistance option from primary frequencies (e.g. L1, E1) to secondary frequencies (e.g. L5, E5)
2019-07-23 17:56:02 +02:00
Marc Majoral
6ee9fedd76
moved #defines to static consts + used clang-format + removed code that was commented out
2019-07-23 15:20:59 +02:00
Marc Majoral
00993d9719
replaced #defines by static consts + removed unused tracking parameter + removed unnecessary comments
2019-07-22 19:58:37 +02:00
Marc Majoral
d9d3696880
Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration
2019-07-22 17:53:26 +02:00
Carles Fernandez
a172b755f7
Fix typo
2019-07-21 19:37:13 +02:00
Carles Fernandez
be86771ede
Move default destructor to header file, so compiler can make a better job
2019-07-21 19:32:52 +02:00
Carles Fernandez
0ddb063784
Modernize code
...
Automatize memory management
De-clutter clan-tidy warnings by fixing obvious issues
2019-07-19 18:23:36 +02:00
Marc Majoral
3225d92f1b
removed unused variable
2019-07-19 12:24:25 +02:00
Marc Majoral
8b0e170a56
applied clang-format
2019-07-19 11:55:53 +02:00
Marc Majoral
dd996bc2e2
Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration
2019-07-18 11:35:34 +02:00
Marc Majoral
4c22a1ce1a
the tracking module is now sending 1 synchro_data per data symbol.
2019-07-17 18:01:27 +02:00
Carles Fernandez
9572b37da7
Remove uses of bitwise operations on signed integer types
...
Based in the High Integrity C++ Standard, Section 5.6.1
See https://www.perforce.com/resources/qac/high-integrity-c-coding-standard-expressions
Removed some c arrays by std::array
2019-07-14 23:34:07 +02:00
Carles Fernandez
d7460022ed
Avoid C arrays
...
See https://clang.llvm.org/extra/clang-tidy/checks/modernize-avoid-c-arrays.html
2019-07-14 14:09:12 +02:00
Carles Fernandez
def3a8875a
Misc improvements
...
Remove cstdio
Remove usage of cstring and memcpy when it is not needed
Mark move cobstructor with noexcept
2019-07-14 02:28:28 +02:00
Marc Majoral
58cc961aec
Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration
2019-07-10 18:08:30 +02:00
Carles Fernandez
4adb05570a
Fix typos detected by codespell
2019-07-09 11:52:53 +02:00
Marc Majoral
c8ccd5ef91
Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration
2019-07-04 12:55:36 +02:00
Javier Arribas
cf967be252
Consolidating unified dll pll veml tracking to synchronize symbols for GPS L1, L5, Galileo E1, E5 and Beidou B1, B3. Beidou bug fixes in acquisition. Adapting all telemetry decoders to use 1 sample per symbol
2019-07-03 18:57:26 +02:00
Carles Fernandez
081439d6f8
Code cleaning
2019-07-02 17:48:00 +02:00
Carles Fernandez
f1022385b0
Improve memory management
...
In class definitions, first write the public interface, then private
2019-07-01 21:54:52 +02:00
Carles Fernandez
d72542861f
Replace raw pointers by smart pointers. Remove delete
2019-06-30 12:51:23 +02:00
Carles Fernandez
2cc06c8b63
Remove delete in FPGA adapters
2019-06-30 12:10:14 +02:00
Carles Fernandez
17b1ef8b98
Do not use deletes. Improve memory management
2019-06-30 04:47:15 +02:00
Carles Fernandez
d5e5e5725d
Apply fixes by clang-tidy
2019-06-30 00:01:54 +02:00
Carles Fernandez
dd3b2f11db
Fix wrong loop
2019-06-29 21:13:14 +02:00
Carles Fernandez
dd53f81b1a
Replace memcpy by copy_n. Avoid pointer arithmetics
2019-06-29 11:58:08 +02:00
Carles Fernandez
751f54990c
Introduce gsl::span. Bound checking at compile time, no overhead at runtime
...
See https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md
2019-06-29 01:28:30 +02:00
Carles Fernandez
e28062de87
Modernize OpenCL code
2019-06-24 19:25:51 +02:00
Carles Fernandez
de79147def
Fix OpenCL test if the OpenCL Platform is not ready
2019-06-24 14:33:08 +02:00
Carles Fernandez
9318fe540d
Fixes for modern OpenCL versions
2019-06-24 13:39:34 +02:00
Carles Fernandez
a2dcf223f0
Create OpenCL imported target
2019-06-24 11:25:18 +02:00
Marc Majoral
0bb38ce38b
removed some not used variables + code optimization
2019-06-20 14:28:47 +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
Carles Fernandez
8d424a13b6
Replace boost::filesystem by std::experimental::filesystem when the later is available
2019-06-12 20:39:29 +02:00
Carles Fernandez
ca6b4b545b
Replace Boost::filesystem by std::filesystem if C++17 support is available
2019-06-10 21:41:13 +02:00
Marc Majoral
e1d01d3b97
Re-enable uio interrupts manually + do not enable interrupt generation at reset.
2019-05-13 16:30:01 +02:00
Carles Fernandez
307373e362
Avoid unnecessary copy of channel_fsm
2019-04-22 13:03:01 +02:00
Marc Majoral
bf3f66278f
closed the acquisition device driver in the proper way + updated fpga block expponent.
2019-04-15 16:39:05 +02:00
Marc Majoral
059fbfedc2
changed default fft/ifft block exp
2019-04-12 15:26:47 +02:00
Marc Majoral
7a06434928
removed unnecessary function in fpga_acquisition class
2019-04-12 15:16:31 +02:00
Marc Majoral
9f80eaf0ff
code cleanup
2019-04-12 11:36:30 +02:00
Marc Majoral
a628ad5906
removed FPGA dummy read
2019-04-12 10:03:57 +02:00
Marc Majoral
19e46a2ebf
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-04-10 19:53:45 +02:00
Marc Majoral
91f509abf9
write the code phase rate and the nco phase rate parameters in the FPGA
2019-04-10 11:31:34 +02:00
Javier Arribas
a79280d029
FPGA compilation error fix
2019-04-09 20:01:30 +02:00
Javier Arribas
141e101363
Bug fix that restores the acquisition and tracking destructor calls due to circular smart pointer references
2019-04-09 17:39:48 +02:00
Carles Fernandez
cc162dac9e
Code cleaning
2019-04-08 11:14:41 +02:00
Marc Majoral
4d530b0ce4
updated fft-ifft ref exponents
2019-04-05 15:59:40 +02:00
Marc Majoral
6696e378c5
updated the reference value for the gain of the fft-ifft
2019-04-05 15:15:02 +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
Marc Majoral
5bc7a778e9
commented out the old DLL and PLL filters in the tracking modules + removed some old not used code in the acquisition that was already commented out.
2019-04-02 13:10:09 +02:00
Marc Majoral
3249f55029
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-03-27 12:38:43 +01:00
Marc Majoral
4164d28abf
solved a bug: the acquisition device driver was not properly closed if double acquisition was enabled and the second acquisition was not successful.
2019-03-27 12:35:36 +01:00
Marc Majoral
47b405f92d
commented out debug messages that increase the time between accquisition and tracking
2019-03-27 11:57:31 +01:00
Carles Fernandez
77851e5589
BeiDou B3I bug fixes (credits to dmiralles2019)
2019-03-26 22:34:08 +01:00
Marc Majoral
58a0de006e
corrected comment
2019-03-26 16:41:20 +01:00
Marc Majoral
63cee0e63b
In order to reduce the CPU workload, the FPGA acquisition does not close and open the device driver in between the first and the second acquisition anymore.
2019-03-26 16:35:19 +01:00
Marc Majoral
cbc8131677
optimized the computation of FPGA acquisition doppler shift and dopper step registers
...
removed unnecessary function call
2019-03-26 16:22:49 +01:00
Marc Majoral
2b46c79ba7
optimized the process of computing and writing the fft of the local code to the acquisition HW accelerator.
...
The writing of the local code is still performed by processor instructions in a loop.
THe FPGA L2 classes were updated accordingly.
2019-03-26 12:26:08 +01:00
Marc Majoral
905a85670c
currently optimizing the FPGA-related code
2019-03-25 19:45:54 +01:00
Marc Majoral
2bae20d2fd
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
...
added second acquisition to reduce the time between acquisition and tracking when using the FPGA
moved the process of writing of the tracking local code to the HW accelerator from the start_tracking() function to the set_gnss_synchro() function (this is only applicable for the FPGA case)
there was a bug in the computation of the tracking starting position for the L1/E1 band when using the FPGA, only high sample counter values (>31 bits) were affected, due to a uint64_t*float mult.
2019-03-22 19:03:46 +01:00
Carles Fernandez
88b60aa6b1
Remove unused includes
2019-03-20 18:08:39 +01:00
Carles Fernandez
f3d91bbd38
Remove unused includes
2019-03-20 18:00:37 +01:00
Marc Majoral
e6b661494c
moved to 16 bits per local code.
2019-03-20 16:59:32 +01:00
Javier Arribas
55b1f316ed
Removing gnuradio block inheritance in FPGA acquisition
2019-03-20 16:57:50 +01:00
Marc Majoral
6da82535ba
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-03-20 16:35:55 +01:00
Carles Fernandez
8a52c20e28
Add missing override keyword
2019-03-20 15:44:59 +01:00
Javier Arribas
0be8c657de
Reducing the latency in the acquisition to tracking transition
2019-03-20 15:13:17 +01:00
Marc Majoral
a24d26f427
set the default sampling frequency of the HW source to 12.5 Msps and the default bandpass bandwidth to 12.5 MHz + other minor changes
2019-03-19 10:14:09 +01:00
Marc Majoral
bef7e42fb9
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-03-18 19:37:19 +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
9ce827437c
Improve includes (IWYU)
2019-03-06 16:10:18 +01:00
Carles Fernandez
5b8ab9f591
Improve includes (IWYU)
2019-03-06 13:49:14 +01:00
Carles Fernandez
e7ea5c1fdd
Remove superfluous 'using google::LogMessage'
2019-03-03 13:39:35 +01:00