1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-16 13:10:35 +00:00
Commit Graph

895 Commits

Author SHA1 Message Date
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
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
8d770d9be9 more code cleaning
removed some non used variables
2019-02-27 13:30:09 +01:00
Marc Majoral
a8e425c814 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-02-26 10:23:59 +01:00
Carles Fernandez
8e66577ee9
Reorder PVT
Add includes
Reorder CMake scripts
Put work at the end of the file
2019-02-26 01:38:48 +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
07259159af Apply clang-tidy checks 2019-02-22 21:34:15 +00:00
Carles Fernandez
f01f90695e
Apply clang-format 2019-02-22 13:30:18 +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
5d427df585
clang-tidy: apply performance-type-promotion-in-math-fn check 2019-02-21 12:09:18 +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
b5e5277662
Fix random crashes when program ended in macOS
The program randomly crashed when destroying the pvt block (EXC_BAD_ACCESS). This didn’t happen on Linux.

Beidou PVT fixes not available in macOS until finding the root cause.
2019-02-18 22:29:50 +01:00
Carles Fernandez
0a1df17cca
Fix building in debug mode
Fixes for macOS
2019-02-17 13:36:13 +01:00
Carles Fernandez
890752601d
Fix defects detected by Coverity Scan 2019-02-14 23:44:38 +01:00
Carles Fernandez
b5c59ee6f7
Fix defects detected by Coverity Scan 2019-02-14 22:49:36 +01:00
Carles Fernandez
004dd4a38a Replace the deprecated branch_path() by parent_path() 2019-02-12 12:57:37 +01:00
Carles Fernandez
5b50e74ca8
clang-tidy: apply performance-for-range-copy check
See https://clang.llvm.org/extra/clang-tidy/checks/performance-for-range-copy.html
2019-02-12 01:25:27 +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
45b4478047 clang-tidy fixes 2019-02-11 17:15:48 +01:00
Carles Fernandez
dfc963ad86 clang-tidy: apply readability-else-after-return check
See https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html
2019-02-11 15:53:50 +01:00
Carles Fernandez
b9c115bdf8 clang-tidy: apply modernize-use-using check 2019-02-11 13:13:06 +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
35a6ecb404
Fix bug, better string comparison 2019-02-10 13:22:49 +01:00
Carles Fernandez
21b5aeee9d
Make use of cstdint type names 2019-02-10 12:45:23 +01:00
Carles Fernandez
ce051e040f
Improve target design 2019-02-10 01:13:02 +01:00
Carles Fernandez
60637c6125
Reorder dependencies 2019-02-07 21:31:40 +01:00
Damian Miralles
1b7d4edf51 bds_b31: Getting new changes from upstream 2019-02-05 17:25:16 -06:00
Carles Fernandez
74950e9856
Set some compile definitions to private 2019-02-05 02:21:56 +01:00
Carles Fernandez
708b288e61
Clean CMake scripts 2019-02-04 22:44:45 +01:00
Carles Fernandez
9b94a4dec0 Add more imported targets to CMake scripts 2019-02-04 16:07:29 +01:00
Carles Fernandez
8ae72fe458
Update to modern CMake usage 2019-02-03 19:24:44 +01:00
Carles Fernandez
f3eef2f513
Add modern CMake targets for volk_gnsssdr 2019-01-31 12:12:04 +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
928c545c84
Do not overwrite CMAKE_ASM_FLAGS 2019-01-29 14:58:01 +01:00
Carles Fernandez
3d2f10dae7
Make sure that regexp are raw strings 2019-01-29 14:52:01 +01:00
Carles Fernandez
2cf690d88e
Add clang support 2019-01-29 14:48:43 +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
2865e97b84 bds_b1i: Adding pvt computation with BeiDou B1I satellites 2018-12-28 19:01:22 -06:00
Damian Miralles
0c4b8b25f1 bds_b1i: Adding new tel dec block structure 2018-12-23 12:51:28 -06:00
Damian Miralles
42b506d0bb bds b1i: Merging latest changes from upstream/next 2018-12-18 15:55:36 -06:00
Carles Fernandez
8a7e35ea97
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into release_0010 2018-12-14 12:07:15 +01:00
Carles Fernandez
432c6b9c70
Miscelaneous clang-tidy fixes 2018-12-14 02:14:43 +01:00
Damian Miralles
0d94f9e1b7 bds b1i: some bug corrections in the code 2018-12-13 07:57:42 -07:00
Carles Fernandez
79e4a170a9
Update date in manpages 2018-12-12 01:50:29 +01:00
Carles Fernandez
9fc9357a08
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into release_0010 2018-12-12 01:34:23 +01:00
Carles Fernandez
38858dece6
Apply clang-tidy fix readability-non-const-parameter 2018-12-11 12:38:38 +01:00
Carles Fernandez
f351615ef9
Apply clang-tidy fix modernize-use-bool-literals 2018-12-11 12:08:54 +01:00
Carles Fernandez
d920aa4d92
Apply fixes by clang-tidy 2018-12-11 01:56:25 +01:00
Carles Fernandez
3dce8934fd
Apply fixes by clang-tidy 2018-12-10 19:05:12 +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
4f8bda4d39
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into release_0010 2018-12-09 01:09:52 +01:00
Carles Fernandez
8925ca7066
Fix building in Mac OS 2018-12-08 19:08:53 +01:00
Carles Fernandez
17260bbcea
Miscelaneous code improvements by clang-tidy 2018-12-08 18:49:31 +01:00
Carles Fernandez
81a4d24ae9
Use nullptr 2018-12-07 21:00:30 +01:00
Damian Miralles
352c82827e bds_b1i: enabling bds processing in rtklib processing 2018-12-05 15:08:22 -07:00
Carles Fernandez
7261bec2ad
Miscelaneous code improvements 2018-12-04 13:20:49 +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
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
Carles Fernandez
b5c0cc04e5 clang-tidy: apply modernize-raw-string-literal fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-raw-string-literal.html) 2018-12-03 17:04:16 +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
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
9d94910e1b
Fix building 2018-12-03 10:12:38 +01:00
Carles Fernandez
8e79786218
Fix building 2018-12-03 10:12:03 +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
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
Damian Miralles
0507febd7f bds b1i: quick fixes to b1i code, preparing for merge 2018-11-28 14:18:35 -06:00
Carles Fernandez
ef45548e87
Add style improvements to CMake scripts 2018-11-25 10:32:21 +01:00
Carles Fernandez
87d1413447
Make cmakelint happier 2018-11-24 18:40:34 +01:00
Carles Fernandez
a8fe18f435
Fix defects detected by XCode 2018-11-23 16:28:28 +01:00
Carles Fernandez
4bdb8c3bc4 Fix computation of satellite elevation when using the GPS Almanac 2018-11-22 15:19:36 +01:00
Carles Fernandez
a59ffca8a1 Fix Galileo sats position computation from Almanac data 2018-11-22 11:59:49 +01:00
Carles Fernandez
b0ba246934
Apply some style rules to CMake scripts 2018-11-22 00:35:21 +01:00
Carles Fernandez
e0fb3518db
Restore old behavior to gnss_valve if the same constructor is used (Fix tests) 2018-11-18 13:29:54 +01:00
Carles Fernandez
7e557c2461
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2018-11-18 09:33:09 +01:00
Carles Fernandez
e8032d52f9
Use MATCHES when looking for Clang in CMAKE_CXX_COMPILER_ID 2018-11-18 09:14:22 +01:00
Carles Fernandez
bec3775f23
Replace CMAKE_COMPILER_IS_GNUCXX by CMAKE_CXX_COMPILER_ID 2018-11-17 14:31:06 +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
Javier
049b2d777d Adding tracking pull-in delay simulation option in tracking pull-in unit test 2018-11-14 18:28:14 +01:00
Carles Fernandez
a544112a84
Fix defects detected by Coverity Scan 2018-11-08 15:34:58 +01:00
Carles Fernandez
d77448cd76
Improve data types for almanac parameters 2018-11-07 22:25:09 +01:00
Carles Fernandez
e3446e47ca
Add missing header to the list 2018-11-05 19:42:59 +01:00
Carles Fernandez
18db62dfd3
Fix building if Armadillo was not installed 2018-11-05 19:18:05 +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
Javier
01a1954b15 Adding the Hotstart telecommand implementation to predict visible satellites for GPS and Galileo constellations 2018-11-05 17:53:53 +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
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
Carles Fernandez
ec50cda692
Replace the deprecated exec_program by execute_process 2018-10-21 11:28:47 +02:00
Carles Fernandez
4d2f7ef966 Fix computation of velocity in other bands than L1 2018-10-19 10:51:00 +02: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
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
Carles Fernandez
3d1318a70a
Improve PVT accuracy for GPS L1 2018-10-10 00:17:42 +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
98f5507fbb
Remove redefined functions 2018-10-04 23:06:38 +02:00
Carles Fernandez
78c0b76cb9
Avoid use of GLOB for source and header files 2018-10-04 22:35:44 +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
4375d0a051 Clean code 2018-09-17 19:19:19 +02:00
Antonio Ramos
f22a1586c7 Merge branch 'next' into trk_hi_dyn 2018-09-09 20:42:58 +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
5b2b487a2f
Fix warning (type qualifiers ignored on cast result type) 2018-08-30 21:17:19 +02:00
Carles Fernandez
8d195e3259
Remove unused variables 2018-08-28 20:20:34 +02:00
Carles Fernandez
47e718167f
Merge branch 'fix-osx-thread_t' of https://github.com/rventura/gnss-sdr into rventura-fix-osx-thread_t 2018-08-23 19:53:48 +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
Rodrigo Ventura
ad6bbee930 Fix build issue in OS X
Define of thread_t to pthread_t in rtklib.h was colliding with system
include in OS X. Not used elsewhere, so find&replaced with pthread_t.
2018-08-23 09:08:31 +01:00
Marc Majoral
2f0ef5753e changed the device name for the interrupt counter in the PL
removed the acknowledgement of the interrupt triggered by the interrupt counter IP (edge interrupt).
2018-08-22 10:24:40 +02:00
Carles Fernandez
a2de137864
Imporve const correctness 2018-08-16 14:49:32 +02:00
Carles Fernandez
a249cd7242
Avoid variable length arrays and other minor fixes 2018-08-16 14:16:43 +02:00
Marc Majoral
ddb7c1fc29 added control of the FPGA PL counter interrupt (using a level interrupt). 2018-08-14 14:04:00 +02:00
Carles Fernandez
65a0804084
Add more extensive use of cstdint typenames 2018-08-13 10:18:05 +02:00
Sergi Segura
fc98fa6afe cleaning code for gsoc 2018-08-12 23:58:16 +02:00
Carles Fernandez
d29befa7e3
Fix int vs unsigned int comparisons 2018-08-12 11:37:21 +02:00
Carles Fernandez
1087b764cf
Add address sanitized build target
Update the Volk build types to include a target that compiles with
-fsanitize=address when using clang or gcc.
Activated with -DCMAKE_BUILD_TYPE=ASAN
2018-08-12 10:59:12 +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
Javier Arribas
2517e7bb31 Replacing software sample counter with hardware sample counter if FPGA is enabled. Fix a compilation bug when ENABLE_FPGA is selected 2018-08-10 11:53:40 +02:00
Carles Fernandez
66bfbffe89
Add AVX implementation 2018-08-09 22:00:22 +02:00
Carles Fernandez
c5f10cd56c
Add sse4_1 implementation 2018-08-09 21:08:58 +02:00
Carles Fernandez
727cc115c4
Fix kernel 2018-08-08 18:20:09 +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
b47d7826eb Adding an option to SDR sample counter to modulate the observable generation rate. It defaults to 20 ms interval (50 Hz) 2018-08-07 20:04:44 +02:00
Sergi Segura
e4a86173fa tracking working 2018-08-06 13:52:08 +02:00
Javier Arribas
a23231479f Adding new gnss-sdr volk kernel for a faster local signal replica generation 2018-08-03 11:02:01 +02:00
Carles Fernandez
477967ed32
Python Development component is not needed 2018-07-29 22:45:45 +02:00
Carles Fernandez
17d4a010e1
Improve Python detection 2018-07-29 20:49:09 +02:00
Carles Fernandez
5c80be5b9e
Set maximum Galileo PRN to 36 2018-07-28 18:32:40 +02:00
Carles Fernandez
9b0be03256
Add puppets to ctest 2018-07-28 12:34:23 +02:00
Carles Fernandez
2dfaea3dfd
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2018-07-26 22:37:04 +02:00
Javier Arribas
f162182ffe Improved sample counter block 2018-07-26 19:19:23 +02:00
Carles Fernandez
fd7b91d544
Fix python version 2018-07-24 13:57:11 +02:00
Carles Fernandez
e3cb3d6eb5
Fix building when python3 is present but python3-six and python3-mako are not 2018-07-24 13:48:33 +02:00
Carles Fernandez
5ba0759cdd
Use python3 when available 2018-07-24 11:24:37 +02:00
Carles Fernandez
3404ea1662
Python 3 compatibility fixes 2018-07-21 11:57:30 +02:00
Carles Fernandez
a25557c868
Add detection of AVX2551CD and AVX512F 2018-07-21 09:18:37 +02:00
Carles Fernandez
927f4d6b21
Add AVX2 implementation 2018-07-20 09:39:37 +02:00
Javier Arribas
f9e4bdfa59 Fix stream_to_vector incoherence in pcps acquisition and add support for GPS L2C, L5I, Galileo E1 and E5a in tracking pull-in test 2018-07-19 16:26:51 +02:00
Sergi Segura
51aa80aa46 tracking working, some satellites with loss of lock 2018-07-10 23:30:15 +02:00
Sergi Segura
d11490edc4 deleted delay, satellite acquisition peaks visible now 2018-07-07 19:27:20 +02:00
Sergi Segura
a9fdc3ea67 minor corrections 2018-07-06 15:55:00 +02:00
Sergi Segura
3b9e34edea corrected beidou code generation 2018-07-06 14:58:32 +02:00