Marc Majoral
f30d8a60ec
updated doxygen comments
2019-07-23 19:05:43 +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
09b6b2305e
Handle redefinition of Boost_VERSION variable in CMake 3.15
...
See Policy CMP0093 https://cmake.org/cmake/help/v3.15/policy/CMP0093.html#policy:CMP0093
CMake 3.15 policies enabled by default (see https://cmake.org/cmake/help/v3.15/manual/cmake-policies.7.html#manual:cmake-policies(7) )
2019-07-22 14:13:57 +02:00
Marc Majoral
8d813f05d1
updated the calculation of the FPGA integration length variable
2019-07-22 11:47:33 +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
49e64f94f6
Code cleaning, initializations
2019-07-20 11:13:28 +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
851d36cb9b
minor code optimizations + replaced #defines by constants in the tracking adapters
2019-07-19 17:23:00 +02:00
Marc Majoral
f426294385
removed unnecessary messages
2019-07-19 13:04:39 +02:00
Marc Majoral
8b0e170a56
applied clang-format
2019-07-19 11:55:53 +02:00
Marc Majoral
8c84702f27
implemented the stop_tracking() function
2019-07-18 19:12:17 +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
0e54fad652
Merge branch 'bds_fix' of https://github.com/dmiralles2009/gnss-sdr into dmiralles2009-bds_fix
2019-07-15 09:48:31 +02:00
Damian Miralles
410269069a
bds: Bug fixes in carrier wavelength computation
...
Changed wavelength computation to native method within RTKLIb. The native method
should also help in the PVT computation of GLONASS satellites as it considers
the freq. offset when computing the wavelength. This also fixes typo in tracking
stage for MEO satellites of the BDS constellation.
Note: A similar approach to carrier wavelength computation should be applied to
the obs_data in rtk_solver. In theory, static allocation should not be needed for
the types.
2019-07-14 20:09:52 -05: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
19b35b6cef
Remove cstdio header
...
See * MISRA C++:2008, 27-0-1 - The stream input/output library <cstdio> shall not be used.
2019-07-14 00:42:56 +02:00
Carles Fernandez
90a539ed26
Avoid using cstdio header
...
See MISRA C++:2008, 27-0-1 - The stream input/output library <cstdio> shall not be used.
Replaced by filesystem library.
Avoid using cstring when it is easily replaced
2019-07-13 14:28:48 +02:00
Damian Miralles
00805d4b2f
Updating branch contents
2019-07-10 13:13:01 -05:00
Damian Miralles
b262c58aa8
bds: Add unified trk startegy to deliver 1 symbol per sample
...
This works builds up upon J. Arribas work for unified symbol dec in tracking.
Fixes a couple of bugs with PVT code and adds new code for RINEX functions. Adds
cosmetic fixes to the code with unused variables.
2019-07-10 12:52:40 -05: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
Marc Majoral
ca9e8cd9b5
updated the tracking module. Added some variables to adapt it to the new telemetry modules.
2019-07-10 18:02:57 +02:00
Marc Majoral
718fc03442
removed integrating parameter from log_data()
2019-07-09 20:11:21 +02:00
Marc Majoral
3095176524
added the bit synchronization time limit and the doppler correction
2019-07-09 19:15:27 +02:00
Marc Majoral
fc18eba4dd
removed tracking state 0
2019-07-09 12:17:56 +02:00
Carles Fernandez
4adb05570a
Fix typos detected by codespell
2019-07-09 11:52:53 +02:00
Carles Fernandez
6cc1de7118
File cleaning
2019-07-07 21:44:58 +02:00
Carles Fernandez
5f1a418a9b
Merge branch 'tracking_debug' of https://github.com/gnss-sdr/gnss-sdr into move
2019-07-06 13:03:09 +02:00
Carles Fernandez
95ece1e6d4
Simplify move assignment operator
2019-07-06 12:34:27 +02:00
Javier Arribas
0d3299f29b
Fix Beidou. Disabled symbol integration in tracking for Beidou and disabled experimental tracking carrier Doppler correction for all systems
2019-07-05 20:30:34 +02:00
Carles Fernandez
0e0991a1a5
Add move assignment operator
2019-07-05 14:44:56 +02:00
Javier Arribas
38b91bec13
Fix GPS L2CM tracking and tlm decoding
2019-07-05 13:29:23 +02:00
Javier Arribas
29f13e5e31
Set noutput items limit in telemetry decoders and some minor changes
2019-07-04 17:19:33 +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
951e179bb8
Debug gnuradio buffer latency test 2
2019-07-04 12:54:45 +02:00
Marc Majoral
feccc62c04
solved some bugs related to the extended integration in the FPGA
2019-07-04 12:48:35 +02:00
Javier Arribas
7877754cb2
Debug gnuradio buffer latency
2019-07-04 12:16:37 +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
Javier Arribas
21f00d5172
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug
2019-07-02 10:02:42 +02:00
Carles Fernandez
018cde8953
Write public interface first, then private members in class definitions
2019-07-01 23:44:42 +02:00
Carles Fernandez
658b001acc
Fix building
2019-07-01 11:44:04 +02:00
Carles Fernandez
587ec66e78
Remove wrong delete
2019-07-01 11:03:18 +02:00
Javier Arribas
e17472d986
Partial merge commit, to be fixed in next commit
2019-07-01 11:00:38 +02:00
Carles Fernandez
05c41d41e1
Remove deletes
2019-06-30 15:15:27 +02:00
Carles Fernandez
ce1e160f10
Remove deletes when using Matio
2019-06-30 14:32:40 +02:00
Carles Fernandez
5e42795677
Use auto
2019-06-30 12:09:11 +02:00
Carles Fernandez
d5e5e5725d
Apply fixes by clang-tidy
2019-06-30 00:01:54 +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
Marc Majoral
2982961e49
currently making changes to be able to extend the FPGA coherent integration beyond 20 ms for GPS L1, 1 ms for Galileo E1, 10 ms for GPS L5 and 20 ms for Galileo E5a using SW.
2019-06-28 10:54:19 +02:00
Carles Fernandez
684944d523
Remove unused variable
2019-06-25 12:04:34 +02:00
Carles Fernandez
e3d3285cd9
Fix broken compilation when ENABLE_CUDA was ON
2019-06-25 11:40:10 +02:00
Carles Fernandez
0e5211dbf0
Modern CUDA usage
2019-06-24 20:02:19 +02:00
Marc Majoral
0bb38ce38b
removed some not used variables + code optimization
2019-06-20 14:28:47 +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
Carles Fernandez
31c8b7afff
Fix building (add missing include)
2019-06-18 14:41:50 +02:00
Javier Arribas
47e6e173cb
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug
2019-06-17 09:53:14 +02:00
Carles Fernandez
16f7c4b889
Pass vectors and matrices by reference, rename classes to CamelCase style
2019-06-16 14:54:41 +02:00
Carles Fernandez
7467f94164
Relax Armadillo version for nonlinear filters
2019-06-15 10:54:49 +02:00
Carles Fernandez
1d80f1ba9b
Fix building if Armadillo < 9.400
2019-06-14 18:22:07 +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
afc2a98089
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug
2019-06-14 12:39:25 +02:00
Carles Fernandez
7c23fb35b6
Apply clang-format
2019-06-14 10:21:26 +02:00
Gerald LaMountain
c1f4c2aef3
Merge branch 'next' into kf19-next
2019-06-13 15:47:54 -04:00
Gerald LaMountain
0e68befe7c
Add unscented filter to nonlinear_filtering library and add associated unit test
2019-06-13 15:42:52 -04:00
Gerald LaMountain
49a8f9a22a
Rename cubature_filter library to nonlinear_filtering
2019-06-13 15:41:56 -04:00
Javier Arribas
5a43e757dd
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug
2019-06-13 17:59:58 +02:00
Carles Fernandez
dd2198fd00
Apply code formatting
2019-06-13 17:37:32 +02:00
Carles Fernandez
ce3d018f67
Merge branch 'kf19-next' of https://github.com/glamountain/gnss-sdr into glamountain-kf19-next
2019-06-13 17:14:03 +02:00
Gerald LaMountain
83d77fabb0
Update cubature filter library to align with coding conventions
2019-06-13 11:07:10 -04:00
Gerald LaMountain
c567be407c
Merge branch 'next' into kf19-next
2019-06-12 14:52:44 -04:00
Gerald LaMountain
6f5bca8188
Add cubature filter library to tracking and associated unit test to tests
2019-06-12 14:51:19 -04:00
Carles Fernandez
8d424a13b6
Replace boost::filesystem by std::experimental::filesystem when the later is available
2019-06-12 20:39:29 +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
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
59494034d8
Better fix for Boost Asio and string_view issue in macOS
2019-05-26 02:09:53 +02:00
Carles Fernandez
d13e00ba50
Fix documentation
2019-05-22 13:24:41 +02:00
Carles Fernandez
5c9bb66379
Revert "Adding missing factor in CN0 estimator"
...
This reverts commit 8b77576166
.
2019-05-22 13:23:21 +02:00
Javier Arribas
8b77576166
Adding missing factor in CN0 estimator
2019-05-21 12:10:22 +02:00
Gerald LaMountain
dddf6dedb3
Add refs to tracking lib for bayesian estimation
2019-05-20 20:42:41 +02:00
Gerald LaMountain
8cc141341b
Add tracking lib for cubature kalman filter
2019-05-20 12:47:42 -04:00
Gerald LaMountain
d4d849c83d
Add refs to tracking lib for bayesian estimation
2019-05-20 12:42:43 -04:00
Carles Fernandez
a1f77607c3
Fix building in some macOS configurations
2019-05-16 20:49:10 +02:00
Javier Arribas
be5ffe6b67
Implementation of Differential Arctangent Discriminator for FLL
2019-05-15 17:38:45 +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
Marc Majoral
585ecf2a84
removed the activation of the flag that causes the tracking HW accelerators to trigger an interrupt upon reset.
2019-05-13 16:30:01 +02:00
Carles Fernandez
6a6ec19b63
Fix building with Boost 1.65.1 (Ubuntu 18.04)
2019-05-08 21:35:15 +02:00
Carles Fernandez
a8bcc77bfc
Add blank line
2019-05-08 19:31:13 +02:00
Carles Fernandez
5563e609ec
Fix identification of Boost version
2019-05-08 19:28:53 +02:00
Carles Fernandez
214c9d5de0
Fix building for Boost < 1.66
2019-05-08 16:15:59 +02:00
Carles Fernandez
40f0a93695
Replace boost::asio::io_service (deprecated since Boost 1.66) by boost::asio::io_context
2019-05-08 15:23:55 +02:00
Carles Fernandez
cd0e7adaf4
Correct comments. Fixes : #269
2019-05-01 14:44:12 +02:00
Carles Fernandez
692cbf3130
Do not use std::cbegin, not available in old versions of gcc
2019-04-27 18:39:20 +02:00
Carles Fernandez
3602f9772c
Use constant iterators
2019-04-27 13:34:21 +02:00
Carles Fernandez
9d36199901
Trim CN0 smoother parameters. Add it to the FPGA block
2019-04-25 15:30:11 +02:00
Carles Fernandez
42c0544c4c
Accelerate CN0 estimation
2019-04-25 14:58:30 +02:00
Carles Fernandez
50d4db9c05
Add a simple CN0 smoother
2019-04-25 08:50:21 +02:00
Carles Fernandez
7fc8d53508
Remove double assignment. Fixes #266
2019-04-14 13:01:59 +02:00
Marc Majoral
9f80eaf0ff
code cleanup
2019-04-12 11:36:30 +02:00
Marc Majoral
692978f66b
updated the PLL/DLL initialisation according to the latest changes in dll_pll_veml_tracking.cc
2019-04-11 11:44:00 +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
1a3305fc5b
static cast
2019-04-10 19:40:34 +02:00
Marc Majoral
2555f26238
use of d_preamble_length_symbols
2019-04-10 17:18:27 +02:00
Marc Majoral
824dcebec2
immediate call to state 2 (Wide tracking and symbol synchronization) removed from pull-in state.
2019-04-10 16:53:03 +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
226edca17c
Improving tracking loop filter initialization
2019-04-09 17:36:05 +02:00
Marc Majoral
19184da0f9
The FPGA multicorrelator interrupt is enabled only once when a satellite is assigned to a particular channel. Until now the interrupt was automatically disabled by the interrupt handler of the uio driver and the multicorrelator code had to re-enable it every time. This change saves CUP cycles for real-time operation. It requires that the code that disables the interrupt in the uio driver interrupt handler is commented out.
2019-04-09 16:03:31 +02:00
Marc Majoral
2da2fa12e3
removed some non-used variables and some non-used instructions. Changed the initialisation of d_current_prn_length_samples to vector_length, instead of T_prn_mod_samples
2019-04-09 11:23:30 +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
Javier Arribas
bd22ef5153
Improving DLL discriminators implementation
2019-04-03 15:25:40 +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
db05be36d1
removed non essential instructions in start_tracking() function and moved them to set_gnss_synchro (which is called with a valid PRN before starting an acquisition of a new channel)
2019-04-02 15:53:16 +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
edac9923ae
updated the tracking code loop filter, the carrier filter and the d_Prompt circular buffer.
2019-04-01 12:38:45 +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
Marc Majoral
3098ca1a48
added the reception of messages from the telemetry module to the FPGA tracking modules.
2019-03-27 16:59:04 +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
6a17a33d6f
Expose more tracking parameters to the configuration: filters order, FLL usage, pull-in time
2019-03-21 19:21:39 +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
10d73da839
Fix typo
2019-03-19 20:39:23 +01:00
Carles Fernandez
c8d27eb97c
Move contructor to the beginning of the file
2019-03-19 20:37:42 +01:00
Carles Fernandez
296d6d66c9
Move constants to implementation, fix typos in comments
2019-03-19 20:16:59 +01:00
Carles Fernandez
4bc4fb9988
Remove misleading comment
2019-03-19 19:53:51 +01:00
Carles Fernandez
3cd1e70706
Fix defects detected by Coverity Scan
2019-03-19 07:53:21 +01:00
Javier Arribas
df46cdeb65
Add missing message ports to trackings
2019-03-18 21:49:59 +01:00
Carles Fernandez
2afcbb7803
Fix warning
2019-03-18 21:47:36 +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
Javier Arribas
48180c967a
Replacing PLL/DLL fixed order loop filters with DLL/PLL/FLL order-configurable filters. Adding PLL false lock protection by using telemetry validation flag
2019-03-18 19:35:40 +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
3136817737
bds_b3i: Adding BeiDou B3I PVT computation
2019-03-17 18:49:06 -05: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
502bf32d83
Improve includes (IWYU)
2019-03-06 14:36:51 +01:00
Damian Miralles
de964d4a77
bds_b3i: fixing bug in b1i for d2 decoding
2019-03-05 16:00:26 -06:00
Carles Fernandez
3f4a1dba09
Remove unused include
2019-03-05 12:53:27 +01:00
Carles Fernandez
c82c7225dd
Improve includes with the aid of include-what-you-use (IWYU)
...
See rationale at https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/WhyIWYU.md
2019-03-05 08:59:04 +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
Damian Miralles
16e66834fa
bds_b3I: trying to fix bug with b1i pvt
2019-03-01 15:16:37 -06: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
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
Carles Fernandez
e6d2776f1b
Replace std::deque by faster boost::circular_buffer
2019-02-28 14:10:44 +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
a734411b86
clang-tidy: apply performance-type-promotion-in-math-fn check
2019-02-21 12:46:01 +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
88147d4956
Fix build with Clang (not AppleClang) on macOS
2019-02-20 22:21:53 +01:00
Carles Fernandez
eedc3d5de6
clang-tidy: apply checks
2019-02-19 09:08:09 +01:00
Carles Fernandez
b5c59ee6f7
Fix defects detected by Coverity Scan
2019-02-14 22:49:36 +01:00
Carles Fernandez
31383258b0
clang-tidy: apply checks
2019-02-12 15:56:18 +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
0c4b68c92d
clang-tidy: apply performance-move-const-arg check
...
See https://clang.llvm.org/extra/clang-tidy/checks/performance-move-const-arg.html
2019-02-12 02:07:06 +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
b9c115bdf8
clang-tidy: apply modernize-use-using check
2019-02-11 13:13:06 +01:00
Carles Fernandez
4b2b205e21
Avoid throwing exceptions from destructors
...
Detected by clang-tidy check bugprone-exception-escape
2019-02-10 21:55:51 +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
bf65447cdf
Remove unused includes
2019-02-10 13:23:36 +01:00
Carles Fernandez
ce051e040f
Improve target design
2019-02-10 01:13:02 +01:00
Carles Fernandez
a63d7834f4
Remove unused include
2019-02-10 00:12:19 +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
1633556504
Fix comparison warnings
2019-01-28 02:54:02 +01:00
Carles Fernandez
2389eed440
Fix comparison warning
2019-01-28 02:49:27 +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
7cef679744
bds_b1i: Adding support for d2 nav decoding
2018-12-26 12:54:23 -06:00
Damian Miralles
7cdd2ee477
bds b1i: Adding geo satellites tracking and setting up structure for d2 nav decoding
2018-12-24 15:14:10 -06:00
Damian Miralles
42b506d0bb
bds b1i: Merging latest changes from upstream/next
2018-12-18 15:55:36 -06:00
Marc Majoral
7da82dbaea
updated the FPGA tracking gnuradioblock according to the latest changes in the SW tracking gnuradioblock.
2018-12-14 18:15:21 +01:00
Marc Majoral
ae61646270
Solved two bugs:
...
- a minor bug in the E5A fpga acquisition adapter module: a config parameter was not correctly read.
- a bug in the tracking fpga multicorrelator module: if pilot tracking was enabled then the results of the pilot correlator were not correctly read when using the multicorrelator 3-1 HW Accelerator in the FPGA (used for GPS L5 and Galileo E5A).
2018-12-11 14:44:42 +01: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
ef201c4ccd
Add pmt and uhd to clang-format as external libraries
2018-12-10 00:18:27 +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
17260bbcea
Miscelaneous code improvements by clang-tidy
2018-12-08 18:49:31 +01:00
Carles Fernandez
7261bec2ad
Miscelaneous code improvements
2018-12-04 13:20:49 +01:00
Carles Fernandez
bdb912e9da
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next
2018-12-04 00:19:39 +01:00
Carles Fernandez
eb6ff88cec
clang-tidy: apply boost-use-to-string fix (see http://clang.llvm.org/extra/clang-tidy/checks/boost-use-to-string.html )
2018-12-03 23:34:29 +01:00
Carles Fernandez
d95b89beae
clang-tidy: apply performance-unnecessary-value-param fix (see http://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-value-param.html )
2018-12-03 22:38:46 +01:00
Carles Fernandez
fdc12d94b8
Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next
2018-12-03 22:23:08 +01:00
Carles Fernandez
578d96159d
Use emplace back when possible
2018-12-03 22:20:40 +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
2709dc5ec7
clang-tidy: apply performance-faster-string-find (see https://clang.llvm.org/extra/clang-tidy/checks/performance-faster-string-find.html )
2018-12-03 18:17:21 +01:00
Carles Fernandez
b994f466a7
clang-tidy: apply modernize-loop-convert fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-loop-convert.html )
2018-12-03 18:03:25 +01:00
Javier Arribas
ec94bcf43e
Fix set DLL/PLL filter BW at tracking initialization
2018-12-03 17:07:51 +01:00
Damian Miralles
e40999572f
bds b1i: Bug fixes in navigation code
...
Fixes bugs with the conversion to rtklib standard from gnss-sdr.
2018-12-03 09:39:39 -06:00
Carles Fernandez
0d408a6024
clang-tidy: apply modernize-use-auto fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html )
2018-12-03 16:25:11 +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
8319c2d33a
Fix building
2018-12-03 11:19:24 +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
Carles Fernandez
0a46cb1fe1
Use nullptr
2018-12-03 10:05:47 +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
Javier Arribas
514b9dd35f
Improving tracking pull-in algorithm
2018-11-29 17:09:30 +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
3e46f658f6
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2018-11-16 10:34:19 +01:00
Marc Majoral
7023e879db
adapted the software to a bit size for the local copy of the FFT of the GNSS code to 10 bits per sample.
...
worked on the observables tests.
2018-11-13 19:51:12 +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
Marc Majoral
392f92839f
updated L5 and E5a adapters for debugging
...
corrected minor issues
2018-11-05 17:01:29 +01:00
Carles Fernandez
8d3074a9dc
Replace boost::lexical_cast by std::to_string
2018-11-04 22:50:46 +01:00
Carles Fernandez
1f6ae8ea16
Fix doxygen documentation
2018-10-30 00:48:59 +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
e22f8e57c1
beidou b1i: renaming objects of nav decoding
2018-10-22 15:12:50 -05: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
Marc Majoral
8e6370e133
changed the downsampling factor of the L1 and E1 acquisition from /2 to /4
2018-10-17 15:45:08 +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
2826dd21d3
use of the :2 decimator in the GPS L1/Galileo E1 frequency band
...
added methods to the L1 and E1 FPGA acquisition classes for the unit tests to be able to control the doppler sweep from the SW instead of the HW. In this way we can produce more detailed results.
2018-10-04 17:49:09 +02:00
Antonio Ramos
a2b668ef47
Display more information in the terminal line
2018-09-19 19:27:31 +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
Antonio Ramos
a465689f20
Change rem_carrier_phase_rad computation
2018-09-13 19:18: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
0031aaa973
Set high_dynamics to false by default
2018-09-11 20:52:16 +02:00
Antonio Ramos
350fa7da11
Improve moving average smoothing filter for carrier phase and code phase
2018-09-11 20:47:32 +02:00
Antonio Ramos
0210f9a5ce
Estimate code rate chips freq
2018-09-10 21:29:44 +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
Antonio Ramos
b66540b776
Add moving average smoother to carrier phase rate
2018-09-07 19:18:03 +02:00
Antonio Ramos
47e5ef7f39
Improve generic kernel
2018-09-06 17:46:55 +02:00
Carles Fernandez
49beb1241a
Fix header and testing in non-interactive environments
2018-09-04 20:08:59 +02:00
Marc Majoral
2b15343a6a
started tracking pull-in test implementation for the FPGA
2018-08-29 18:20:41 +02:00
Antonio Ramos
4792bc32c6
Add some high dynamics variables
2018-08-28 22:26:26 +02:00
Javier Arribas
da2c8f9977
Tunning GPS L5 default carrier lock threshold
2018-08-27 18:06:20 +02:00
Javier Arribas
6d74370860
Joining Galileo FNAV and FNAV telemetry decoders in a single GNURadio block
2018-08-27 18:05:19 +02:00
Carles Fernandez
bbcc0bee36
Rename volk_gnsssdr_32f_xn_fast_resampler_32f_xn to volk_gnsssdr_32f_xn_high_dynamics_resampler_32f_xn
2018-08-23 19:52:01 +02:00
Carles Fernandez
41527fb921
Rename volk_gnsssdr_32f_xn_fast_resampler_32f_xn to volk_gnsssdr_32f_xn_high_dynamics_resampler_32f_xnn
2018-08-23 19:39:41 +02:00
Carles Fernandez
fe36e8f558
Add doppler rate variable, still not used
2018-08-22 17:44:52 +02:00
Carles Fernandez
d364258b6e
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into doppler_rate
2018-08-22 17:30:21 +02:00
Carles Fernandez
0c26a95af4
Enhance const correctness, minor cosmetics
2018-08-21 15:20:48 +02:00
Carles Fernandez
ff90cf1a7e
Remove unused parameter
2018-08-21 15:01:35 +02:00
Carles Fernandez
fb33bbc6c3
Add use of cstdint typedefs
2018-08-21 15:00:57 +02:00
Carles Fernandez
388d1623ed
Pass parameters by reference instead of by value (improves effieciency)
2018-08-21 14:57:22 +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
Carles Fernandez
2b0e0f73ff
Add work on Doppler rate
2018-08-15 13:38:49 +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
Gerald LaMountain
032e73e727
Updates to 3-state Kalman filter parameters to improve tracking
2018-08-13 21:15:58 -04:00
Carles Fernandez
4a2ba1cff0
Improve handling of data types
2018-08-13 00:54:23 +02:00
Sergi Segura
fc98fa6afe
cleaning code for gsoc
2018-08-12 23:58:16 +02:00
Carles Fernandez
ecdd5f4e57
Add more extensive use of cstdint typenames
2018-08-12 00:04:09 +02:00
Carles Fernandez
d41ed73a00
Add more extensive use of cstdint typenames
2018-08-11 13:12:33 +02:00
Carles Fernandez
05a1806c8f
Merge branch 'fpga' of https://github.com/mmajoral/gnss-sdr into merge-marc
2018-08-11 12:56:52 +02:00
Carles Fernandez
6b1611b3a9
Replace unsigned long int by uint64_t and long int by int64_t. Fixes #199
2018-08-10 20:34:03 +02:00
Marc Majoral
f14ad930d5
declared the 64-bit variables as long long ints instead of long ints in the FPGA related files.
...
Variables declared as long ints are interpreted as 32-bit variables in the ARM architecture and 64-bit variables in the X86-64 architecture.
2018-08-10 16:42:53 +02:00
Marc Majoral
b1524a3afe
implemented 64-bit global sample counter
...
started programming the FPGA tracking unit tests
2018-08-10 13:12:06 +02:00
Marc Majoral
ee132f445f
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2018-08-08 14:25:12 +02:00
Carles Fernandez
0b5c827eda
Add Doppler rate in fast_resampler kernel. Still not used
2018-08-08 12:03:58 +02:00
Javier Arribas
19c5220886
Prepare the tracking configuration to allow a specific pull-in loops bandwidth
2018-08-07 20:05:35 +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
Sergi Segura
e4a86173fa
tracking working
2018-08-06 13:52:08 +02:00
Javier Arribas
856eaf1881
Unified tracking algorithm improvement
2018-08-03 12:05:40 +02:00