1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-07-02 01:43:20 +00:00
Commit Graph

3110 Commits

Author SHA1 Message Date
Javier Arribas
0035cd06dd Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into newsatdispatcher 2019-07-19 12:01:51 +02:00
Marc Majoral
becd3c4a3d Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration 2019-07-19 12:00:14 +02:00
Marc Majoral
8b0e170a56 applied clang-format 2019-07-19 11:55:53 +02:00
Carles Fernandez
35852c7efb
clang-tidy fixes
Reduce number of hicpp-signed-bitwise warnings
See https://rules.sonarsource.com/c/RSPEC-854
2019-07-18 22:57:45 +02:00
Carles Fernandez
6a15b84687
Simplify code 2019-07-18 22:03:56 +02:00
Carles Fernandez
9f90384375
Unify operator name for exclusive or, use bitset instead of array for bools 2019-07-18 20:01:54 +02:00
Carles Fernandez
4628011e9e
Unify operator name for exclusive or 2019-07-18 19:47:27 +02:00
Carles Fernandez
b8fb52fe3c
Remove not needed moves 2019-07-18 19:43:08 +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
50cfb6cdf5
Fix building until gnss-sdr 2019-07-16 19:20:37 +02:00
Javier Arribas
1313edd716 Partial implementation of the new event queue and its dependencies. Still NOT usable 2019-07-16 17:41:12 +02:00
Javier Arribas
cae1c5a73a Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into newsatdispatcher 2019-07-16 12:29:20 +02:00
Carles Fernandez
76222945bd Add missing include, reordering 2019-07-16 12:02:13 +02:00
Javier Arribas
e7dc926dad Improving the concurrent queue and fix missing dependencies 2019-07-16 11:07:02 +02:00
Javier Arribas
61d320fb05 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into newsatdispatcher 2019-07-16 10:29:02 +02:00
Carles Fernandez
c36cb0cf4b
Fix B3I code generation 2019-07-16 08:53:59 +02:00
Carles Fernandez
e7e936f97e Use std::bitset<N> instead of std::array<bool, N> 2019-07-15 15:13:18 +02:00
Carles Fernandez
8e0445264a Do not use bitwise operators with signed operands
Use of signed operands with bitwise operators is in some cases subject to undefined or implementation defined behavior. Therefore, bitwise operators should only be used with operands of unsigned integral types.
2019-07-15 12:17:29 +02:00
Carles Fernandez
ec9aa207b0 Do not use bitwise operators with signed operands
Use of signed operands with bitwise operators is in some cases subject to undefined or implementation defined behavior. Therefore, bitwise operators should only be used with operands of unsigned integral types.
2019-07-15 12:14:39 +02:00
Javier Arribas
1961766863 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into newsatdispatcher 2019-07-15 12:07:55 +02:00
Carles Fernandez
7436188f34 Remove unused variable 2019-07-15 12:00:11 +02:00
Carles Fernandez
e820eb0bc4 Revert "Keep eph_data and geph_data as std::array"
This reverts commit d07a2c2a80.
2019-07-15 11:57:32 +02:00
Javier Arribas
2238a2194d Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into newsatdispatcher 2019-07-15 11:32:52 +02:00
Carles Fernandez
d07a2c2a80 Keep eph_data and geph_data as std::array
std::vector has more overhead that is not needed here.
Remove usused variable sat
2019-07-15 10:07:15 +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
Javier Arribas
bf40ed2be1 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into newsatdispatcher 2019-07-14 18:51:41 +02:00
Carles Fernandez
7ee1394f2f
Fix building with gcc 4.9 2019-07-14 14:48:05 +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
4dfb2cf5d2
Avoid out-of-bounds read 2019-07-14 03:17:57 +02:00
Carles Fernandez
89aa7c61e6
Avoid out-of-bounds read 2019-07-14 03:00:26 +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
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
ca92ff0e44
Catch all exceptions 2019-07-14 00:18:51 +02:00
Carles Fernandez
f24ae66ca2
Always check fs::remove output 2019-07-14 00:14:13 +02:00
Carles Fernandez
fa549b09a2
Do not produce empty files 2019-07-13 23:05:57 +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
Carles Fernandez
2d894a8507
Catch exception when using std::experimental 2019-07-13 12:29:06 +02:00
Carles Fernandez
5561d40e67
Fix defect detected by Coverity Scan (null pointer dereference) 2019-07-12 19:09:26 +02:00
Carles Fernandez
cd54aca1e2
Fix BeiDou B1I RINEX annotation 2019-07-12 11:35:01 +02:00
Javier Arribas
71d93dc4b9 New asynchronous channel and PVT status reporting from observables and PVT to flowgraph. Partial implementation of assistance from L1 to L2 and L5 2019-07-11 18:39:28 +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
Carles Fernandez
9350a7a15b
Merge branch 'iono' into next 2019-07-10 18:46:34 +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
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
Damian Miralles
c2f4b39bb2
bds: removal of unused fields 2019-07-10 10:49:41 -05:00
Damian Miralles
81ad7484bd
Merge branch 'next' into bds_b3i_bug_fix 2019-07-10 09:21:54 -05:00
Carles Fernandez
5c07423f68 Add leap second info to RTKLIB solver 2019-07-10 15:16:12 +02:00
Carles Fernandez
880818d420 Inject Iono and UTC data into RTKLIB solution 2019-07-10 12:59:39 +02:00
Carles Fernandez
38559628e8
Fix bug 2019-07-09 20:21:58 +02:00
Marc Majoral
718fc03442 removed integrating parameter from log_data() 2019-07-09 20:11:21 +02:00
Carles Fernandez
d6dd4cad77
Fix GLONASS L2 nav message decoding 2019-07-09 20:09:34 +02:00
Carles Fernandez
faeb99bf6f
Fix GLONASS L1 nav message decoding (fixes #289) 2019-07-09 20:00:29 +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
8de5ea8737
Fix comparison 2019-07-07 21:50:03 +02:00
Carles Fernandez
6cc1de7118
File cleaning 2019-07-07 21:44:58 +02:00
Carles Fernandez
29a910df30
Simplify initializations 2019-07-07 19:56:23 +02:00
Carles Fernandez
5f1779c15b
Remove test for speed 2019-07-06 13:55:19 +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
76a14a86f0
Fix data race condition detected by Coverity Scan 2019-07-05 16:14:33 +02:00
Carles Fernandez
755dd7901f
Add copy constructor, move constructor and move assignment operator. Fix memory leak 2019-07-05 16:13:35 +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
b9ca99303c Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-07-04 09:41:13 +02:00
Carles Fernandez
9ba6f4d670
Make header file more readable. Remove unused private method interpolate_data() 2019-07-04 00:00:29 +02:00
Carles Fernandez
4de86b1f8a
Use std::array instead of pointers and memcpy 2019-07-03 23:47:42 +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
844b87d96f Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-07-03 11:32:39 +02:00
Damian Miralles
6ba57f0e12
bds_b3i: fixing pvt computation for bds b3i single freq solution 2019-07-02 18:57:44 -05:00
Carles Fernandez
081439d6f8 Code cleaning 2019-07-02 17:48:00 +02:00
Carles Fernandez
da7ca482a8 Hide direct constructor as private member 2019-07-02 17:24:54 +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
f0a92f1fb3
Make constructor public 2019-07-02 06:54:48 +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
f1022385b0 Improve memory management
In class definitions, first write the public interface, then private
2019-07-01 21:54:52 +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
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
5e42795677
Use auto 2019-06-30 12:09:11 +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
f821caea4a
Code cleaning 2019-06-29 22:47:21 +02:00
Carles Fernandez
b6e9ba5877
Improve const correctness 2019-06-29 22:04:03 +02:00
Carles Fernandez
dd3b2f11db
Fix wrong loop 2019-06-29 21:13:14 +02:00
Carles Fernandez
0b1683fa1e
Avoid pointer arithmetics 2019-06-29 17:29:51 +02:00
Carles Fernandez
81c79ad007
Fix termination 2019-06-29 16:49:53 +02:00
Carles Fernandez
c37b3e00b5
Use uppercase literal suffix 2019-06-29 14:22:15 +02:00
Carles Fernandez
f90d52a1e2
Improve const correctness 2019-06-29 13:57:00 +02:00
Carles Fernandez
d6714e35a1
Avoid pointer arithmetics 2019-06-29 12:55:39 +02:00
Carles Fernandez
dd53f81b1a
Replace memcpy by copy_n. Avoid pointer arithmetics 2019-06-29 11:58:08 +02:00
Carles Fernandez
c79b360fa7
Replace Guidelines Support Library implementation
Source: https://github.com/martinmoene/gsl-lite
If works with gcc 4.8 (Microsoft's doesn't)
2019-06-29 02:40:12 +02:00
Carles Fernandez
9b3fd32f43
Check if the compiler has the <span> header 2019-06-29 01:58:12 +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
Damian Miralles
450bdeda7f
rinex: Adding combined receiver types supporting BDS satellites
Adds support for RINEX v3.02 for BDS satellites by creating receiver types that
 combine GPS+BDS, BDS+GLO, and BDS+GAL.
2019-06-28 11:25:39 -05:00
Carles Fernandez
a2c6c8a630
Apply clang-tidy fixes 2019-06-28 12:26:46 +02:00
Carles Fernandez
1cd7ca301d
Use std::array for compile-time bound checking 2019-06-28 12:26:09 +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
04a62b813f
Remove unused CMake modules
Move ENABLE_GNSS_SIM_INSTALL option to main CMakeLisis.txt file
Remove unused lines
Update Doxygen download website
2019-06-28 09:32:46 +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
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
Javier Arribas
bfae31390f Adding TOW update consistency check in GPS L5 telemetry decoder 2019-06-21 18:06:48 +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
2981e7f831 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-06-18 10:21:51 +02:00
Javier Arribas
ee530f0ed1 Fix wrong length in valve 2019-06-18 10:21:22 +02:00
Javier
b41369c397 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-06-18 10:13:59 +02:00
Carles Fernandez
3bc8091745
Fix comparisons (warning: -Wsign-compare) 2019-06-17 23:42:16 +02:00
Javier
bb8e7bc3a2 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-06-17 21:26:01 +02:00
Carles Fernandez
6757fe3e80
Fix file headers 2019-06-17 19:50:59 +02:00
Javier Arribas
7a5e7c4196 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-06-17 18:13:45 +02:00
Javier Arribas
81ee21f8cf Adding new a multichannel file source suitable for multifrequency captures stored in different files to avoid stream synchronization problems in post-processing 2019-06-17 18:13:06 +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
ee9e7493ae
Add annotation rate parameter for KML, GPX, GeoJSON and NMEA outputs (default: 1s) 2019-06-16 20:27:00 +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
c31236096d
Build volk_gnsssdr with C++20 with clang++ if available 2019-06-15 22:25:22 +02:00
Carles Fernandez
ec8f398e59
Set CMAKE_CXX_STANDARD to 20 when available 2019-06-15 10:55:49 +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