1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-15 14:25:00 +00:00
Commit Graph

5074 Commits

Author SHA1 Message Date
Carles Fernandez
b5efbf275d
Fix clang-tidy warning bugprone-string-literal-with-embedded-nul
See https://clang.llvm.org/extra/clang-tidy/checks/bugprone-string-literal-with-embedded-nul.html
2020-03-01 13:57:23 +01:00
Carles Fernandez
4b3f777425
Add cmake modules to cmakelint job and fix errors 2020-03-01 12:29:21 +01:00
Carles Fernandez
e638019d93
Fix formatting errors detected by cmakelint 2020-03-01 11:53:01 +01:00
Carles Fernandez
299cb1a2ee
Remove usage of uninitialized variables in CMake scripts
Remove all warnings emitted by cmake --warn-uninitialized ..
2020-02-29 14:33:09 +01:00
Carles Fernandez
581ba96904
Use cmake -E rm instead of -E remove if CMake >= 3.17 2020-02-28 20:57:28 +01:00
Carles Fernandez
2bf7d887a1
Fix reading exceptions and some typos 2020-02-28 12:11:21 +01:00
Javier
ea15b54a88 Remove unuseful accumulated carrier 180 degres phase shift in GPS CA telemetry decoder 2020-02-28 10:32:59 +01:00
Carles Fernandez
73fd1e28ad
Make the changelog file a markdown .md file 2020-02-27 21:05:29 +01:00
Carles Fernandez
716fa970c4
More markdown fixes 2020-02-27 19:50:08 +01:00
Carles Fernandez
17a7044add Wrap README text into 80 character-length lines, so they are easier to read from the terminal.
Formatted by https://prettier.io/, options: --parser markdown --print-width 80 --prose-wrap always
2020-02-27 18:42:43 +01:00
Carles Fernandez
f275091ba4
Fix clang-tidy readability-inconsistent-declaration-parameter-name check 2020-02-27 08:19:24 +01:00
Carles Fernandez
c470d43432
Fix shadowed variables
See MISRA C++:2008, 2-10-2 - Identifiers declared in an inner scope shall not hide an identifier declared in an outer scope
and https://rules.sonarsource.com/cpp/RSPEC-1117\?search\=shadow
2020-02-26 22:40:00 +01:00
Carles Fernandez
538c1e6182 Fix shadowed variables 2020-02-26 18:16:04 +01:00
Carles Fernandez
57517b44dd
Apply clang-tidy 2020-02-25 18:31:44 +01:00
Carles Fernandez
5a71e59450
Fixes for cpplint job 2020-02-25 18:27:04 +01:00
Javier
38a0777946 Adding code rate vs. carrier phase rate single difference test to obsdiff utility 2020-02-25 16:56:16 +01:00
Carles Fernandez
86a1dc5ca3 Add new conf parameter PVT.rinex_name to specify a custom name for generated RINEX files.
A command-line flag --RINEX_name, which overrides the configuration if defined, is also available
2020-02-25 14:43:15 +01:00
Carles Fernandez
d3f4b1d5a0
Apply clang-tidy, document new flags 2020-02-25 08:25:19 +01:00
Carles Fernandez
be8ea389b5
Fix multi-line comment warning 2020-02-24 21:01:59 +01:00
Carles Fernandez
a5b5c0c5ca
Update GSL implementation 2020-02-24 20:48:55 +01:00
Carles Fernandez
2c5e286747
Set default value for early_late_space_narrow_chips parameter to 0.15 2020-02-24 20:24:20 +01:00
Carles Fernandez
ba7a938304
Add option to enable/disable carrier aiding in the code loop (enabled by default) 2020-02-24 20:18:28 +01:00
Carles Fernandez
0986e4a66e cpplint: Should have a space between // and comment [whitespace/comments] 2020-02-24 15:11:08 +01:00
Carles Fernandez
5fd7f8f8f6 Fix building: Remove non-existent include
cpplint: Should have a space between // and comment [whitespace/comments]
2020-02-24 15:06:48 +01:00
Carles Fernandez
29c1971c24 cpplint: Should have a space between // and comment [whitespace/comments] 2020-02-24 15:05:32 +01:00
Javier
736cd93b01 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2020-02-24 13:04:59 +01:00
Javier
b8853afd94 Upgrading obsdiff RINEX utility to account for the receiver's clock error 2020-02-24 13:04:39 +01:00
Carles Fernandez
e0b54cf8fe Rearrange attributes to simplify macros 2020-02-24 11:39:15 +01:00
Carles Fernandez
5698c9c2ea Disable complex math NaN/INFO range checking for performance 2020-02-24 11:38:18 +01:00
Carles Fernandez
ce16b0e1a4
Fix initialization 2020-02-23 13:45:57 +01:00
Carles Fernandez
649a1d7be6
cpplint: Do not use variable-length arrays [runtime/arrays] 2020-02-23 13:39:31 +01:00
Carles Fernandez
b251061495
cpplint: Should have a space between // and comment [whitespace/comments] 2020-02-23 11:12:11 +01:00
Carles Fernandez
299608c4fc
cpplint: fix readability/utf8 2020-02-23 02:47:21 +01:00
Carles Fernandez
3c4ec48d43
cpplint: fix whitespace/semicolon 2020-02-23 02:45:51 +01:00
Carles Fernandez
2a3786b0a5
cpplint: fix whitespace/blank_line 2020-02-23 02:43:17 +01:00
Carles Fernandez
a77142b8ca
cpplint: fix build/include_what_you_use, runtime/explicit filters 2020-02-22 16:36:31 +01:00
Carles Fernandez
ce4817b679
Fix header 2020-02-22 14:23:53 +01:00
Carles Fernandez
252c693eb6
Fix fypo 2020-02-22 13:57:47 +01:00
Carles Fernandez
a2076418d8
Improve information provided to the user 2020-02-22 13:52:34 +01:00
Carles Fernandez
f193d5afb2
Shut down warnings raised by GPSTk in GCC 2020-02-22 12:28:35 +01:00
Carles Fernandez
580ddfdff0
Inform user whether utility tools will be built or not. Shut down warnings raised by GPSTk 2020-02-22 10:41:18 +01:00
Carles Fernandez
39c4b85abf Apply clang-format 2020-02-20 16:32:59 +01:00
Carles Fernandez
a7511326b3 Merge remote-tracking branch 'cf/refactor' into next 2020-02-20 15:24:42 +01:00
Carles Fernandez
1b093794c9 More consistent data types 2020-02-20 11:25:29 +01:00
Carles Fernandez
c315767008 Add warning if Armadillo version is older than 9.800, since the obsdiff tool will not be built 2020-02-20 10:53:22 +01:00
Carles Fernandez
c6fc6eb020 Apply performance-type-promotion-in-math-fn fix.
Remove unused include, reorder header
2020-02-20 10:50:12 +01:00
Carles Fernandez
b6c2911f39
Fix instantiation of tracking blocks with empty configuration 2020-02-20 08:23:57 +01:00
Carles Fernandez
3b965654d6
Refactor of tracking adapters
Avoid code duplication
Based on @odrisci suggestion at #336
2020-02-20 00:07:03 +01:00
Carles Fernandez
0a8c8d18a2 Fix building of GPSTk in OpenSUSE 2020-02-19 15:44:40 +01:00
Carles Fernandez
6bd48860b2
Fix includes 2020-02-19 08:29:36 +01:00
Carles Fernandez
3fd648e659
Update GPSTk to v3.0.0 2020-02-19 07:55:57 +01:00
Carles Fernandez
444023b25c
Remove unused variable 2020-02-18 22:55:23 +01:00
Carles Fernandez
924f59fad0
Remove unused includes, improve README 2020-02-18 22:46:22 +01:00
Carles Fernandez
2215e627b4
Document dependencies 2020-02-18 22:16:31 +01:00
Carles Fernandez
054ca06917
Fix for Armadillo older than 9.800 2020-02-18 21:21:46 +01:00
Carles Fernandez
61557a8c2c
Improve README 2020-02-18 20:21:31 +01:00
Carles Fernandez
17d6034e72
Improve README 2020-02-18 20:21:01 +01:00
Carles Fernandez
96889b5b74
Improve README 2020-02-18 20:00:30 +01:00
Carles Fernandez
9f4e5e9f44
Improve README 2020-02-18 19:56:55 +01:00
Carles Fernandez
48678668a9
Improve README 2020-02-18 19:54:53 +01:00
Carles Fernandez
08fed1de15
Improve README 2020-02-18 19:49:52 +01:00
Carles Fernandez
c993ebac60
Improve README, remove unused files 2020-02-18 19:43:42 +01:00
Carles Fernandez
d9525f5334
Fix building of obsdiff tool, add README file 2020-02-18 19:39:53 +01:00
Javier
b66d8066c3 Adding a new RINEX observables testing tool to command line utilities set 2020-02-18 16:45:56 +01:00
Carles Fernandez
9b0460fb3f
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into normalize-discriminator 2020-02-17 08:43:14 +01:00
Carles Fernandez
ac7a77fd47
Minor fixes 2020-02-17 08:02:59 +01:00
Carles Fernandez
448995f8b0
Improve documentation 2020-02-17 08:00:52 +01:00
Carles Fernandez
d477c8ee28
Document change in discriminator implementation 2020-02-14 19:00:42 +01:00
Carles Fernandez
0f4bd21805
Use Use C11 aligned_alloc
See https://github.com/gnuradio/volk/pull/334
2020-02-13 19:44:24 +01:00
Carles Fernandez
0914ba5d8c
Merge branch 'normalize-discriminator' of https://github.com/carlesfernandez/gnss-sdr into normalize-discriminator 2020-02-13 18:46:25 +01:00
Carles Fernandez
52b9dfb8c0
Do not add extra work for nothing 2020-02-13 18:45:57 +01:00
Carles Fernandez
b8f2182a01 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into normalize-discriminator 2020-02-13 11:09:16 +01:00
Carles Fernandez
10fc3fc48e
Add missing dependency 2020-02-12 08:30:25 +01:00
Carles Fernandez
c155a5074d
Add missing dependency 2020-02-12 07:58:32 +01:00
Carles Fernandez
2ded19342f
Improve headers 2020-02-12 00:04:29 +01:00
Carles Fernandez
cb95c65d19
Remove Gflags as a public dependency of algorithms_libs 2020-02-11 22:02:22 +01:00
Carles Fernandez
d65daac971
Code formatting (cpplint.py --filter=-,+whitespace/tab,+whitespace/comments) 2020-02-11 21:47:13 +01:00
Carles Fernandez
207b01a6c0
Make the carrier smoothing parameter an integer 2020-02-11 19:34:21 +01:00
Carles Fernandez
dfc02b2e5c Sort dependencies, remove unused ones 2020-02-11 17:27:54 +01:00
Carles Fernandez
0545369941 Remove unused dependency 2020-02-11 16:48:35 +01:00
Carles Fernandez
349cb431d6 Remove unused includes and dependencies 2020-02-11 16:28:58 +01:00
Carles Fernandez
17e27ace25 Move Matio dependency to private 2020-02-11 15:36:57 +01:00
Carles Fernandez
68388bd6c5 Sort out dependencies 2020-02-11 13:20:03 +01:00
Carles Fernandez
39f4adb058 Remove unused dependencies 2020-02-11 12:56:33 +01:00
Carles Fernandez
8c16ceca14 Move gnss_sdr_flags dependency to private 2020-02-11 12:19:48 +01:00
Carles Fernandez
d88cd25f03 Add new carrier_smoothing_factor flag
Fix some public/private dependency issues
Add enable_carrier_smoothing flag to position_test
2020-02-10 19:51:33 +01:00
Carles Fernandez
ce9d4b48e9 Fix CMakeLists files, clean dependencies relationships 2020-02-10 12:17:10 +01:00
Carles Fernandez
edc6444e5b Add SPDX license identifier in header 2020-02-10 11:13:15 +01:00
Javier
b2a17b23c5 Move debug acquisition messages from LOG(INFO) to DLOG(INFO) 2020-02-10 11:00:03 +01:00
Javier
b1c0e86751 New receiver feature: optional carrier smoothing of code range observables 2020-02-10 10:59:10 +01:00
Carles Fernandez
aeaf68fe47
Fix detection of Volk version if pkg-config is not present 2020-02-10 01:16:58 +01:00
Carles Fernandez
bdc8c71e31
Add SPDX license id in header 2020-02-08 18:39:21 +01:00
Carles Fernandez
d1cb49b127
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into normalize-discriminator 2020-02-08 18:18:15 +01:00
Carles Fernandez
a713f8c646
Fix license in mdl files, remove wrong file 2020-02-08 12:33:24 +01:00
Carles Fernandez
b7a75453d3
Fix comments syntax in Markdown 2020-02-08 10:52:42 +01:00
Carles Fernandez
955348b080
Remove trailing underscore in header guards 2020-02-08 10:10:46 +01:00
Carles Fernandez
4d0d263280
Make the software package compliant with the REUSE Specification v3.0 (see https://reuse.software/spec/)
Update license headers to SPDX format (see https://spdx.org/)
Add license to all files
Add CI job in GitHub Actions to ensure compliance
2020-02-08 01:20:02 +01:00
Carles Fernandez
bb8416402c
Fix normalization in dll_nc_e_minus_l_normalized discriminator (see #333) 2020-02-07 10:58:33 +01:00
Carles Fernandez
7d24203472
Apply new interface of dll_nc_e_minus_l_normalized 2020-02-07 10:10:27 +01:00
Carles Fernandez
0f0c3e7e1d Update links 2020-02-06 17:33:29 +01:00
Carles Fernandez
3a3d26fb0c Merge branch 'no-steering' into next 2020-02-06 17:25:01 +01:00
Carles Fernandez
45a839b74f Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2020-02-06 17:24:44 +01:00
Carles Fernandez
93b210c142 Disable clock steering by default 2020-02-06 17:24:30 +01:00
Javier
18a5b917c4 Adding carrier phase observable initialization to match the pseudorange length 2020-02-06 16:56:42 +01:00
Carles Fernandez
fe9c7224f6 Initialize parameter 2020-02-06 12:11:22 +01:00
Carles Fernandez
a8fb2a6fb5
Update configurations (remove use_CFAR_algorithm parameter) 2020-02-05 22:15:50 +01:00
Carles Fernandez
d6ec2a7b2c
Update links (mainly from http to https, fix broken links) 2020-02-05 21:24:46 +01:00
Carles Fernandez
e75a1f19d6
Update links 2020-02-05 10:20:32 +01:00
Carles Fernandez
3e0752a88b
Improve OS reporting 2020-02-03 22:11:04 +01:00
Carles Fernandez
3f7ad8d8a7
Fix markdown 2020-02-02 13:25:15 +01:00
Carles Fernandez
56608db347
Reorder README 2020-02-02 13:23:37 +01:00
Carles Fernandez
715b7dc404
Reorder README 2020-02-02 13:23:23 +01:00
Carles Fernandez
2fe4e37ae8
Add license badge and BibTex entry for reference 2020-02-01 14:47:21 +01:00
Carles Fernandez
75b2dbf10e
Improve wording, fix broken link 2020-02-01 14:27:49 +01:00
Carles Fernandez
6c5a5c7aee
Update broken links 2020-02-01 13:57:10 +01:00
Carles Fernandez
2b3958dccb
Replace MacOS by macOS 2020-02-01 11:18:08 +01:00
Carles Fernandez
c00cd6bba0 Set RTCM parameter half_cycle_ambiguity_indicato (DF420) to false 2020-01-29 10:42:16 +01:00
Carles Fernandez
435f3641e0
clang-format fixes 2020-01-26 22:33:03 +01:00
Carles Fernandez
9023f19794
Use C++ comments for final #endif in headers 2020-01-26 22:23:22 +01:00
Carles Fernandez
eb40d9dbb5
Minor fixes 2020-01-26 14:09:49 +01:00
Carles Fernandez
664ad05bec
Update references and links to ICDs 2020-01-25 13:42:55 +01:00
Carles Fernandez
dc3bf0172a
Update references and links to ICDs 2020-01-25 13:07:03 +01:00
Javier
650d637ee2 Better fix for bug fix that prevented PVT when disabled rx_clock_correction, issue #343 2020-01-22 12:16:48 +01:00
Javier
d387e1bf1a Bug fix that prevented PVT when disabled rx_clock_correction, issue #343 2020-01-22 11:24:07 +01:00
Carles Fernandez
eda1fcaaf2
Fix docs: add brief description in header to all files 2020-01-21 19:53:33 +01:00
Carles Fernandez
97c8c66755
Fix file name in header 2020-01-21 10:26:03 +01:00
Carles Fernandez
492a1185ff
Fix file name on header 2020-01-20 21:04:26 +01:00
Carles Fernandez
d4884ed440
Improve script readability 2020-01-20 00:35:00 +01:00
Carles Fernandez
120032c8bd
Fix building with custom build types
None, NoOptWithASM, Coverage, O2WithASM, O3WithASM and ASAN can now be used in CMAKE_BUILD_TYPE, in addition to Debug, Release, RelWithDebInfo and MinSizeRel.
Custom build types passed to volk_gnsssdr

Handle of custom build types when building tests
Fixes for clang
2020-01-19 22:13:50 +01:00
Carles Fernandez
087cea32b4
Simplify script 2020-01-19 11:30:44 +01:00
Carles Fernandez
98ea7dc276
Fix detection of AVX and NEON
Let the compiler know where to find volk/volk_common.h when testing for AVX and NEON

Make use of __VOLK_VOLATILE

Replace <inttypes.h> by <stdint.h> in volk/volk_common.h, fixes configuration in macOS
2020-01-14 12:51:55 +01:00
Carles Fernandez
931d69b76e
Fix ARM NEON detection 2020-01-13 23:12:34 +01:00
Carles Fernandez
69e349d832
Fix guards 2020-01-13 03:12:19 +01:00
Carles Fernandez
6d51ea4ec7
Merge branch 'simple-cmake' into next 2020-01-13 03:04:05 +01:00
Carles Fernandez
bc9725c745
Simplify cmake scripts, fix volk_gnsssdr cross-compilation, update ProtocolBuffers to 3.11.2 2020-01-13 01:49:00 +01:00
Carles Fernandez
c57350cbc7
Fix build for macOS, fix warning about non-virtual destructor 2020-01-12 23:13:44 +01:00
Marc Majoral
1d5ff14619 used clang-format 2019-12-30 18:43:46 +01:00
Marc Majoral
9bfe37877e added scaling_factor. Removed unnecessary code. 2019-12-30 17:50:41 +01:00
Marc Majoral
c05fbe293b removd unused variables
fixed file headers
2019-12-21 17:49:01 +01:00
Marc Majoral
7bc0ce35c4 cleaned source code 2019-12-21 13:25:17 +01:00
Marc Majoral
431739a767 added Galileo E1 FPGA acuisition unit test 2019-12-18 16:23:17 +01:00
Marc Majoral
cf8e327414 removed unused variables 2019-12-18 16:22:17 +01:00
Marc Majoral
b41973065b fixed gps l1 FPGA acquisition test variable names 2019-12-18 13:02:29 +01:00
Marc Majoral
71a0f4fcdc The FPGA acquisition test source file uses floating point format. 2019-12-18 12:46:17 +01:00
Marc Majoral
c9ac1c10db Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fix_fpga_unit_tests 2019-12-16 18:51:15 +01:00
Marc Majoral
eb0df94336 updated fpga-related unit tests + fixed fpga acquisition log of sample stamp + stop tracking message unlocks channel (the fpga multicorrelator stops blocking the flow of samples) 2019-12-16 18:44:22 +01:00
Carles Fernandez
24a2d6c5d9 Update README to reflect how to build on Raspberry Pi 2019-12-16 10:12:15 -03:00
Carles Fernandez
5f97d52998 CMake fixes
Remove Boost usage from lib, and fix it in apps to be used only if std::filesystem is not found.
Be more precise in specifying whether include directories are PUBLIC or PRIVATE.
Some whitespace tweaks
2019-12-15 12:43:07 -03:00
Carles Fernandez
24c48c1700
Fix building gtest when sources are found 2019-12-06 18:00:06 +01:00
Carles Fernandez
3673091a18
Improve support for multi-configuration generators 2019-12-06 14:23:12 +01:00
Carles Fernandez
a3168bcafe
Fix bug in rtklib_conversions of glonass ephemeris (Fixes: #344) 2019-12-05 15:58:26 +01:00
Carles Fernandez
80fbeb4fe5
Revert "cmake: Use standard way of getting python prefix"
This reverts commit f6311abc87.
2019-11-30 21:14:12 +01:00
Carles Fernandez
f6311abc87
cmake: Use standard way of getting python prefix 2019-11-30 20:48:13 +01:00
Carles Fernandez
0038853c52
Clean CMake files 2019-11-30 20:30:22 +01:00
Carles Fernandez
b552616b99
Find Python 3 with CMake < 3.12 2019-11-30 17:42:44 +01:00
Carles Fernandez
21d19ebd93
Fix typo 2019-11-30 14:19:25 +01:00
Carles Fernandez
51c8732ff1
Look for python3 in first place even if CMake < 3.12 2019-11-30 14:18:39 +01:00
Carles Fernandez
52a6347fd4
Add missing include 2019-11-30 01:09:07 +01:00
Carles Fernandez
1604d86381
Remove unused variable 2019-11-30 00:55:13 +01:00
Carles Fernandez
96bf6587e7
Fix memory leaks (Fixes: #342) 2019-11-30 00:31:07 +01:00
Carles Fernandez
50f4c2004c
Fix random error in trk_test 2019-11-29 16:40:50 +01:00
Carles Fernandez
1d8024df98
Apply clang-format 2019-11-29 16:40:03 +01:00
Carles Fernandez
aa9adf3fd6
Replace deprecated exec_program by execute_process 2019-11-29 13:20:49 +01:00
Carles Fernandez
c88fffc5b2
Fix uninstall target 2019-11-29 13:02:02 +01:00
Carles Fernandez
625561a655
Remove deprecated cstdbool header 2019-11-25 22:47:31 +01:00
Carles Fernandez
bc7edede7c
Fixes for MSVC 2019-11-25 21:48:52 +01:00
Carles Fernandez
6993890587
Remove old comments 2019-11-24 22:25:18 +01:00
Carles Fernandez
df6d8eacb5
Do not have two files with the same name 2019-11-24 22:24:46 +01:00
Carles Fernandez
82508e9aba
Merge branch 'odrisci-fix_pcps_threshold' into next. Fixes: #331 2019-11-24 21:24:16 +01:00
Carles Fernandez
64a1fcafb2
Boost_ADDITIONAL_VERSIONS is deprecated 2019-11-24 21:20:37 +01:00
Carles Fernandez
6ea7ae582c
Add more parameters in the default config 2019-11-24 13:07:26 +01:00
Carles Fernandez
f6bcc27508
Apply clang-format and clang-tidy 2019-11-24 13:06:32 +01:00
Carles Fernandez
abc12aaab3
Do not read use_CFAR_algorithm from configuration
Now it is just an internal flag not exposed to the configuration.
Added a control to ensure pfa and pfa2 are between 0.0 and 1.0
2019-11-24 12:18:21 +01:00
Carles Fernandez
f2a537e403
Remove old code from acquisition adapters 2019-11-24 11:33:32 +01:00
Carles Fernandez
a6300b7ccb
Fix parameter reading 2019-11-23 22:34:46 +01:00
Carles Fernandez
acfc6f7903
Initialize all members 2019-11-23 19:26:01 +01:00
Carles Fernandez
e0f8bdd8cc
Fix initializations 2019-11-23 19:10:36 +01:00
Carles Fernandez
d6528a4d13
Fix GPS L5 adapter 2019-11-23 11:23:36 +01:00
Carles Fernandez
7ab1c3233f
Fix for homebrew 2019-11-22 21:40:42 +01:00
Carles Fernandez
17fd01ee3f
Use sha256 instead of sha1 for hash algorithm 2019-11-17 21:01:03 +01:00
Carles Fernandez
815a910619
Make use of ORC if available 2019-11-17 13:42:29 +01:00
Carles Fernandez
134ddd8561
Fix existing conf files using threshold instead of pfa 2019-11-17 12:24:03 +01:00
Carles Fernandez
0cd60b5fa1
Fix for old compilers 2019-11-16 20:09:14 +01:00
Carles Fernandez
4363dfcc9f
Fix for old compilers 2019-11-16 19:21:02 +01:00
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
Carles Fernandez
a7d19789f3
Merge branch 'fix_pcps_threshold' of https://github.com/odrisci/gnss-sdr into odrisci-fix_pcps_threshold 2019-11-16 12:40:22 +01:00
Carles Fernandez
1a9e25aa76
Add __clang__ specific attributes 2019-11-16 12:25:39 +01:00
Carles Fernandez
5728730c2a
cmake: use sha1 instead of md5 for unique target name hash
See https://github.com/gnuradio/volk/issues/238
2019-11-16 11:50:41 +01:00
Cillian O'Driscoll
7a7fd9a7b2 Fixed two missed references to "ic8" -> cbyte 2019-11-15 11:47:46 +00:00
Cillian O'Driscoll
03ee350dd2 Added unit tests for item_type_helpers 2019-11-15 11:39:32 +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
Carles Fernandez
b8ae6434cc Add more parameters to Observables test 2019-11-14 12:15:41 +01:00
Carles Fernandez
a00ec7b4cd
Allow more error 2019-11-12 23:18:41 +01:00
Carles Fernandez
eeaecee3b0
Fix for old systems having gflags but not glog 2019-11-12 23:17:22 +01:00
Javier Arribas
4c6fa48615 typo fix 2019-11-12 18:35:55 +01:00
Carles Fernandez
48a8369b6e Fix test 2019-11-12 17:49:18 +01:00
Carles Fernandez
4cf60d79ae
Remove superfluous lines 2019-11-11 00:25:34 +01:00
Carles Fernandez
8adcf7cf0a
Fix building with Debug configurations when gflags or glog are not present 2019-11-10 23:26:03 +01:00
Carles Fernandez
08e913c4e3
More fixes for Xcode 2019-11-09 19:56:28 +01:00
Carles Fernandez
76b6b4d22e
More fixes for Xcode 2019-11-09 10:38:38 +01:00
Cillian O'Driscoll
3d27940b0a Applied clang-format 2019-11-08 13:47:08 +00:00
Cillian O'Driscoll
db57db839f Fixed unused variable warning 2019-11-08 13:44:07 +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
6a969b1ea3 Fixes for crashing tests in acq_conf 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
Cillian O'Driscoll
75c57e90e5 [WIP] Fixing threshold setting in pcps_acquisition 2019-11-08 13:44:07 +00:00
Cillian O'Driscoll
695f3a9456 Added item type helpers 2019-11-08 13:44:07 +00:00
Carles Fernandez
f6fe26fb4b
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2019-11-08 14:26:00 +01:00
Carles Fernandez
d3d2817dcb
Fix finding of gnss-sim executable when building with Xcode 2019-11-08 14:25:43 +01:00
Cillian O'Driscoll
a1df1eeb9c Fix missing factor two pi in clock correction
This was leading to large code/carrier divergence in the rinex output
2019-11-08 14:21:46 +01:00
Carles Fernandez
c1a26e01ff
Fix building with Xcode
Now gnss-sdr can be built with Xcode (using the CMake flag -GXcode). Before this commit, this was only possible with volk_gnsssdr already installed.
Reason of failing was that Xcode does not like targets that have only object files. See https://gitlab.kitware.com/cmake/cmake/issues/17457
2019-11-07 17:55:00 +01:00
Carles Fernandez
39382d38e9 Apply clang-format 2019-11-05 16:07:24 +01:00
Marc Majoral
83b202a5f7 Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into improve_fpga_extended_correlation 2019-11-05 15:04:20 +01:00
Carles Fernandez
510a3a15ba Update BeiDou satellite names 2019-11-05 14:47:27 +01:00
Carles Fernandez
bf0cba714c Apply clang-format 2019-11-05 14:45:41 +01:00
Carles Fernandez
4ac164a176 Merge branch 'odrisci-add_clock_drift' into next 2019-11-05 14:44:18 +01:00
Carles Fernandez
85c4786528 Apply clang-format 2019-11-05 14:43:41 +01:00
Marc Majoral
0e9fc67e0e Improved prn length estimation when performing extended correlation in the FPGA. 2019-11-05 13:05:01 +01:00
Carles Fernandez
f3de26ceec Apply clang-tidy 2019-11-05 12:42:56 +01:00
Cillian O'Driscoll
2a57b6e8d5 Added user_clk_drift_ppm to monitor_pvt 2019-11-05 09:45:11 +00:00
Cillian O'Driscoll
828d3cd525 [WIP] Adding velocity and clock drift 2019-11-05 09:17:41 +00:00
Cillian O'Driscoll
f9f7884d05 Applied clang-format to the previous commit 2019-11-05 09:17:41 +00:00
Cillian O'Driscoll
216e8dfa26 Added velocity and clock drift to PVT
Interestingly RTKLIB does not store the clock drift in its sol_t
datatype, so I added this to the unused element dtr[5]. This may not be
compatible with future versions of RTKLIB.

Here we store velocity in ENU coordinates and the clock drift in parts
per million (PPM)
2019-11-05 09:17:41 +00:00
Carles Fernandez
34d203a138
Fix Galileo date 2019-11-04 21:10:27 +01:00
Carles Fernandez
8f12cbc466
Include Visual Studio 14 2019-11-04 21:09:11 +01:00
Carles Fernandez
4e5a8885b1
Document triple-band modes in comments 2019-11-03 13:13:47 +01:00
Carles Fernandez
b17e58ed5a
Cosmetic changes 2019-11-02 12:23:28 +01:00
Carles Fernandez
75c2dcc929
Remove unused variable 2019-11-01 21:02:43 +01:00
Carles Fernandez
4816ae64f7
Add toolchain files for ARM processors 2019-11-01 19:29:28 +01:00
Carles Fernandez
62ace8d9e4
Move CMAKE_ASM_FLAGS to arm toolchain files 2019-11-01 11:17:52 +01:00
Carles Fernandez
d14111c85d
Improve license text wording
Fix for AppleClang compiler >= 11
2019-10-30 21:27:57 +01:00
Marc Majoral
8bb25dc682 removed the messages related to the fft blk exponent 2019-10-28 20:21:47 +01:00
Carles Fernandez
37f427844d Apply clang-format 2019-10-28 13:00:18 +01:00
Marc Majoral
f3485bb39b Throttle the DMA to give more time to other signal processing tasks. 2019-10-28 12:51:11 +01:00
Carles Fernandez
124531ba39
Accelerate writing of secondary code
And other cosmetic changes
2019-10-27 22:42:58 +01:00
Carles Fernandez
b4e4c849b1
More usage of volk_gnsssdr::vector 2019-10-27 21:34:19 +01:00
Carles Fernandez
8df7d82ba2
Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into volk-alloc 2019-10-27 13:13:51 +01:00
Carles Fernandez
b40fc39aaf
Add receiver runtime to position_test report 2019-10-27 13:12:06 +01:00
Carles Fernandez
9a9c8825ed
Improved usage of reserve/resize 2019-10-27 12:51:01 +01:00
Carles Fernandez
82089979fe
Fix usage of resize instead of reserve 2019-10-27 11:25:31 +01:00
Carles Fernandez
b1166de1a0
Introduce volk:gnsssdr::vector
The usual benefits of using objects as opposed to pointers (RAII) + the type information is manifest (no void* pointers)
The best of both worlds: automatic destruction, aligned memory
2019-10-26 22:24:42 +02:00
Marc Majoral
e0ef72eb75 fixed comments 2019-10-24 21:16:51 +02:00
Marc Majoral
6872097892 fixed the FPGA device file numbers used by the E5A tracking class. 2019-10-24 21:16:51 +02:00
Carles Fernandez
74f6c2e115 Fix reading of Delta_n parameter. Fixes #322 2019-10-23 13:20:14 +02:00
Carles Fernandez
9e79bb4b8f Fix bug in Beidou nav message. Fixes #320 2019-10-23 11:16:32 +02:00
Carles Fernandez
a9b0ff184d
Add energy-saving options for AD9361
New flag rf_shutdown, true by default, allows setting the RX and TX streams ON when set to false.
New parameters rx1_enable and rx2_enable, true by default, allow to disable the secondary RX channel when not used
2019-10-13 23:38:06 +02:00
Carles Fernandez
7126185515
Add and apply readability-braces-around-statements check 2019-10-11 19:24:20 +02:00
Carles Fernandez
61c22ed53b
Set default freq_dds_tx_hz parameter to 10 kHz 2019-10-11 12:02:53 +02:00
Carles Fernandez
054a20b5bf
Apply clang-format to the whole code tree 2019-10-11 11:57:33 +02:00
Carles Fernandez
3307edc1c9 Add Gnuradio::analog target for old gr-iio versions 2019-10-10 12:26:19 +02:00
Carles Fernandez
3f21367587 Fix building in some configurations 2019-10-10 10:40:37 +02:00
Carles Fernandez
cb99011de8
Fix building 2019-10-10 08:12:25 +02:00
Carles Fernandez
a6c6e53982
Fix building in Debian Buster 2019-10-10 07:38:27 +02:00
Carles Fernandez
8eca3f7cf0
Fix debian10 building 2019-10-09 22:55:20 +02:00
Carles Fernandez
94bef678af
Set definition to PRIVATE 2019-10-09 22:24:29 +02:00
Carles Fernandez
7e823123a2
Improve doc provided in terminal 2019-10-09 22:17:44 +02:00
Carles Fernandez
b0c00eb5b0
Fix for old versions of libad9361 2019-10-09 22:08:08 +02:00
Carles Fernandez
54698bd211
Apply clang-format 2019-10-09 21:15:20 +02:00
Carles Fernandez
fb0093aaab
clang-tidy: apply performance-unnecessary-value-param fix 2019-10-09 21:13:28 +02:00
Carles Fernandez
e4a39188f5
Implement FIR filter configuration 2019-10-09 20:50:06 +02:00
Carles Fernandez
c081c2ea57 Add work on FIR configuration 2019-10-09 19:05:31 +02:00
Carles Fernandez
43a8090dc6
Add work in the AD9361 manager 2019-10-09 09:18:29 +02:00
Carles Fernandez
09078b6486 Implement more conf options for AD9361 FIR filters, work in progress 2019-10-08 19:34:18 +02:00
Carles Fernandez
0dbba0500d Add more parameter guards 2019-10-08 16:38:30 +02:00
Carles Fernandez
df4a218ab4 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fir 2019-10-08 14:55:40 +02:00
Carles Fernandez
4208ffb4fb Work in the FIR filter 2019-10-08 14:55:16 +02:00
Carles Fernandez
daa30c992c Remove unused parameters 2019-10-08 14:47:28 +02:00
Carles Fernandez
bdabbf7f85 Implement phase_dds_deg parameter, fix guard for tx_bandwidth 2019-10-08 12:57:37 +02:00
Carles Fernandez
48a62594eb
Add work on RF configuration parameters for AD9361 2019-10-07 22:45:09 +02:00
Carles Fernandez
b5c253fd8f
Implement more configuration options for AD9361 2019-10-06 19:07:24 +02:00
Carles Fernandez
64e7a7995b
Remove unused variables 2019-10-06 01:31:36 +02:00
Carles Fernandez
73e6d6aa1f
Fix warning 2019-10-05 21:29:23 +02:00
Carles Fernandez
1e0c789c84
Prepare for gr-iio integration into GNU Radio 2019-10-05 21:12:54 +02:00
Carles Fernandez
cc2d723520
Apply clang-format to SUPL libraries 2019-10-05 10:29:46 +02:00
Carles Fernandez
af2d38bed9
Revert back Armadillo to 9.800.x 2019-10-05 03:32:53 +02:00
Carles Fernandez
c9e03557b7
Remove tabs 2019-10-05 03:16:31 +02:00
Carles Fernandez
933211dcc3
Update Googletest to v1.10.0 2019-10-04 14:46:46 +02:00
Carles Fernandez
c63c85ff36
Set assist_dual_frequency_acq to true by default only for multiple-band receivers
Fixes configurations which do not contain signals in L1
2019-10-04 09:17:29 +02:00
Carles Fernandez
b8eef3697f
Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next 2019-10-03 20:20:54 +02:00
Carles Fernandez
ceaa785423 Set global parameter assist_dual_frequency_acq to true by default 2019-10-03 19:15:05 +02:00
Carles Fernandez
89782d3f0a
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2019-10-03 19:12:17 +02:00
Marc Majoral
dbf0c38d37 applied clang-format 2019-10-03 16:37:18 +02:00
Marc Majoral
5d2047c300 replaced the device_base parameter by the dev_file_num parameter. dev_file_num specifies for each GNSS signal the first /dev/uio<X> driver that is associated to an FPGA HW accelerator that can be used for the tracking process of that GNSS signal. This parameter depends on the FPGA compilation and it is independant of the number of channels that are used for the tracking of other GNSS signals. 2019-10-03 16:37:18 +02:00
Marc Majoral
f2b2eb2f1a replaced .device_base by .dev_file_num parameter. The .dev_file_num parameter points for each type of GNSS signal, the number of the first uio device file that is used for the tracking process. 2019-10-03 16:37:18 +02:00
Carles Fernandez
3fbc239a03
Apply clang-tidy: performance-move-const-arg check 2019-10-03 01:45:23 +02:00
Marc Majoral
d20284fbc0 removed unused parameters 2019-10-02 15:25:46 +02:00
Carles Fernandez
8c31c19c09
Merge branch 'file_dma' into next 2019-10-02 00:19:22 +02:00
Marc Majoral
3a9e48c31c applied clang-format 2019-10-01 23:44:07 +02:00
Marc Majoral
e9470f566e fixed L1 and L2/L5 frequency band selection. 2019-10-01 23:13:28 +02:00
Marc Majoral
b932c5ef98 added the enable_DMA_ flag, which is used to stop the DMA when the user quits gnss-sdr, and the receiver is using the FPGA and the receiver is working in post-processing mode. 2019-10-01 22:26:30 +02:00
Marc Majoral
d379a3ed6c When using the FPGA, the Ad9361FpgaSignalSource is instantiated after the acquisition and tracking classes. In this way, when using the receiver in post-processing mode, when the DMA starts sending signal samples to the receiver, the acquisition and tracking classes are already configured and ready. 2019-10-01 16:01:44 +02:00
Marc Majoral
03cc2698bd removed the assert() function, which did not work properly. 2019-10-01 15:53:45 +02:00
Carles Fernandez
a64d3c282f
Improve thread management 2019-09-29 13:01:13 +02:00
Carles Fernandez
453c0cd249
Inject file(s) via DMA if switch_position=0 in Ad9361_Fpga_Signal_Source 2019-09-28 21:59:05 +02:00
Carles Fernandez
677711a238
Move Q components to imaginary part 2019-09-28 13:41:24 +02:00
Carles Fernandez
690f60037e
Replace cn0_mm_estimator by cn0_m2m4_estimator name 2019-09-28 01:18:23 +02:00
Carles Fernandez
43eafdd484
Improve documentation 2019-09-28 01:16:25 +02:00
Carles Fernandez
cdd490e628
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2019-09-23 18:19:05 +02:00
Carles Fernandez
54661af0a4 Fix compilation in macOS when ENABLE_AD9361=ON 2019-09-23 14:36:09 +02:00
Carles Fernandez
4dc30da649 Remove unused variables 2019-09-23 14:34:44 +02:00
Carles Fernandez
0e6364af5a Remove unused variables 2019-09-23 14:25:03 +02:00
Carles Fernandez
7f65e726f5
Cleaner call to function 2019-09-19 21:51:29 +02:00
Carles Fernandez
a4c55b53e9
Fix tracking of data component in L5 and E5a 2019-09-19 18:07:13 +02:00
Carles Fernandez
a6e062492e
Allow edition of files with editors compatible with clang-format 2019-09-18 22:01:50 +02:00
Carles Fernandez
3bf42ff14e
Apply clang format 2019-09-18 22:00:26 +02:00
Carles Fernandez
3b86a8f05a
Merge branch 'fix-beidou' into next (Fixes: #311) 2019-09-18 21:47:17 +02:00
Carles Fernandez
17cceabd52
Fix BeiDou decoding 2019-09-18 21:46:47 +02:00
Carles Fernandez
0c2efce10a Replace custom_year parameter name and type by bool pre_2009_file to process files dated from 1999 to 2009 2019-09-18 18:25:07 +02:00
Carles Fernandez
57d6ba7404 Fix week in GPS RINEX navigation files 2019-09-18 11:20:20 +02:00
Carles Fernandez
553df7db6a
Fix BeiDou telemetry decoder. Fix provided by David Ramati 2019-09-17 18:49:31 +02:00
Carles Fernandez
5fc16677ed Fix triple-band RINEX obs when not all signals are present 2019-09-17 16:43:08 +02:00
Carles Fernandez
837dcc6859 Improve formatting 2019-09-17 16:25:17 +02:00
Javier
630e94dbef Fix TOW wrong rollover for modern ephemeris 2019-09-17 12:49:52 +02:00
Carles Fernandez
2832c5d379
Fix estimation of CN0 for low values 2019-09-17 00:58:34 +02:00
Carles Fernandez
f3d502dc45
Add noise to position_test, expose -extend_correlation_symbols flag 2019-09-17 00:16:48 +02:00
Carles Fernandez
539f9463fa
Merge branch 'fix_trk_config_default_values' of https://github.com/mmajoral/gnss-sdr into mmajoral-fix_trk_config_default_values 2019-09-16 23:52:23 +02:00
Carles Fernandez
87e106ceac
Improve CN0 estimator 2019-09-16 21:03:04 +02:00
Marc Majoral
fcbdc47fe5 fixed the default values of some FPGA tracking configuration parameters 2019-09-16 17:29:18 +02:00
Carles Fernandez
ddaf923090
Fix GLONASS, Beidou B3I and L5+E5a RINEX files generation 2019-09-15 18:10:05 +02:00
Carles Fernandez
c7c50c37db
Fix RINEX nav in L5+E5a receiver 2019-09-14 19:25:33 +02:00
Carles Fernandez
73b49b979d
More fixes to the generation of RINEX navigation files 2019-09-14 11:57:08 +02:00
Carles Fernandez
269d9010cd
Apply clang-tidy with ENABLE_OPENCL set to ON 2019-09-14 11:27:23 +02:00
Carles Fernandez
edf852299a
Improve generation of RINEX Nav files in some configurations 2019-09-14 10:40:29 +02:00
Carles Fernandez
d116287dca
Fix RINEX navigation files annotations in some configurations 2019-09-13 18:40:41 +02:00
Carles Fernandez
a4593a86bb
Merge branch 'rinex-triple' into next 2019-09-13 17:52:10 +02:00
Carles Fernandez
511f3d4618
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2019-09-13 17:51:10 +02:00
Carles Fernandez
24068bdf11
Print RINEX files for GPS L1+L2+L5 receiver 2019-09-13 17:49:22 +02:00
Javier
cf3a0e4006 Use GNSS-SDR custom_year config parameter (if set) also in RINEX printers 2019-09-13 17:35:53 +02:00
Javier
ad51654fbf Adding global configuration option to specify a custom year in order to postprocess old GNSS captures and avoid wrong week rollover 2019-09-13 16:36:41 +02:00
Carles Fernandez
b674c0e243
Write RINEX files for triple-band, dual-system receiver 2019-09-13 16:30:00 +02:00
Carles Fernandez
d137fda820
Apply clang-tidy 2019-09-13 13:35:26 +02:00
Carles Fernandez
e80122f4ff
Apply clang tidy checks and clang-format 2019-09-13 08:56:37 +02:00
Carles Fernandez
0520d400b3 Apply clang-tidy 2019-09-11 22:31:34 +00:00
Carles Fernandez
e2d4fab080
Fix const usage 2019-09-09 23:31:20 +02:00
Carles Fernandez
79291d04ca
Make element acess in gnss_circular_deque const 2019-09-09 20:21:49 +02:00
Carles Fernandez
a1aaf8aff0
Remove bound checking when accessing elements 2019-09-09 19:08:15 +02:00
Carles Fernandez
c8cd925ba8 Remove bound checking when accessing elements 2019-09-09 16:00:17 +02:00
Carles Fernandez
5f7f6366b6 Get elements of the circular deque without expensive bound checking 2019-09-09 12:10:40 +02:00
Carles Fernandez
24872c02dc
Uniformize header guards 2019-09-07 16:42:22 +02:00
Carles Fernandez
9eb294209a
Allow packaging when gr-iio is not present 2019-09-07 16:41:27 +02:00
Carles Fernandez
fbff35fb56
Improve formatting 2019-09-07 13:37:16 +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
35063985cd
Merge branch 'convolutional' into next 2019-09-07 11:16:51 +02:00
Carles Fernandez
7f18fce958
Fix typo 2019-09-07 10:08:29 +02:00
Carles Fernandez
d652903cb6
Apply formatting 2019-09-07 09:38:05 +02:00
Carles Fernandez
345646ad7d
Clean file 2019-09-07 09:33:48 +02:00
Carles Fernandez
4248edc4f3
Fix for old compilers 2019-09-06 18:49:22 +02:00
Carles Fernandez
9cb1beffa4
Clean formatting 2019-09-06 18:39:03 +02:00