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

6043 Commits

Author SHA1 Message Date
Lenhart
419fb3925c
Changed example code for navigation message listener:
- old print_content() function hid blocking udp call (unintuitive, less modular)
- member variable nav_msg unnecessary (and confusing. Was previously assigned to itself in read_nav_msg fct after being passed in as fct argument)
- udp_listener class now can be used as library to integrate into custom projects

Signed-off-by: Lenhart <malte.lenhart@mailbox.org>
2021-10-31 16:47:33 +01:00
Carles Fernandez
dc87113279
Fix building of FPGA test 2021-10-30 21:51:23 +02:00
Carles Fernandez
a7a140862b
Fix building against latest GNU Radio
Replace boost::any by std::any
2021-10-30 05:43:22 +02:00
Carles Fernandez
2fc172c0f0
Fix clang-format and cpplint CI jobs 2021-10-29 15:26:51 +02:00
Carles Fernandez
f9911cbc3f
Fix lintian warning very-long-line-length-in-source-file (raised by Lintian v2.110.0)
Rationale:
The source file includes a line length that is well beyond the normally human made code line length.
This very long line length does not allow Lintian to do correctly some source file checks.
This line could also be the result of some text injected by a computer program, and thus could lead to FTBFS bugs.
Last but not least, long line in source code could be used to obfuscate the source code and to hide stuff like backdoors or security problems.
2021-10-29 14:26:55 +02:00
Carles Fernandez
de2c19804d
Remove unused member 2021-10-27 21:35:26 +02:00
Carles Fernandez
5ec8fba831
Input filter: Prefer initialization to assignment in constructors 2021-10-27 21:01:28 +02:00
Carles Fernandez
9df6767461
Improve source code readability 2021-10-27 19:46:54 +02:00
Carles Fernandez
51ecf9998d
cpu_features: Update README.md 2021-10-27 18:34:23 +02:00
Carles Fernandez
82a0e3ec0f
cpu_features: Fix enabling ndk_compat 2021-10-27 18:28:50 +02:00
Carles Fernandez
caa5aa6c34
cpu_features: Override CacheInfo only if new data is available via Deterministic Cache Parameters Leaf 2021-10-27 18:17:10 +02:00
Carles Fernandez
3986c330bd
Define CMAKE_POSITION_INDEPENDENT_CODE when building cpu_features 2021-10-25 18:10:09 +02:00
Carles Fernandez
6604f1a555
cpufeatures: Prefer CMAKE_POSITION_INDEPENDENT_CODE over BUILD_PIC 2021-10-25 17:04:46 +02:00
Carles Fernandez
aaa54927fa
cpufeatures: fix reimplementation of FillX86BrandString 2021-10-25 16:55:58 +02:00
Carles Fernandez
54347faff8
cpufeatures: Change implementation of FillX86BrandString, fix missing header 2021-10-25 16:45:38 +02:00
Carles Fernandez
3db583ff24
cpufeatures: Fixes wrong cache detection of old processors 2021-10-25 16:37:23 +02:00
Carles Fernandez
1c67ca1627
cpufeatures: encapsulate fake cpu instance in x86 test 2021-10-25 16:27:12 +02:00
Carles Fernandez
545cc90320
cpufeatures: Fix if CPU_FEATURES_OS_DARWIN is not defined 2021-10-25 16:24:50 +02:00
Carles Fernandez
50bb95812d
cpufeatures: Add cache info for new AMD CPUs (0x8000001D) 2021-10-25 16:01:44 +02:00
Carles Fernandez
47838a025b
cpufeatures: add BUNDLE DESTINATION 2021-10-25 15:06:16 +02:00
Carles Fernandez
80fc676995
cpufeatures: Add separator to CpuFeatures_StringView_HasWord 2021-10-25 15:04:14 +02:00
Javier Arribas
0c49a44946 Merge branch 'next' of github.com:gnss-sdr/gnss-sdr into pps_lime 2021-10-25 12:03:52 +02:00
Carles Fernandez
4121efa0d2
Fix clang format 2021-10-23 14:19:36 +02:00
Carles Fernandez
2f7263d7a3
Fix for new API for gr-iio component in GNU Radio master 2021-10-23 14:11:20 +02:00
Carles Fernandez
69c4f9f7fc
Remove redundant fields in an_packet_t 2021-10-22 15:51:38 +02:00
Carles Fernandez
7f45739cf0
Add option to force the Observables block to always output Gnss_Synchro objects, not only when there is at least one valid observation 2021-10-22 15:40:17 +02:00
Carles Fernandez
d4a1bb1147
Improve ANP printer
Provide output since the first synchronized satellite
Field microseconds in system time
2021-10-22 13:54:48 +02:00
Javier Arribas
becc3426af Update gr.limesdr adapter to support gr3.8 2021-10-20 11:23:58 +02:00
Javier Arribas
c9d6688f1b Merge with next 2021-10-20 09:47:33 +02:00
Carles Fernandez
753aea1c55
Merge branch 'next' into ssr 2021-10-18 18:31:42 +02:00
Carles Fernandez
835e799770
Fixes for clang-format 13 2021-10-18 18:24:07 +02:00
Carles Fernandez
c93fb481bc
Merge branch 'next' into ssr 2021-10-18 18:19:14 +02:00
Carles Fernandez
a805940bd7
Fixes for clang-format 13 2021-10-18 18:18:57 +02:00
Carles Fernandez
fc2b8033b9
Add missing include 2021-10-18 17:41:33 +02:00
Carles Fernandez
fc32c076df
Add generation of IGM01 messages 2021-10-18 17:24:02 +02:00
Carles Fernandez
0138738231
Merge branch 'next' into ssr 2021-10-18 14:31:11 +02:00
Carles Fernandez
5bed35471a
Add getters for easier access to HAS data 2021-10-18 14:30:57 +02:00
Carles Fernandez
9d8f36ecae
Add work on IGM messages generation 2021-10-18 14:21:46 +02:00
Carles Fernandez
9858e5fcea
Add IGS State Space Representation (SSR) data fields IDF001 - IDF021, and IDF023 - IDF025
See https://files.igs.org/pub/data/format/igs_ssr_v1.pdf
2021-10-12 17:12:18 +02:00
Carles Fernandez
bf3b838c6a
Initialize all data members 2021-10-12 08:32:33 +02:00
Carles Fernandez
693ea1b372
Fix clang-format 2021-10-11 18:42:37 +02:00
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
Javier Arribas
514bb331ce Merging next branch 2021-06-21 17:00:27 +02:00
Carles Fernandez
ecc339e68b
Fix cross-compilation when usign the SDK 2021-06-21 11:08:15 +02:00
Carles Fernandez
d00d0615e3
Fix case in file name 2021-06-21 10:04:54 +02:00
Carles Fernandez
ac43615fa1
Fix Gal E6 tracking when Tracking_E6.track_pilot=true 2021-06-17 11:09:41 +02:00
Carles Fernandez
27d0419f79
Remove abandoned Gn3s_Signal_Source and ENABLE_GN3S building option 2021-06-15 14:19:40 +02:00
Carles Fernandez
f34df21285
Merge branch 'bugfix/sanity-check' of https://github.com/jwmelto/gnss-sdr into jwmelto-bugfix/sanity-check 2021-06-14 12:23:20 +02:00
Carles Fernandez
8b34c2a144
Merge branch 'obs-interval' into next 2021-06-14 09:48:23 +02:00
Carles Fernandez
bf7cea7240
Update Googletest local version to 1.11.0 2021-06-13 14:21:51 +02:00
Carles Fernandez
629a8de149
Update google-benchmark version to 1.5.5. Fix building with Xcode 2021-06-12 14:42:16 +02:00
Carles Fernandez
0b5920338f
Parameterize the observables processing rate with the global configuration parameter GNSS-SDR.observable_interval_ms, set to 20 by default 2021-06-12 11:01:18 +02:00
Jim Melton
bf03b6f144
change sanity check to check the right thing 2021-06-11 23:52:00 -06:00
Carles Fernandez
ac84750f60
Improve volk_gnsssdr library versioning 2021-06-11 09:08:09 +02:00
Carles Fernandez
760977e101
Merge branch 'gal_e6_msg' into next 2021-06-09 16:03:25 +02:00
Carles Fernandez
db971a116b
Add moe debug logging 2021-06-09 14:04:25 +02:00
Carles Fernandez
7bfaab0b17
Add erasure decoder benchmark for E6B 2021-06-08 11:50:55 +02:00
Carles Fernandez
a6c8f98d1d
Merge branch 'next' into gal_e6_msg 2021-06-08 11:34:45 +02:00
Carles Fernandez
99d8f75e47
Improve log formatting 2021-06-08 11:20:25 +02:00
Carles Fernandez
44e35b48ab
Add example of erasure decoding 2021-06-08 11:16:57 +02:00
Carles Fernandez
18fd999bda
Add debug helpers 2021-06-08 11:15:34 +02:00
Carles Fernandez
dfd27e2815
WIP: Add work on HAS decoding 2021-06-07 11:09:52 +02:00
Carles Fernandez
1307083a95
Merge branch 'next' into gal_e6_msg 2021-06-05 22:41:55 +02:00
Carles Fernandez
32b7cee871
Add work on Galileo E6B HAS message decoding 2021-06-05 20:35:12 +02:00
Carles Fernandez
1fc7286a32
Update build option name for benckmark 2021-06-05 01:28:01 +02:00
Carles Fernandez
e966006d35
Fix usage of GNU Radio GR-IIO module API 2021-06-05 01:21:53 +02:00
Carles Fernandez
1feca37b4e
Move HAS decoding to the galileo_e6_has_msg_receiver block 2021-06-04 17:13:35 +02:00
Carles Fernandez
ca442c7076
Fix cpplint CI job 2021-06-02 21:43:29 +02:00
Carles Fernandez
deb49eeba3
Establish data path from Tlm to PVT for HAS data 2021-06-02 21:26:39 +02:00
Carles Fernandez
bad7c7a529
Merge next branch 2021-06-02 18:32:32 +02:00
Javier Arribas
0ad8dc3efe Adding Galileo E6 HAS message transport system 2021-06-02 17:13:46 +02:00
Carles Fernandez
ab6a774f4a
Report HAS message test mode in terminal 2021-06-02 16:57:23 +02:00
Carles Fernandez
dde6f8f44a
Move HAS decoding out from CNAV page content retrieval 2021-06-02 16:30:26 +02:00
Carles Fernandez
3dbb632bf5
Fix CRC computation for Galileo E6B signals 2021-06-02 14:09:10 +02:00
Carles Fernandez
3c74930c7d
Fix building problems in Macports 2021-05-31 10:47:07 +02:00
Carles Fernandez
9a468c8124
Raise CMake max version to 3.20 2021-05-23 14:13:33 +02:00
Carles Fernandez
42be9f1a35
Fix C++ namespace in README 2021-05-21 22:48:27 +02:00
Carles Fernandez
dcb5daf9a8
Detect AVX512 on Darwin
See bc2846e78f
2021-05-21 22:47:33 +02:00
Carles Fernandez
08aea9aa5b
Detect Intel's Multi-Precision Add-Carry Instruction Extensions
See d35e2f38eb
2021-05-21 22:26:09 +02:00
Javier Arribas
3164a7aa3f Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-05-19 12:03:19 +02:00
Marc Majoral
12298ed931 fixed the Galileo E1 channel allocation when using the FPGA 2021-05-19 09:15:32 +02:00
Javier Arribas
4d2fb9290a Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-05-15 16:37:05 +02:00
Marc Majoral
8b21572331 code cleaning 2021-05-06 20:48:41 +02:00
Marc Majoral
a25ce40d54 added a signal in the FPGA to stop the receiver modules. 2021-05-06 20:38:22 +02:00
Javier Arribas
bf7c52d510 Adding timestamp_source command line switch to change the timestamp file from command line 2021-05-04 16:00:38 +02:00
Javier Arribas
672edceec3 Fix gnss-sdr stop after completing a timestamp source processing 2021-05-03 17:30:58 +02:00
Javier Arribas
1e9315900c Adding PVT timetag log recording option 2021-04-29 16:14:35 +02:00
Javier Arribas
9802ac8af0 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-04-28 11:05:10 +02:00
Carles Fernandez
49fc117ab1
Improve control on gtest version 2021-04-24 01:16:20 +02:00
Carles Fernandez
e08a99e76f
Update gsl-lite to version 0.38.1 2021-04-23 15:38:23 +02:00
Carles Fernandez
16233d78cc
Apply minor cosmetic changes
Two blank lines within methods, for consistency with other files
2021-04-20 09:11:59 +02:00
Lenhart
8b6678ec98
removing c++14 digit seperator language feature 2021-04-19 21:21:34 +02:00
lenhart
95baa5f1c4
Merge branch 'next' into fifo_source 2021-04-19 16:07:06 +02:00
Lenhart
595733bf67
moved logging output from template fct in header to source file to not have to include logging in header. Added maybe_unused to constructor argument which is unused to fix warning 2021-04-19 16:05:53 +02:00
Javier Arribas
261a9ae264 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-04-19 15:23:10 +02:00
Carles Fernandez
f1d671ca8b
Merge branch 'rs-erasure' into next 2021-04-19 13:56:47 +02:00
Carles Fernandez
3bc2c738c8
Implement FEC2 Erasure Correction in Galileo E1B INAV message
This feature is configurable, disabled by default.

Added a benchmark for the Reed Solomon decoder.

Make the RS decoder to accept both shortened or unshortened codes
2021-04-19 13:26:46 +02:00
Javier Arribas
5c3134dbde Move External TimeTag propagation to the time counter channel. PVT OBS timestamp comarison completed 2021-04-19 12:27:02 +02:00
Lenhart
dbc8ea18bf addressing feedback by @jwmelto
- documentation file name mismatch
- removed unnecc. headers
- changed std::cout to GLOG
- simlified read process for gr_complex data types
- seperated fifo end of file check from fail/other types (also added default case for unforseen events)
- changed vector to array for interleaved read fct

other changes:
- harmonized FIFO capitalization in docs
- changed gr_complex constructor. Real/Imaginary parts were swapped in upd source class used for reference. Not intuitive there though (swap= false will call constructor w/ (imag, real). Swapping should introduce just a phase shift, so it didn't break functionality for me either way.
2021-04-18 13:29:37 +02:00
Lenhart
2072197f0f header cleanup, added documentation comments 2021-04-17 22:51:34 +02:00
Lenhart
170e4666d1 overlooked one tab in a comment section which clang-tidy does not fix
this should fix the failing clang-tidy check
2021-04-17 19:40:57 +02:00
Lenhart
cad8659116 added license to config file, applied clang-formatting rules to overlooked files 2021-04-17 19:32:10 +02:00
Lenhart
aaa0e09c1d added ishort support into custom_udp_signal_source. removed redundant switch block, made overflow events less confusing with number 0 and added explanation to startup 2021-04-17 18:55:20 +02:00
Lenhart
de57a26312 renamed is_complex to is_interleaved to better describe behavior, modernized c-style cast, fixed typo 2021-04-17 18:55:20 +02:00
Lenhart
f9da05c783 added missing std:: as suggested by clang-tidy 2021-04-17 18:55:20 +02:00
Lenhart
4f66603464 Implemented a custom FIFO reading gnu radio block + adapter.
Reads samples from unix fifo into gnss-sdr.

Use cases:
- multiplex signal streams outside of gnss-sdr
- another program holds access to the SDR
- the SDR is not supported by gnss-sdr but can dump the signal to a fifo
2021-04-17 18:55:20 +02:00
Carles Fernandez
5f1268959e
Workaround for volk-gnsssdr-windows CI job 2021-04-17 14:10:14 +02:00
Javier Arribas
26bc9c9b5a Debug Build: Measuring signal timestamp vs. GNSS obs RX time 2021-04-12 18:37:06 +02:00
Javier Arribas
3353a62296 Debug Build: Adding Timetag chain from FileTimestampSource to dllpllVEML tracking and from tracking to GPS L1CA telemetry decoder 2021-04-12 12:14:04 +02:00
Javier Arribas
e7a8bf36c9 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-04-12 11:03:25 +02:00
Carles Fernandez
765d547e3b
Store RS data in a single buffer 2021-04-12 10:46:17 +02:00
Javier Arribas
7bf008c22c Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-04-12 10:18:19 +02:00
Carles Fernandez
af36f2f98f
Add realistic tests for FEC2 Erasure Correction 2021-04-11 22:44:25 +02:00
Carles Fernandez
077990faa8
Pass bits by reference 2021-04-11 14:47:36 +02:00
Carles Fernandez
24af4b228e
Implement reading of INAV Reed-Solomon information and parity vectors 2021-04-11 14:46:50 +02:00
Carles Fernandez
ddecd37c04
Add missing include 2021-04-09 15:30:51 +02:00
Carles Fernandez
d4a9b6f316
Implement reading of reduced CED data in Galileo E1B INAV message. Used if found 2021-04-09 15:00:58 +02:00
Javier Arribas
c1880d1ece Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-04-07 14:52:59 +02:00
Carles Fernandez
df7200b4b0
Fix parameter in test for consistency 2021-04-07 14:00:41 +02:00
Carles Fernandez
13a83092da
Fix warning -Wunused-private-field raised by clang 2021-04-04 11:01:14 +02:00
Carles Fernandez
a209bcc979 Clean the constructor 2021-04-01 14:29:46 +02:00
Carles Fernandez
5cd1955dc0 Add check of number of erasures, remove unused parameter in private method 2021-04-01 13:21:11 +02:00
Carles Fernandez
a32ea2ab9c Remove redundant check 2021-04-01 12:53:28 +02:00
Carles Fernandez
149c26b971 Expand ReedSolomon class to shortened codes. Add conf parameters for Galileo E1B RS encoding/decoding and the corresponding unit tests 2021-04-01 10:22:24 +02:00
Carles Fernandez
eb68c41074 Fix parameters in example, remove irrelevant test 2021-03-28 23:37:29 +02:00
Carles Fernandez
455178954d Fix loop variable size 2021-03-28 19:18:05 +02:00
Carles Fernandez
846fc0b15a Always initialize members 2021-03-28 19:16:11 +02:00
Carles Fernandez
e262dfc315 Implement HAS message page decoding
Signed-off-by: Carles Fernandez <carles.fernandez@gmail.com>
2021-03-28 13:07:50 +02:00
Carles Fernandez
c67ac1247f
Add optional erasure positions to RS decoder 2021-03-26 12:40:35 +01:00
Carles Fernandez
4c51037b14
Fix test 2021-03-25 19:12:05 +01:00
Carles Fernandez
aeb6a0cd84
Add Reed Solomon encoder and decoder class 2021-03-25 14:53:18 +01:00
Carles Fernandez
ac6d7feeab
Fix clang-format job 2021-03-14 22:17:22 +01:00
Carles Fernandez
9e1ee33cd2
Add multiple RF output capability to LabSat 3 Wideband format 2021-03-14 20:00:18 +01:00
Carles Fernandez
9417e713c3
Replace Receiver.sources_count configuration parameter name by GNSS-SDR.num_sources. The former parameter name is still read to ensure backward compatibility 2021-03-13 21:35:55 +01:00
Carles Fernandez
99818fdcc2
Merge branch 'bugfix' of https://github.com/iucgnaw/gnss-sdr into iucgnaw-bugfix 2021-03-13 14:01:46 +01:00
Marc Majoral
4141164fac fixed FPGA dual-band post-processing mode. 2021-03-12 18:01:25 +01:00
Javier Arribas
02f3e0c3ed Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-03-12 10:10:00 +01:00
Carles Fernandez
32c699befc
Add LabSat 3 Wideband format to Labsat_Signal_Source 2021-03-11 22:13:23 +01:00
Javier Arribas
42bece2dd4 Added experimental FileTimestampSignalSource to generate timestamp information using stream tags 2021-03-11 16:31:02 +01:00
Javier Arribas
933d3b3228 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-03-11 10:07:05 +01:00
iucgnaw
b721703339 Fixed wrong SignalSource.implementation check. 2021-03-10 20:51:00 +08:00
Carles Fernandez
2781f7fe57
Fix bug that made the Monitor block to always set to 0 the carrier_phase_rads parameter value (see #485) 2021-03-10 13:31:17 +01:00
Jim Melton
4edc5cff51
remove spaces from directory/file names 2021-03-08 13:39:28 -07:00
Carles Fernandez
43a956a814
Merge branch 'fix_fpga_signal_source' of https://github.com/mmajoral/gnss-sdr into mmajoral-fix_fpga_signal_source 2021-03-05 19:14:38 +01:00
Marc Majoral
27470787a0 proper initialization of samples_to_skip_. Change samples_ from uint64_t to int64_t for the proper checking of the number of samples to process. 2021-03-05 19:02:40 +01:00
Carles Fernandez
3ee671b225
Detect Zen 3 (K19) CPUs 2021-03-03 19:56:05 +01:00
Carles Fernandez
a669ecbfa3
Include UHD path in the public interface of signal_source_adapters (fixes: #481) 2021-02-27 11:12:33 +01:00
Carles Fernandez
816bd94379
Improve messages if configuration fails 2021-02-27 11:05:39 +01:00
Carles Fernandez
c47fa0d895
Silence clang-tidy check 2021-02-24 15:51:05 +01:00
Carles Fernandez
783047aeb6
Avoid implementation-defined type conversions 2021-02-24 12:12:50 +01:00
Carles Fernandez
2e1e3b6308
Silence clang-tidy check 2021-02-24 12:09:13 +01:00
Carles Fernandez
5d78b87dbb
Apply clang tidy checks: readability-isolate-declaration, readability-inconsistent-declaration-parameter-name 2021-02-24 12:08:10 +01:00
Carles Fernandez
38a7db4740
Silence clang-tidy check 2021-02-24 11:59:42 +01:00
Carles Fernandez
dd60bcf986
Replace usage of BOOST_FOREACH macro by a C++ range for 2021-02-24 11:54:57 +01:00
Javier Arribas
ccc41b3851 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-02-24 11:41:34 +01:00
Javier Arribas
56943fc12d Merge with next and enabling KF VTL experimental tracking 2021-02-24 11:41:27 +01:00
Carles Fernandez
89efa10236
Improve error messages 2021-02-24 10:41:26 +01:00
Carles Fernandez
07b401e3bc
Improve error messages in case of wrong configuration for the FPGA offloading flowgraph 2021-02-23 21:40:53 +01:00
Carles Fernandez
df8cdc678d
Allow a receiver compiled with -DENABLE_FPGA=ON to execute regular flowgraphs 2021-02-23 16:48:18 +01:00
Carles Fernandez
3ec9749852
Do not instantiate the Signal Conditioner when the software is compiled with ENABLE_FPGA=ON
so that part can be removed from the configuration file when using the FPGA offloading flowgraph
2021-02-23 13:37:17 +01:00
Carles Fernandez
b4d9a3a84b
Remove redundant parameter SignalSource.enable_FPGA 2021-02-23 12:24:21 +01:00
Carles Fernandez
c2223e3dad
Create a base class for Gnss almanacs, unify parameter names 2021-02-23 11:57:24 +01:00
Carles Fernandez
a479d4c1eb
Remove failing extra unit test 2021-02-23 09:55:56 +01:00
Carles Fernandez
ae018f829c
Improve test 2021-02-23 09:55:14 +01:00
Carles Fernandez
cc66a27740
Fix ignored value 2021-02-22 20:17:26 +01:00
Carles Fernandez
81251f5ef3
Actually test something 2021-02-22 20:15:43 +01:00
Carles Fernandez
a0f10218fd
Fix ignored value 2021-02-22 20:13:46 +01:00
Carles Fernandez
489da500a1
Merge branch 'fix_FPGA_post_processing_mode' of https://github.com/mmajoral/gnss-sdr into mmajoral-fix_FPGA_post_processing_mode 2021-02-22 18:52:37 +01:00
Carles Fernandez
927b91096d
Reorder members definition 2021-02-22 14:09:54 +01:00
Carles Fernandez
146e1d7a63
Update .proto files for GPS and Galileo ephemeris data 2021-02-22 13:42:54 +01:00
Carles Fernandez
86d701b628
Remove more duplicated code 2021-02-22 10:02:21 +01:00
Carles Fernandez
b465f050f0
Apply clang-format 2021-02-21 12:15:38 +01:00
Carles Fernandez
2e53289653
Add more consistency in parameters name 2021-02-21 10:56:56 +01:00
Carles Fernandez
5a43a3cfce
Add missing include 2021-02-21 00:29:05 +01:00
Carles Fernandez
7971565a0d
Give more natural, consistent names to ephemeris / iono / utc parameters exposed outside the receiver via XML files
Create a base class for GPS, Galileo and BeiDou ephemeris, allowing to remove some duplicated code

Use BOOST_SERIALIZATION_NVP macro, less error prone than boost::serialization::make_nvp

Update .xsd files
2021-02-21 00:01:56 +01:00
Marc Majoral
79c968f279 modified some comments 2021-02-19 16:34:49 +01:00
Marc Majoral
f85a653285 stop the receiver in a controlled way on EOF or error condition.
+ add support for the following signal source configuration options: samples, repeat, seconds_to_skip, header_size
+ remove unused header files
2021-02-19 13:03:22 +01:00
Marc Majoral
b06722062d removed unused header files 2021-02-18 18:46:59 +01:00
Carles Fernandez
8e23c60fca
Do not warn users twice about the overflow
clang-tidy checks applied: modernize-redundant-void-arg, performance-unnecessary-value-param
2021-02-18 13:17:46 +01:00
Carles Fernandez
29e3e120be
Merge branch 'mmajoral-fix_fpga_buff_mon' into next 2021-02-18 13:01:53 +01:00
Carles Fernandez
6c5f26fcf7
Avoid no symbols warning in MacOS 2021-02-18 13:01:48 +01:00
Marc Majoral
e4de9c54de do not stop the receiver when buffer overflow is detected. 2021-02-18 12:32:44 +01:00
Carles Fernandez
73a728b3f6
Merge branch 'feature/signal_source_interface' of https://github.com/jwmelto/gnss-sdr into jwmelto-feature/signal_source_interface 2021-02-18 09:03:03 +01:00
Carles Fernandez
9403560427
Return back init() to connect() 2021-02-17 22:13:20 +01:00
Carles Fernandez
03e53477c7
Apply some mostly cosmetic changes
This is not so cosmetic: Moved init() chores from connect() to the constructor for consistency with other implementations. Not relevant here since files are not processed in real-time, but is it common practice in other blocks to set everything needed (and get all the resources) in the constructor, before connect()

Moved the constructor code to the top of the file, also for consistency with other files. This is an opinionated practice, I know, since one could expect the same order than in the header file.

Improved comment formatting for Doxygen

Added and removed some blank lines to match the style of other files (two blank lines within method implementations, no two consecutive blank lines inside the method. Again opinionated, but for the sake of consistency.

Included the <tuple> library (include what you use)
2021-02-17 22:07:22 +01:00
Jim Melton
704b99e633
another MacOS property ambiguity ... ARRRGGGHHH 2021-02-17 13:40:04 -07:00
Jim Melton
c221fd1c87
update copyright and move risky initializer into ctor body 2021-02-17 12:54:10 -07:00
Carles Fernandez
6d41fc8fb2
Fix Multichannel_File_Signal_Source
The constructor was not getting right the SignalSource.RF_channels value (role was moved before, so it was unusable)
2021-02-17 13:50:45 +01:00
Carles Fernandez
f703990a09
Fix building when using C++11
Update changelog
2021-02-17 09:43:05 +01:00
Carles Fernandez
0f735814df
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2021-02-16 18:34:31 +01:00
Javier Arribas
8ba3cfa86f Send monitor ephemeris even in the case that it is not enabled the RINEX writter 2021-02-16 17:54:38 +01:00
Carles Fernandez
a7699c2050
Fix file headers 2021-02-16 17:15:48 +01:00
Carles Fernandez
3b3beb099a
Fix clang-tidy job, update headers 2021-02-16 17:00:22 +01:00
Carles Fernandez
19c03edf1f
Update file header 2021-02-16 16:42:10 +01:00
Carles Fernandez
060e276414
Merge branch 'buffer_monitor' of https://github.com/mmajoral/gnss-sdr into mmajoral-buffer_monitor 2021-02-16 16:11:15 +01:00
Jim Melton
ec7b4cc537
clang-tidy : change '1u' to '1U' 2021-02-16 00:34:49 -07:00
Jim Melton
e5bcf4700c
penultimate clang-tidy/clang-format complaint 2021-02-15 23:01:56 -07:00
Jim Melton
a8959bdd87
more clang-tidy cleanup/suppression 2021-02-15 22:56:30 -07:00
Jim Melton
c67f23c913
fix clang-tidy complaints
some of these are ridiculous and so have been silenced. I'm a huge fan
of static code analysis but I have a hard time believing that writing
"0U" is a qualitative improvement over "0u".
2021-02-15 21:30:50 -07:00
Jim Melton
35f07b76a0
the Mac compiler is really annoying (and not that arguably correct...) 2021-02-15 18:37:38 -07:00
Jim Melton
957a13e6ef
fix MacOS ambiguity error 2021-02-15 17:51:42 -07:00
Jim Melton
3b728d9c26
fix cast error 2021-02-15 17:15:38 -07:00
Jim Melton
ece5effa2d
penultimate clang-format fix 2021-02-15 16:34:16 -07:00
Jim Melton
bba9edd68c
change invalid block implementation from FATAL to ERROR
I'm not sure that there is any value in continuing with a bad configuration
but be careful about changing the semantics of existing code. You never know
what else may depend upon it.
2021-02-15 16:31:35 -07:00
Jim Melton
6e04a42c8a
clang-format
This was much worse than I thought. I had run clang-format at some point, but
apparently I subsequently made some non-compliant changes in pretty much every
file I touched.
2021-02-15 15:34:48 -07:00
Jim Melton
3bf2deb2ae
fixed failing unit test
I don't know how this didn't run before submitting the PR. CI tests are great!

The file-based signal sources were modified to not throw an exception on creation
but rather when connect() is called. The unit test was checking for an exception
upon construction.
2021-02-15 15:33:16 -07:00
Marc Majoral
440e8f1b3c log FPGA buffer overflow with severity level ERROR + add some comments. 2021-02-15 22:27:03 +01:00
Jim Melton
fb6fef74e3
fix clang-tidy CI issues 2021-02-15 14:13:54 -07:00
Jim Melton
41c7a7ad7d
fix whitespace 2021-02-15 13:46:12 -07:00
Marc Majoral
b279c3bcbd replace exception by receiver stop command 2021-02-15 21:44:05 +01:00
Jim Melton
75483e1d2d
refactor two_bit_packed_file_signal_source
(signed for DCO)
2021-02-15 13:15:50 -07:00
Jim Melton
353680bc99 add 2bit_cpx file source 2021-02-15 11:47:13 -07:00
Jim Melton
4399aa5d10 next round of abstraction. Add nsr_file_signal_source 2021-02-15 11:47:13 -07:00
Jim Melton
c8ecc907c9 save before checkin 2021-02-15 11:47:13 -07:00
Jim Melton
1854cec106 first subclass of file_source_base
Refactored the base implementation to add appropriate virtual hooks so subclasses
can easily extend without duplicating a lot of code.
2021-02-15 11:47:13 -07:00
Jim Melton
6d4ddc16e7 eliminate compile warning
Note this commit introduces a more appropriate pattern for exception
handling within loops, but did not change all occurrences.
2021-02-15 11:47:13 -07:00
Jim Melton
a3c9dd4325 remove commented code 2021-02-15 11:47:13 -07:00
Jim Melton
4282386a30 simplify get_right_block() 2021-02-15 11:47:13 -07:00
Jim Melton
e0eb4bd769 initial implementation of common file source base class
Only the file_signal_source uses it at this time; changing multi-channel
to use it can be done with a little work
2021-02-15 11:47:13 -07:00
Jim Melton
78362e7cba add signal_source_interface
also adds a base implementation that most signal sources should inherit from.
The gen_signal_source is inexplicably different (probably as a test fixture,
commonality was not valued).

Only the file_signal_source has been tested; all the sources are modified in the same
way, but we all know the only proof of correctness is testing.

The block factory was simplified a bit. Handling for legacy config files was pulled out
of the flowgraph; now when the "0" instance of a component (Foo0) is created, if there is
no config for it, then the legacy version (Foo) will be tried. This is different from
passing -1 for the item number (which is still supported). Theoretically, all existing
config files should still work.
2021-02-15 11:47:13 -07:00
Jim Melton
8407acb7a7 WIP: initial commit for collaboration 2021-02-15 11:47:13 -07:00
Javier Arribas
39031b24ac Completing UDP GPS and Galileo ephemeris server 2021-02-15 15:58:38 +01:00
Marc Majoral
c0e4b2aee5 dump the buffer monitor results to a file 2021-02-15 11:53:16 +01:00
Javier Arribas
1721431010 Adding GPS and Galileo protobuf serdes 2021-02-15 10:56:30 +01:00
Marc Majoral
d8c41a7171 removed whitespace 2021-02-14 13:40:52 +01:00
Marc Majoral
a3d2763970 removed header file 2021-02-13 17:29:30 +01:00
Marc Majoral
03e8f97d2e real-time FPGA receiver buffer monitoring 2021-02-13 17:10:43 +01:00
Carles Fernandez
10fc0eb62e
Fix -Wsign-compare warning 2021-02-11 13:45:55 +01:00
Carles Fernandez
16dd5ec241
Apply clang-tidy check: readability-string-compare 2021-02-11 13:37:32 +01:00
Marc Majoral
915c2859f2 Use the Galileo E1 FPGA tracking multicorrelators for the GPS L1 C/A channels if not enough GPS L1 C/A tracking multicorrelators are present in the FPGA. This selection is done automatically only if the GPS L1 C/A channels are assigned to the GPS L1 C/A FPGA tracking multicorrelators (this may not be the case when testing).
+ renamed the device name variables.
2021-02-10 18:43:11 +01:00
Carles Fernandez
ba89685ce6
Remove wrong error message 2021-02-09 11:34:07 +01:00
Javier Arribas
7183618079 Fix config parameter names 2021-02-05 10:19:53 +01:00
Carles Fernandez
2a82c27954
Fix linking for std::filesystem in GCC 8 2021-01-31 14:13:25 +01:00
Carles Fernandez
3c17f0a9a7
Fix defect detected by Coverity Scan (uninitialized scalar variables) 2021-01-29 14:01:21 +01:00
Carles Fernandez
c7887a03e5
Fix defects detected by Coverity Scan 2021-01-28 20:14:00 +01:00
Carles Fernandez
bd87e4e9b7
Fix warning -Wstringop-truncation raised by GCC 11 2021-01-28 14:09:33 +01:00
Carles Fernandez
c5916d05c3
Fix warning Wstringop-overread raised by GCC 11 2021-01-28 13:56:30 +01:00
Carles Fernandez
5d42f1e14c
Extend segfault fix when RINEX output is disabled for other signals than GPS L1 2021-01-27 12:47:13 +01:00
Stefan van der Linden
a07217d34f Fixed segfault when rinex output is disabled 2021-01-27 11:12:45 +01:00
Javier Arribas
5dd34b5e1b Merge with next 2021-01-27 10:21:16 +01:00
Carles Fernandez
d249a7efcf
Avoid segmentation faults if the SignalConditioner is not well defined in the configuration 2021-01-26 23:11:06 +01:00
Carles Fernandez
24041058a6
Improve reported output in case of configuration error 2021-01-26 16:11:41 +01:00
Carles Fernandez
720215af30
Avoid segmentation fault if the item_type for the signal source is mismatched with the input item size of the Signal Conditioner 2021-01-26 15:20:37 +01:00
Carles Fernandez
862bdeea5c
Avoid segmentation fault if the Tracking item_type is not defined for the given implementation 2021-01-26 14:01:28 +01:00
Carles Fernandez
7f23b6d88b
Use C++ cast insted of C-style cast 2021-01-26 11:58:46 +01:00
Carles Fernandez
d738d893c6
Apply clang-format 2021-01-26 00:14:50 +01:00
Carles Fernandez
950111d0fe
Avoid warning when building googletest with CMake >= 3.19 2021-01-25 22:19:18 +01:00
Carles Fernandez
ecf20d38d6
Merge branch 'clang-tidy-fgpa' into next 2021-01-25 22:17:08 +01:00
Carles Fernandez
d6d1fff743
Apply clang-tidy fixes when -DENABLE_FPGA=ON 2021-01-25 22:07:59 +01:00
Carles Fernandez
ed5975d968
Merge branch 'coverity-fix' into improve-flowgraph 2021-01-25 13:37:05 +01:00
Carles Fernandez
2f627581ef
Fix error handling issues detected by Coverity Scan 2020.09 2021-01-25 13:35:47 +01:00
Carles Fernandez
cd1c9e46ba
Add some basic configuration checks
Avoid some segmentation faults caused by ill-formatted configuration files
2021-01-25 00:49:36 +01:00
Carles Fernandez
a21c60ecb2
Improve error handling when the flow graph fails to start
Avoid segmentation faults due to some common inconsistencies in the configuration file
E.g.: non-existing names for blocks implementation, some mismatched input/output item sizes

Provide hints to the user on how to fix the configuration in case of failure when starting the flow graph
2021-01-24 01:49:16 +01:00
Javier Arribas
253b4b9a97 Adding LimeSDR signal source adapter, not usable yet 2021-01-22 17:45:26 +01:00
Javier Arribas
b1fee5c9bc Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-01-22 17:34:46 +01:00
Carles Fernandez
268fc1215c
Refactor private implementation of flowgraph connection and disconnection 2021-01-22 17:32:37 +01:00
Carles Fernandez
3773f3c71a
Do not apply clang-tidy fixes to protobuf-generated headers 2021-01-18 16:00:33 +01:00
Carles Fernandez
1287e8fe79
Improve handling of the filesystem library 2021-01-16 14:37:19 +01:00
Carles Fernandez
0e9046c956
Raise an error if GPSTK is to be built but the patch command is not found 2021-01-16 10:51:38 +01:00
Carles Fernandez
11f13ebcab
Fix building in modern environments 2021-01-15 15:03:36 +01:00
Carles Fernandez
4fea48f603
Improve handling of change in GNU Radio 3.9 FFT API
Fix compilation of some optional blocks when linking against GR 3.9

Fix warning -Wembedded-directive: embedding a directive within macro arguments has undefined behavior
2021-01-15 13:39:26 +01:00
Carles Fernandez
ede02f91df
Update references to new GPS ICDs (add missing file) 2021-01-12 10:46:38 +01:00
Carles Fernandez
ddc5bcff01
Update references to new GPS ICDs 2021-01-12 10:34:55 +01:00
Carles Fernandez
8b918b4f87
Update links to new Galileo ICD v2.0 in docs 2021-01-12 00:04:28 +01:00
Carles Fernandez
603cab1ead
Fix clash of the cpu_features library when volk_gnsssdr is built as a standalone library, and cpu_features was already installed by VOLK
Added new building option ENABLE_OWN_CPUFEATURES, set to ON when building gnss-sdr but set to OFF when building volk_gnsssdr standalone.
The default does no change old behavior when buiding gnss-sdr without volk_gnsssdr already installed
2021-01-11 13:57:29 +01:00
Javier Arribas
7436b7df5e Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into vtl_experimental 2021-01-11 10:36:52 +01:00
Carles Fernandez
7102677358
Bump version number 2021-01-07 19:16:54 +01:00
Carles Fernandez
25787deca7
Fix assert 2021-01-07 17:25:36 +01:00
Carles Fernandez
ea86fb74b3
Fix for Ubuntu 19.04 2021-01-06 13:42:48 +01:00
Carles Fernandez
6b1ab274b1
Fix for GCC < 5.0 2021-01-05 10:53:32 +01:00
Carles Fernandez
68fdedb224
Remove _mm256_zeroupper() calls
Manual usage of _mm256_zeroupper() is not required and leads to miscompilation with GCC 10.2 and optimization level -O3
2021-01-04 14:07:56 +01:00
Carles Fernandez
cbdb2ad2e9
Enforce consistent function prototypes 2021-01-04 13:55:18 +01:00
Javier Arribas
738ab13535 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into vtl_experimental 2021-01-01 14:22:43 +01:00
Carles Fernandez
0b1602a5a8
Fix clang-format job 2020-12-31 01:15:16 +01:00
Carles Fernandez
89ec03ecbe
Apply clang-tidy ckecks readability-make-member-function-const and readability-qualified-auto 2020-12-30 22:04:10 +01:00
Carles Fernandez
21352a80d1
Apply and add clang-tidy ckecks readability-make-member-function-const and readability-qualified-auto 2020-12-30 21:49:29 +01:00
Carles Fernandez
7308745f05
Apply more concise file header format
Re-license CMake scripts with BSD-3-Clause
2020-12-30 13:35:06 +01:00
Carles Fernandez
3a2b76d61a
Warn about undefined Galileo frame type 2020-12-29 15:13:42 +01:00
Carles Fernandez
56fb6528b2
Add missing type conversion 2020-12-29 14:49:52 +01:00
Carles Fernandez
0cb64e86a5
Avoid using reserved identifiers in the SUPL library (clang-tidy check: bugprone-reserved-identifier) 2020-12-29 14:48:41 +01:00
Carles Fernandez
abd1032ca2
Avoid using reserved identifiers 2020-12-29 14:47:28 +01:00
Carles Fernandez
36e98856d5
Update AArch64 features to Linux 5.10 2020-12-23 12:26:08 +01:00
Carles Fernandez
303de4c9cf
Save some static casts 2020-12-22 10:59:13 +01:00
Carles Fernandez
3bcac95964
Fix occasional segfault when exiting with enter+q if Acquisition_XX.blocking=false 2020-12-22 00:40:36 +01:00
Carles Fernandez
5855feb511
Merge branch 'fix-galileo2' into next 2020-12-21 23:48:40 +01:00
Carles Fernandez
94e488170a
Fix Galileo nav message decoding in some configurations 2020-12-21 15:13:02 +01:00
Carles Fernandez
42efb68310
Fix building with new GNU Radio firdes API. No functional change, since WIN_HAMMING is the default 2020-12-19 12:40:57 +01:00
Carles Fernandez
a9de3d4244
Fix detection of python when using Macports 2020-12-18 13:11:26 +01:00
Carles Fernandez
8f3e60091b
Avoid patching GPSTk twice when rebuilding 2020-12-18 12:51:45 +01:00
Carles Fernandez
882216aa55
Merge branch 'liu000888-bdgsv' into next 2020-12-09 14:47:16 +01:00
Carles Fernandez
d70aca5fc0
Initialize all members 2020-12-09 14:44:57 +01:00
Carles Fernandez
2b5b1d10ad
Revert change of std::thread, since it is not working well in some configurations 2020-12-09 14:44:25 +01:00
Carles Fernandez
711de48d7f
Merge branch 'bdgsv' of https://github.com/liu000888/gnss-sdr into liu000888-bdgsv 2020-12-07 19:01:43 +01:00
TurbineEngine
777e8aa0e1 add BDGSA and BDGSV nmea messages 2020-12-07 19:35:17 +08:00
Javier Arribas
d710eb946f Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into vtl_experimental 2020-12-04 11:24:18 +01:00
Carles Fernandez
e981b1ea89
Merge branch 'orc' into next 2020-12-02 16:20:32 +01:00
Carles Fernandez
fdda4edffb
Improve handling of the ORC library 2020-12-02 16:19:56 +01:00
Carles Fernandez
c49a0a2e16
Remove tab 2020-12-02 14:33:43 +01:00
Carles Fernandez
a538c8c4ee
Update local GPSTk version to v8.0.0, keep compatibilty if v3.0.0 is installed 2020-12-02 14:27:59 +01:00
Javier Arribas
bb256c0650 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into vtl_experimental 2020-12-01 12:51:34 +01:00
Carles Fernandez
b56ed9187c
Check for lib64 versus lib and set LIB_SUFFIX accordingly 2020-11-30 12:05:45 +01:00