Javier Arribas
c8f7966688
Fix cmakelint and cpplint reported format errors
2021-12-01 14:52:27 +01:00
Javier Arribas
8a4055b5b8
Add timetag clock offset configuration parameter in TImeTag File signal source. Timetag code clean
2021-12-01 13:18:29 +01:00
Javier Arribas
c262d74e03
Merge branch 'next' of github.com:gnss-sdr/gnss-sdr into pps_lime
2021-11-29 20:54:56 +01:00
Carles Fernandez
8f5790d0a0
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into galileo-e6
2021-11-23 21:40:26 +01:00
Carles Fernandez
bcec8331e6
Fixes for building against GNU Radio master
...
Log4cpp has been replaced by spdlog and fmt
2021-11-23 16:38:50 +01:00
Carles Fernandez
da41c04c1d
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into galileo-e6
2021-11-22 19:51:28 +01:00
Carles Fernandez
b0fd24476d
Fix formatting
2021-11-22 19:38:56 +01:00
Javier Arribas
ede805f9c3
Fix some build errors for Android cross-compiling
2021-11-22 17:47:00 +01:00
Carles Fernandez
ec56450971
Forget data from too old MID messages
...
Do not process data if the MID was already printed (saves computation time and cluttering of repeated messages)
2021-11-20 14:36:29 +01:00
Carles Fernandez
d4db8a82b7
Fix formatting, print HAS message decoding only when we already have the mask and can be read
2021-11-20 03:58:56 +01:00
Carles Fernandez
98a850053c
Update to Galileo HAS ICD v1.4
2021-11-19 17:50:41 +01:00
Javier Arribas
fd57325bd4
Merge with next
2021-11-11 15:42:41 +01: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
Javier Arribas
c9d6688f1b
Merge with next
2021-10-20 09:47:33 +02:00
Carles Fernandez
a805940bd7
Fixes for clang-format 13
2021-10-18 18:18:57 +02:00
Carles Fernandez
5bed35471a
Add getters for easier access to HAS data
2021-10-18 14:30:57 +02:00
Carles Fernandez
984c1fbb2c
Fix spelling error
2021-10-10 22:49:19 +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
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
ccbe1c9ac9
Add includes (make cpplint's build/include_what_you_use filter happy)
2021-10-08 11:15:01 +02:00
Carles Fernandez
13b5d80ab6
Remove unused variables
2021-10-07 10:12:14 +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
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
e96fbb348e
Apply flag also to GCC
2021-10-01 22:41:09 +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
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
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
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
dcf9c8c774
Be more explicit in the terminal if an instantiation fails
2021-09-24 09:20:49 +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
Carles Fernandez
e0604bdf22
Improve output text formatting
2021-09-22 12:39:13 +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
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
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
ea88993ef2
Add monitor to send decoded navigation message bits via UDP
2021-09-06 00:05:29 +02:00
Carles Fernandez
e2efc7e9f1
Stop receiver if no channels have been assigned
2021-08-11 19:01:09 +02:00
Javier Arribas
23a2d3ef89
TTFF reduction in GPS L1 and Galileo E1
2021-08-03 14:03:27 +02:00
Javier Arribas
29f59256be
Merge with next
2021-07-30 15:42:29 +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
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
0c3ac1127b
Update references to latest GPS ICDs
2021-07-24 13:47:52 +02:00
Carles Fernandez
6289d920cc
Update block for GPS satellites PRN 11 and 14
2021-07-12 13:37:12 +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
27d0419f79
Remove abandoned Gn3s_Signal_Source and ENABLE_GN3S building option
2021-06-15 14:19:40 +02:00
Jim Melton
bf03b6f144
change sanity check to check the right thing
2021-06-11 23:52:00 -06:00
Carles Fernandez
db971a116b
Add moe debug logging
2021-06-09 14:04:25 +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
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
32b7cee871
Add work on Galileo E6B HAS message decoding
2021-06-05 20:35:12 +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
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
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
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
lenhart
95baa5f1c4
Merge branch 'next' into fifo_source
2021-04-19 16:07:06 +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
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
cad8659116
added license to config file, applied clang-formatting rules to overlooked files
2021-04-17 19:32:10 +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
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
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
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
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
aeb6a0cd84
Add Reed Solomon encoder and decoder class
2021-03-25 14:53: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
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
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
38a7db4740
Silence clang-tidy check
2021-02-24 11:59:42 +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
cc66a27740
Fix ignored value
2021-02-22 20:17:26 +01:00
Carles Fernandez
a0f10218fd
Fix ignored value
2021-02-22 20:13:46 +01:00
Carles Fernandez
927b91096d
Reorder members definition
2021-02-22 14:09: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
Carles Fernandez
f703990a09
Fix building when using C++11
...
Update changelog
2021-02-17 09:43:05 +01:00
Jim Melton
e5bcf4700c
penultimate clang-tidy/clang-format complaint
2021-02-15 23:01:56 -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
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
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
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
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
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
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