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
Carles Fernandez
712d9ff06b
Code uniformization 2019-07-26 15:48:29 +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
Marc Majoral
6f656bc744 solved minor bug in cn0_and_tracking_lock_status 2019-07-26 10:10:12 +02:00
Carles Fernandez
ddc6b822fb
Simplify code 2019-07-26 03:51:43 +02:00
Carles Fernandez
e31b31952b
Sort includes, minor cleaning 2019-07-26 01:38:53 +02:00
Carles Fernandez
56b65df044
Improve initialization
Works in Linux and MacOS
2019-07-26 00:55:16 +02:00
Carles Fernandez
9f60ff3e24
Make use of cstdint type names
Fix google-runtime-int warning
2019-07-25 23:46:06 +02:00
Carles Fernandez
cc86642b15
Fix type 2019-07-25 23:35:10 +02:00
Carles Fernandez
634f9631c6
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2019-07-25 23:05:29 +02:00
Carles Fernandez
b4f3720ff1
Fix guard 2019-07-25 21:37:57 +02:00
Carles Fernandez
2b8e5140e5
Do not write value that is never read 2019-07-25 21:36:07 +02:00
Carles Fernandez
342485d28d
Remove unused private members 2019-07-25 21:34:42 +02:00
Javier Arribas
c45257a26b Bug fix: Restore telecommand functionality 2019-07-25 16:38:19 +02:00
Marc Majoral
f6b8959993 Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration 2019-07-24 13:04:37 +02:00
Marc Majoral
7f594a356b doppler center frequency for the grid search 2019-07-24 13:02:14 +02:00
Carles Fernandez
ad389f7b1a Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2019-07-24 12:17:57 +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
2a64b57574
Remove unused parameter 2019-07-23 21:08:45 +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
6796a73820
Avoid pointer arithmetics 2019-07-23 19:04:01 +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
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
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
6e5c79d144
Fix compiler ambiguity 2019-07-21 13:12:46 +02:00
Carles Fernandez
37fdfca5ec
Miscellaneous improvements
Improve modularity of CMake design
Improve building speed in multicore processors
Files command_event.* moved to core/libs
Remove Armadillo from public core_receiver interface
Uniformize name format for classes
Apply some fixes by clang-tidy
Improve documentation
2019-07-21 12:55:59 +02:00
Carles Fernandez
471428f867
Fix typos detected by codespell 2019-07-20 12:55:46 +02:00
Carles Fernandez
f440a0e9f1
Avoid passing big parameters by value
clang-tidy check: performance-unnecessary-value-param
See https://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-value-param.html
2019-07-20 11:39:08 +02:00
Carles Fernandez
49e64f94f6
Code cleaning, initializations 2019-07-20 11:13:28 +02:00
Carles Fernandez
03a77b06ea
Format file 2019-07-20 03:02:43 +02:00
Carles Fernandez
ef9c02bac2
Miscellaneous changes: fix typos, warnings 2019-07-20 02:53:31 +02:00
Carles Fernandez
739c008f49
Merge branch 'newsatdispatcher' of https://github.com/gnss-sdr/gnss-sdr into telemetry 2019-07-19 23:12:38 +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
3225d92f1b removed unused variable 2019-07-19 12:24:25 +02:00
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