1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-09-29 07:20:51 +00:00
Commit Graph

402 Commits

Author SHA1 Message Date
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
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
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
Carles Fernandez
b4e4c849b1
More usage of volk_gnsssdr::vector 2019-10-27 21:34:19 +01:00
Carles Fernandez
7126185515
Add and apply readability-braces-around-statements check 2019-10-11 19:24:20 +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
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
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
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
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
8aaf6019e9
Better usage of the GSL, other minor cleaning 2019-07-27 11:22:08 +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
Marc Majoral
f30d8a60ec updated doxygen comments 2019-07-23 19:05:43 +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
Marc Majoral
3225d92f1b removed unused variable 2019-07-19 12:24:25 +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
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
Carles Fernandez
4adb05570a Fix typos detected by codespell 2019-07-09 11:52:53 +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
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
de79147def
Fix OpenCL test if the OpenCL Platform is not ready 2019-06-24 14:33:08 +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
19e46a2ebf Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-04-10 19:53:45 +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
3249f55029 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-03-27 12:38:43 +01:00
Carles Fernandez
77851e5589
BeiDou B3I bug fixes (credits to dmiralles2019) 2019-03-26 22:34:08 +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
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
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
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
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
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
Marc Majoral
ea86546d99 implemented double acquisition for the FPGA 2019-02-28 20:49:35 +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
5e22e4c50a cleaned the FPGA acquisition code 2019-02-26 18:28:14 +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
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
Marc Majoral
fd3eb2a80e The termination process is now done correctly when using the FPGA. 2019-02-13 17:48:14 +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