Commit Graph

5702 Commits

Author SHA1 Message Date
Carles Fernandez ff72204400
Use aligned memory in acquisition adapters 2021-10-11 18:31:16 +02:00
Carles Fernandez 1b6b8ee268
Change PUBLIC by INTERFACE since we only need headers 2021-10-11 16:10:58 +02:00
Carles Fernandez 93e4af110e
Remove blank line 2021-10-11 15:54:17 +02:00
Carles Fernandez ed6432301e
Improve constructors
Code cleaning
2021-10-11 15:17:20 +02:00
Carles Fernandez 6e96b41025
Improve constructors: prefer member initializers to member initializations in the constructor body 2021-10-11 15:13:12 +02:00
Carles Fernandez 3d6cfdbcbe
Improve constructors: prefer member initializers to member initializations in the constructor body 2021-10-11 15:02:43 +02:00
Carles Fernandez a9a55d7156
Improve Pvt_Solution constructor 2021-10-11 09:18:04 +02:00
Carles Fernandez 984c1fbb2c
Fix spelling error 2021-10-10 22:49:19 +02:00
Carles Fernandez e8ec809d2c
Raise maximum SEP 2021-10-10 21:41:21 +02:00
Carles Fernandez 05e7da7a87
Fix clang-format 2021-10-10 21:01:06 +02:00
Carles Fernandez c087c63d42
Reduce excessive padding 2021-10-10 20:24:16 +02:00
Carles Fernandez 7cca04da15
Fix clang-format 2021-10-10 19:17:01 +02:00
Carles Fernandez 31d7569353
Remove commented lines 2021-10-10 19:16:27 +02:00
Carles Fernandez 0c4faf0f05
Fix initialization order 2021-10-10 19:09:09 +02:00
Carles Fernandez aab8ef3b34
Fix readability-avoid-const-params-in-decls 2021-10-10 18:59:56 +02:00
Carles Fernandez 188d34ba14
Fix bugprone-reserved-identifier 2021-10-10 18:58:04 +02:00
Carles Fernandez 3fc7a27cec
Improve constructors, remove unused members 2021-10-10 18:56:14 +02:00
Carles Fernandez 446b7cfbea
Improve constructors
Prefer initialization to assignment in constructors

Improves the readability of the code and performance

Easier detection of unused members

(see https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md\#Rc-initialize\)
2021-10-10 18:54:42 +02:00
Carles Fernandez 6858e63eb8
Fix null pointer dereference detected by Coverity Scan 2021-10-09 12:27:52 +02:00
Carles Fernandez a510c9d92e
Remove UnscentedFilterComputationTest suite, which is randomly failing 2021-10-08 19:07:11 +02:00
Carles Fernandez 9e386b8857
Make clang-tidy 13 happy (was: modernize-return-braced-init-list check) 2021-10-08 14:50:05 +02:00
Carles Fernandez a50284f403
Merge branch 'DMA_FPGA' of https://github.com/mmajoral/gnss-sdr into mmajoral-DMA_FPGA 2021-10-08 11:25:22 +02:00
Carles Fernandez 26555222d6
Add include (make cpplint's build/include_what_you_use filter happy) 2021-10-08 11:24:34 +02:00
Carles Fernandez af5529be4d
Merge branch 'FixCompilation' of https://github.com/iucgnaw/gnss-sdr into iucgnaw-FixCompilation 2021-10-08 11:15:54 +02:00
Carles Fernandez ccbe1c9ac9
Add includes (make cpplint's build/include_what_you_use filter happy) 2021-10-08 11:15:01 +02:00
Marc Majoral eccf2ee746 temporarily prevent a problem with the DMA, which occurs when using petalinux 2018.3, the ezdma and when switching from tx to rx transfer mode. 2021-10-08 10:14:38 +02:00
iucgnaw e2013278c0 Added missing header
Signed-off-by: iucgnaw <iucgnaw@msn.com>
2021-10-08 11:15:20 +08:00
Carles Fernandez 13b5d80ab6
Remove unused variables 2021-10-07 10:12:14 +02:00
Carles Fernandez 8f727da785
Fix flag description 2021-10-07 09:44:15 +02:00
Marc Majoral 299be53c22 updated the FPGA tracking module following the changes made in commit 58c2a43239 (Oct 4, 2021) for the SW tracking (improving the reliability of GPS L1 CA symbol synchronization) 2021-10-05 21:38:32 +02:00
Marc Majoral 8e4a26887c updated the FPGA tracking module following the changes made in commit ed93af11ac (Oct 21, 2020) to the SW tracking (added tracking monitors) 2021-10-05 21:18:43 +02:00
Carles Fernandez 83ad19309b
Fix for GCC 4.8 2021-10-05 14:17:36 +02:00
Carles Fernandez 19f9dbf8de
Merge branch 'an-packet' into next 2021-10-05 10:28:40 +02:00
Carles Fernandez 2e09b03174
Merge branch 'fix-asan' into next 2021-10-04 22:29:03 +02:00
Carles Fernandez 9982e18f6b
Retrieve reduced CED only once, don't do it if we already have the full ephemeris set
Update changelog
2021-10-04 22:02:47 +02:00
Carles Fernandez 553b8d12d5
Add a commandline flag that disables the keyboard listener, so the receiver cannot be stopped with Enter+q.
Workaround for ASAN mode termination
2021-10-04 20:59:12 +02:00
Carles Fernandez 4a6200434c
Merge branch 'Bugfix' of https://github.com/iucgnaw/gnss-sdr into iucgnaw-Bugfix 2021-10-04 17:56:04 +02:00
Carles Fernandez 7d4562465b
CI: fix cpplint job 2021-10-04 17:19:03 +02:00
Javier Arribas 58c2a43239 Improving the reliability of GPS L1 CA symbol synchronization 2021-10-04 17:07:07 +02:00
iucgnaw dfe793799b Fixed bit order when regenerate ephemeris pages from FEC2 RS pages.
Signed-off-by: iucgnaw <iucgnaw@msn.com>
2021-10-04 20:01:50 +08:00
Carles Fernandez 3800ac4c21
Update gsl-lite to v0.39.0 2021-10-02 02:32:18 +02:00
Carles Fernandez 2c9358b9b4
Make the address sanitizer happy 2021-10-02 00:46:18 +02:00
Carles Fernandez bbf50076a0
Fix allocated size not a multiple of alignment 2021-10-01 22:43:11 +02:00
Carles Fernandez e96fbb348e
Apply flag also to GCC 2021-10-01 22:41:09 +02:00
Carles Fernandez 52076fa37a
Make the address sanitizer happy 2021-10-01 22:35:12 +02:00
Carles Fernandez 4bb3bab2d3
Fix comment in include 2021-10-01 14:36:57 +02:00
Carles Fernandez 8298062f0e
Improve code robustness 2021-10-01 14:25:03 +02:00
Carles Fernandez 2287564752
Make the address sanitizer happy 2021-10-01 12:52:29 +02:00
Carles Fernandez 87fa29f3ab
CI: Fix cpplint job 2021-10-01 08:49:15 +02:00
Carles Fernandez 5e0c99faee
Add work on AN printer 2021-09-30 18:35:34 +02:00
Carles Fernandez d01f4cb86b
Add work on AN printer 2021-09-30 15:01:58 +02:00
Carles Fernandez 387d9ad1b1
Fix serial port speed to 115200 bauds for the AN printer 2021-09-30 11:08:13 +02:00
Carles Fernandez 2ccac04003
Add Advanced Navigation Protocol printer 2021-09-30 10:24:56 +02:00
Carles Fernandez e09a37ca61
Fix for very old CMake 2021-09-29 12:54:23 +02:00
Carles Fernandez fd5698b39d
Fix warning raised by GCC 11. Was: -Wstringop-overflow
warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 1254 |             *bp++ = *p;
      |             ~~~~~~^~~~
2021-09-29 12:52:44 +02:00
Carles Fernandez d7198845c0
Fix possible container overflow detected in ASAN mode 2021-09-29 10:26:40 +02:00
Carles Fernandez ae78462e1a
Merge branch 'flag_PLL_180_deg_phase_locked' of https://github.com/mmajoral/gnss-sdr into mmajoral-flag_PLL_180_deg_phase_locked 2021-09-29 09:06:03 +02:00
Carles Fernandez da9fa85631
Fix reading of cell masks. They are not transmitted if the corresponding cell mask availability flag is zero 2021-09-29 09:01:13 +02:00
Carles Fernandez af2b6db808
Merge branch 'feature/expose-rtk-debug' of https://github.com/jwmelto/gnss-sdr into jwmelto-feature/expose-rtk-debug 2021-09-28 04:21:37 +02:00
Jim Melton 60b39bad81
make Pvt_Conf a class again 2021-09-27 17:16:22 -06:00
Marc Majoral 43c8d6bd43 Optimizing GPS L1 CA bit transitiion detection by using a bit transition slope pattern in the FPGA 2021-09-27 17:44:44 +02:00
Javier Arribas d6ed2698e6 Optimizing GPS L1 CA bit transitiion detection by using a bit transition slope pattern 2021-09-27 16:11:17 +02:00
Javier Arribas e9f7a36663 Remove debug prints 2021-09-27 15:28:30 +02:00
Javier Arribas 8840e4d840 Merge branch 'next' of github.com:gnss-sdr/gnss-sdr into next 2021-09-27 14:03:01 +02:00
Javier Arribas 003ae61316 Fix GPS L1 CA telemetry decoder for 180 deg. PLL lock 2021-09-27 13:53:14 +02:00
Carles Fernandez ba815abcde
Merge branch 'two-bit-sample-size' of https://github.com/jwmelto/gnss-sdr into jwmelto-two-bit-sample-size 2021-09-27 12:04:14 +02:00
Carles Fernandez 715987e749
Improve design of the Viterbi Decoder API
Easier to use, it does not require external memory for internal states anymore
2021-09-26 13:23:28 +02:00
Carles Fernandez 43df43ff9d
Fix container overflow detected in ASAN mode 2021-09-26 11:05:51 +02:00
Carles Fernandez 69f71107c7
Make clang-tidy happy. Warnings were: readability-isolate-declaration, readability-redundant-control-flow 2021-09-26 09:14:48 +02:00
Carles Fernandez e52ccfb893
Rewriting of the Viterbi decoding
New class implementing the Viterbi decoder. All memory allocated in the constructor

Old SBAS Viterbi decoder moved to Viterbi_Decoder_Sbas class.
2021-09-25 20:29:51 +02:00
Carles Fernandez 010069b86a
Improve memory allocation, allow running when compiled in ASAN mode
Control if GNSS ID have no definition when reading the orbit correction block
2021-09-25 16:44:07 +02:00
Carles Fernandez 8d3548cae9
Move back constructor to .cc file. Fix Orbital Correction block reading 2021-09-24 19:37:38 +02:00
Carles Fernandez 64b0fbe70d
Move constructor to the header file to make portability easier
Avoid magic numbers
Fix clang-tidy warning. Was: performance-inefficient-string-concatenation
2021-09-24 17:25:59 +02:00
Carles Fernandez a7210933b4
Fix clang-tidy warning. Was: performance-inefficient-string-concatenation 2021-09-24 16:56:04 +02:00
Carles Fernandez 48b62e9585
If dump_filename points to a non-existing folder, try to create it 2021-09-24 16:52:13 +02:00
Carles Fernandez f05ab2c410
Improvements to the Has_Simple_Printer
Fix clang-tidy error
Use fixed precision when reporting floats
2021-09-24 16:40:13 +02:00
Carles Fernandez dcf9c8c774
Be more explicit in the terminal if an instantiation fails 2021-09-24 09:20:49 +02:00
Carles Fernandez 9384c8c303
Make ASAN compilation mode happy 2021-09-23 19:06:00 +02:00
Carles Fernandez 38cffe480b
Make ASAN compilation mode happy: fill d_genpoly_index vector in constructor 2021-09-23 18:08:12 +02:00
Carles Fernandez a42c66ec29
Add utilities to galileo_has_data class, improve HAS message printer 2021-09-23 10:20:10 +02:00
Jim Melton 530684d241
make clang-tidy happy 2021-09-22 20:02:36 -06:00
Jim Melton 11f53a3fcb
document PVT params; enable RTKLIB trace level to be set 2021-09-22 18:12:30 -06:00
Carles Fernandez e0604bdf22
Improve output text formatting 2021-09-22 12:39:13 +02:00
Carles Fernandez 1b74afe640
Fix include what you use
Fix doxygen documentation
Move close_file() to a private method
2021-09-21 17:38:52 +02:00
Marc Majoral 03566b1fbf added 180 deg. inverted carrier phase PLL lock flag in gnss_synchro 2021-09-21 17:25:16 +02:00
Carles Fernandez b648571b6d
Print HAS status and message ID in HAS message printer
and other formatting improvements
2021-09-21 16:35:09 +02:00
Carles Fernandez 0124bc9b61
Fix reporting of Delta Clock C0 in Clock full-set corrections block 2021-09-21 12:38:39 +02:00
Carles Fernandez ac250631a8
Instantiate HAS message printer only if required 2021-09-21 12:37:16 +02:00
Carles Fernandez e8cc23276f
Read clock subset corrections in HAS message 2021-09-21 11:52:38 +02:00
Carles Fernandez bd62e33dc6
Improve HAS message printer 2021-09-20 20:23:52 +02:00
Carles Fernandez b062598713
Instantiate Gal E6 receiver only if needed 2021-09-20 18:02:17 +02:00
Carles Fernandez 271c59f475
Add a simple HAS message printer to inspect data 2021-09-20 15:09:33 +02:00
Carles Fernandez 9b523e77f4
Add reading of phase discontinuty indicator in Phase Bias block
Fix reading of signed integers
2021-09-20 13:39:55 +02:00
Carles Fernandez cff58981b4
Remove blank line 2021-09-20 12:11:15 +02:00
Carles Fernandez 7a0cbd2503
Implement HAS message reading 2021-09-20 08:53:23 +02:00
Carles Fernandez 531ca63398
Make the code more portable
Avoid arrays with variable length, replace them by std::vector
2021-09-17 13:55:09 +02:00
Carles Fernandez 61d5485e29
Make clang-idy happy. Fix modernize-use-bool-literals check 2021-09-16 20:40:18 +02:00
Carles Fernandez 58d508623b
Add protection to crazy HAS data 2021-09-16 18:19:18 +02:00
Carles Fernandez 5b4218a37e
Read Mask block in the MT1 body 2021-09-16 18:02:47 +02:00
Marc Majoral 80ccad790d do not write the signal source gain if the AGC is enabled when using the AD9361. 2021-09-14 17:46:52 +02:00
Carles Fernandez c3fe1bcc79
Add CRC check success rate reporting to all telemetry decoders
Added as std::unique_ptr to minimize memory footprint if not used
C++ logic operators translated to && and ||
2021-09-13 23:19:37 +02:00
Carles Fernandez 69db42f3ee
Make Coverity Scan happy: fix uninitialized members in constructor 2021-09-10 22:02:14 +02:00
Carles Fernandez 4817ec058a
Be more explicit on how to retrieve data 2021-09-08 15:34:32 +02:00
Carles Fernandez 0aeb1c28c7
Fix CI jobs 2021-09-07 16:16:25 +02:00
Carles Fernandez b1cfc427aa
Fix CI jobs 2021-09-07 16:02:34 +02:00
Carles Fernandez 0319dd5ae1
Add decoded HAS mmesages to the navigation message monitor 2021-09-07 14:58:16 +02:00
Carles Fernandez 26f72075fc
Add example application to receive decoded navigation messages 2021-09-07 12:13:54 +02:00
Carles Fernandez ea88993ef2
Add monitor to send decoded navigation message bits via UDP 2021-09-06 00:05:29 +02:00
Carles Fernandez 1330958e99
Add missing includes 2021-08-30 16:12:13 +02:00
Marc Majoral 969c85fc45 fixed string passing 2021-08-30 14:29:52 +02:00
Marc Majoral d9b1d197fd Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into telem_CRC_stats 2021-08-30 12:51:58 +02:00
Marc Majoral 33d7924cb9 Telemetry CRC statistics 2021-08-30 12:51:31 +02:00
Jim Melton 06d1d2773b
change the packets per sample calculation for 2-bit files.
This is complicated and I botched it before.
Hopefully someone with access to 2-bit samples can test this
2021-08-24 15:03:48 -06:00
Carles Fernandez 4e9bdd83b7
Bump version to 0.0.15 2021-08-23 14:28:30 +02:00
Carles Fernandez f3a22de830
Make Coverity Scan happy 2021-08-20 22:52:13 +02:00
Carles Fernandez e2efc7e9f1
Stop receiver if no channels have been assigned 2021-08-11 19:01:09 +02:00
Carles Fernandez 18005c6ca8
Merge branch 'fix-cpufeatures' into next 2021-08-11 18:59:05 +02:00
Carles Fernandez e0d41e96e9
Add --num_channels parameter to position_test 2021-08-11 16:35:05 +02:00
Carles Fernandez 8982e4d7ad
Enable NEON kernels in aarch64 architecture 2021-08-11 13:01:25 +02:00
Carles Fernandez fc85b2df8e
Improve detection of the cpu_features library 2021-08-11 11:56:33 +02:00
Carles Fernandez 8c400d1377
Add missing header for PowerPC arch 2021-08-03 22:02:52 +02:00
Carles Fernandez 899830f86a
Merge branch 'ttff_reduction' into next 2021-08-03 21:25:16 +02:00
Carles Fernandez 63c0c06728
CI: fix cpplint and prettier-markdown jobs 2021-08-03 14:43:44 +02:00
Javier Arribas 23a2d3ef89 TTFF reduction in GPS L1 and Galileo E1 2021-08-03 14:03:27 +02:00
Marc Majoral 446e09702a perform the carrier phase coherent initialization when extended integration in the FPGA is enabled 2021-08-03 10:18:27 +02:00
Carles Fernandez b4b9c31182
Improve detection of Gnuplot and gnss_sim when cross-compiling 2021-08-02 09:33:16 +02:00
Javier Arribas 29f59256be Merge with next 2021-07-30 15:42:29 +02:00
Carles Fernandez 5f90820be8
Select C++23 if the environment allows for it
CMake >= 3.21, GCC >= 11, Clang >= 12, UHD < 4.0
2021-07-27 21:18:26 +02:00
Carles Fernandez ce49384004
Fix detection of std::filesystem in recent CMake versions 2021-07-27 11:10:52 +02:00
Carles Fernandez 7672533af5
Minor cosmetics: add two blank lines netween methods for consistency 2021-07-25 21:29:17 +02:00
Carles Fernandez 9d75a376d8
Fix license link in README file 2021-07-25 20:05:29 +02:00
Carles Fernandez 5920500f0e
CI: fix prettier-markdown job 2021-07-25 19:44:01 +02:00
Carles Fernandez 63463eee71
Set BUILD_TESTIN to OFF by default when building cpu_features 2021-07-25 14:43:27 +02:00
Carles Fernandez 9e921d161c
Update cpu_features to 628c50e with support for Apple M1 already merged 2021-07-25 14:09:03 +02:00
Carles Fernandez 9107705ba9
Add support for Apple M1 AArch64 architecture processor
Based on https://github.com/google/cpu_features/pull/150 and michaelld comments
2021-07-25 12:30:39 +02:00
Carles Fernandez d50cf07663
Merge branch 'GnssSynchroDecimationFix' of https://github.com/jt3232/gnss-sdr into jt3232-GnssSynchroDecimationFix 2021-07-25 09:20:07 +02:00
Jaxon Taylor c793ae9a77 Fixed GNSS Synchro Decimation
Signed-off-by: Jaxon Taylor <jt_3232@hotmail.com>
2021-07-24 23:10:49 -05:00
Carles Fernandez 8ec3749efb
Merge branch 'cmake321' into next 2021-07-24 18:55:30 +02:00
Carles Fernandez 80d390600b
Merge branch 'update-icd' into next 2021-07-24 14:30:15 +02:00
Carles Fernandez c9341b6d35
Bump CMake compatibility to version 3.21 2021-07-24 13:59:05 +02:00
Carles Fernandez 0c3ac1127b
Update references to latest GPS ICDs 2021-07-24 13:47:52 +02:00
Carles Fernandez d80d33ad91
Do not use satellites marked as not healthy in the nav message 2021-07-24 10:21:25 +02:00
Carles Fernandez 6289d920cc
Update block for GPS satellites PRN 11 and 14 2021-07-12 13:37:12 +02:00
Carles Fernandez 57d090d29d
Fix regex for old CMake (Fixes: #521) 2021-07-03 15:37:44 +02:00
Carles Fernandez ad5ebaa813
Sanitize branch name so branches with a slash in its name do not break (Fixes: #521) 2021-07-03 13:41:42 +02:00
Javier Arribas 877ff2e7a0 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-06-29 18:19:05 +02:00
Carles Fernandez 4004169f6d
Fix building in some archs when cross-compiling with an SDK 2021-06-28 13:51:20 +02:00
Javier Arribas fae5940ce7 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-06-28 10:39:19 +02:00
Carles Fernandez dac93fc8bf
Save one division of doubles per channel 2021-06-27 11:49:15 +02:00
Javier Arribas a694033755 LimeSDR source is now operative 2021-06-22 16:15:03 +02:00