Commit Graph

636 Commits

Author SHA1 Message Date
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
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 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 1287e8fe79
Improve handling of the filesystem library 2021-01-16 14:37:19 +01:00
Carles Fernandez ddc5bcff01
Update references to new GPS ICDs 2021-01-12 10:34:55 +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 abd1032ca2
Avoid using reserved identifiers 2020-12-29 14:47:28 +01:00
Carles Fernandez 303de4c9cf
Save some static casts 2020-12-22 10:59:13 +01:00
Carles Fernandez 94e488170a
Fix Galileo nav message decoding in some configurations 2020-12-21 15:13:02 +01:00
Carles Fernandez d70aca5fc0
Initialize all members 2020-12-09 14:44:57 +01:00
Carles Fernandez 15c1f907bf
Make clang-tidy happy 2020-11-23 16:14:28 +01:00
Carles Fernandez e289e3f6b3
Add new conf parameter TelemetryDecoder_XX.remove_dat
By default set to false. If dump=true and dump_mat=true, if this parameter is set to true, the .dat file is removed after conversion to .mat, leaving a cleaner output if the user is not interested in the .dat file
2020-11-23 16:09:27 +01:00
Carles Fernandez abcd16e166
Fix description in header 2020-11-23 14:48:57 +01:00
Carles Fernandez 7b89c0525b
Remove duplicated code 2020-11-23 14:42:13 +01:00
Carles Fernandez e6d802d3e8
Fixes for new clang-format behavior 2020-11-22 11:05:16 +01:00
Carles Fernandez 79d846d21a
Clang-format fixes 2020-11-21 20:26:43 +01:00
Carles Fernandez b04d77f402
Fix dump_filename parameter in TelemetryDecoder blocks.
New parameter dump_mat, by default set equal to dump. If set to false, dump files are not converted to .mat
New class to configure Telemetry blocks more easily
2020-11-21 19:37:22 +01:00
Carles Fernandez 6bdd4305eb
Delete Telemetry dump files if empty 2020-11-21 13:14:55 +01:00
Carles Fernandez 54bde524cf
Fix clang format 2020-11-19 14:06:07 +01:00
Carles Fernandez dd60970f32
Improve dump of Telemetry blocks 2020-11-19 09:55:08 +01:00
Carles Fernandez d1b23ae3fd
Add logic for HAS message retrieval 2020-11-10 21:20:13 +01:00
Carles Fernandez 1568c52000
Make clang-tidy happy 2020-11-08 20:55:19 +01:00
Carles Fernandez 76bbd3c3bb
Add work on the Galileo E6 message decoding up to HAS page CRC check 2020-11-08 14:10:43 +01:00
Carles Fernandez bcd7c25cd1
Add Galileo E6 signal structure based on E6-B/C Codes Technical Note, Issue 1, Jan 2019.
Add Acquisition, Tracking and TLM blocks for Galileo E6 B/C. The decoder does nothing
2020-11-07 21:33:26 +01:00
Carles Fernandez f0e1ef6f9a
Add a common shared pointer definition
Makes transition to GNU Radio 3.9 API less verbose
2020-11-03 20:51:57 +01:00
Carles Fernandez 287284261c
Make use of Doxygen grouping feature
Improve Modules page in generated HTML documentation
2020-11-01 13:37:19 +01:00
Carles Fernandez 89c7598be4
Rename the Galileo_Navigation_Mesaage class to Galileo_Inav_Message for consistency 2020-07-28 21:27:46 +02:00
Carles Fernandez bd49256454
Minor fixes 2020-07-28 20:53:08 +02:00
Carles Fernandez fccac672d8
Merge branch 'Telemetry_Decoder' of https://github.com/piyush0411/gnss-sdr into piyush0411-Telemetry_Decoder 2020-07-28 20:10:33 +02:00
Carles Fernandez 499de7a9f1
Update file headers 2020-07-28 16:57:15 +02:00
Carles Fernandez b33d7ba739
Improve wording 2020-07-28 10:51:45 +02:00
Carles Fernandez 1a1addf2c4
Remove color in text for L1 signal 2020-07-28 10:29:59 +02:00
Carles Fernandez 5d326bc902
Reserve memory for strings before pushing data
Some more const correctness
2020-07-28 01:23:27 +02:00
piyush0411 bf9c9d547b Added Telemetry Decoder Block 2020-07-26 02:24:53 +05:30
piyush0411 b6ecd9c48f Removed unnecessary code 2020-07-25 15:58:59 +05:30
piyush0411 e8f4eb7441 Modified GNU Radio Block for Galileo E5b 2020-07-25 02:56:54 +05:30
Carles Fernandez 0aa6d6afc3
Improve const correctness 2020-07-22 01:33:01 +02:00
Carles Fernandez 5d4dbf3ce7
Minor, misc. fixes 2020-07-21 14:31:45 +02:00
Carles Fernandez 0cb1ed0764
Improve const correctness 2020-07-20 12:06:04 +02:00
Carles Fernandez c0f81dd9e2
Improve const correctness. Improve usage of typeid 2020-07-19 09:39:32 +02:00
Carles Fernandez ebd83c4cbe
Improve const correctness
Fix a bug that made the parameter PVT.nmea_dump_devname ignored
Update changelog
2020-07-17 10:48:37 +02:00
Carles Fernandez c04948fd02
Reduce number of warnings raised by bugprone-* clang-tidy checks 2020-07-10 00:37:55 +02:00
Carles Fernandez 09bcd1981c Replace std::endl by \n character. There is no need to always flush the stream. 2020-07-07 18:53:50 +02:00
Carles Fernandez d3b7557dcf
Sort constants
no more GPS_L1_PI, GPS_L2_PI, etc. Values are written in a single point.
2020-07-05 20:20:02 +02:00
Carles Fernandez 2b3d4b321d
Make the adapters take the configuration pointer as const 2020-06-29 09:07:41 +02:00
Carles Fernandez 54a4c213ec
Update changelog 2020-06-27 11:39:14 +02:00
Carles Fernandez 03d350551f
Sort private members in headers 2020-06-26 22:07:41 +02:00
Carles Fernandez 660dd594dc
Return the right item_size 2020-06-25 14:54:01 +02:00
Carles Fernandez 5a3db5a53d
Add debug internal logging for destructors. Sort destructor order 2020-06-25 02:50:07 +02:00
Carles Fernandez 037a1fcb5f
Improve headers, large data members first. Improve nav message interfaces 2020-06-23 09:47:58 +02:00
Carles Fernandez 0d5b5894b4
Sort header files 2020-06-19 12:39:28 +02:00
Carles Fernandez 7ef64860c4
Indicate with a prefix the private data members for clarity 2020-06-19 02:15:56 +02:00
Carles Fernandez 7307e82d48
Fix for gcc < 8 2020-06-16 14:00:12 +02:00
Carles Fernandez 8932427d7a
Fix for gcc < 8 2020-06-16 13:35:00 +02:00
Carles Fernandez 026e0f5c1b
Fix for old gcc 2020-06-16 13:04:02 +02:00
Carles Fernandez 771fbf1365
Make use of std::rotl (C++20) if available 2020-06-16 12:22:37 +02:00
Carles Fernandez 0df4277d36
Unify criteria in target definitions, more informative names 2020-06-13 00:32:40 +02:00
Carles Fernandez 44eba473a4
Replace a macro by a lambda 2020-06-11 13:32:18 +02:00
Carles Fernandez 34a250246a
Simplify initializations in system_parameters library 2020-06-10 10:15:59 +02:00
Carles Fernandez 2a3d682f1f
Make use of target_sources(), make use of target propagation to reduce redundancy in dependencies, some fixes for Clang and CMake < 3.11. Use generic lambdas with auto 2020-06-08 20:04:01 +02:00
Carles Fernandez 3ca193fd9b
Fix warning in Clang 10 2020-05-30 00:44:37 +02:00
Carles Fernandez 865a54ddff
Apply clang-format 2020-04-03 00:17:22 +02:00
Carles Fernandez 3519107131
Add compatibility with the new GNU Radio 3.9 API that uses C++11 standard smart pointers instead of Boost smart pointers 2020-04-02 23:59:35 +02:00
Carles Fernandez 5f974a8f17
Replace boost::shared_ptr by std::shared_ptr 2020-04-02 13:23:20 +02:00
Carles Fernandez b8f5da341b
Fix redundant comparison
Use std::llabs instead of abs
2020-03-16 11:51:50 +01:00
Javier f73a4ac950 Correct Carrier Phase observable for inverted PLL lock in L2,L5 E1, and E5 2020-03-09 11:38:48 +01:00
Javier 79a47a8a49 Revert "Remove unuseful accumulated carrier 180 degres phase shift in GPS CA telemetry decoder"
This reverts commit ea15b54a88.
2020-03-07 11:36:47 +01:00
Javier ea15b54a88 Remove unuseful accumulated carrier 180 degres phase shift in GPS CA telemetry decoder 2020-02-28 10:32:59 +01:00
Carles Fernandez 538c1e6182 Fix shadowed variables 2020-02-26 18:16:04 +01:00
Carles Fernandez 299608c4fc
cpplint: fix readability/utf8 2020-02-23 02:47:21 +01:00
Carles Fernandez 2ded19342f
Improve headers 2020-02-12 00:04:29 +01:00
Carles Fernandez 955348b080
Remove trailing underscore in header guards 2020-02-08 10:10:46 +01:00
Carles Fernandez 4d0d263280
Make the software package compliant with the REUSE Specification v3.0 (see https://reuse.software/spec/)
Update license headers to SPDX format (see https://spdx.org/)
Add license to all files
Add CI job in GitHub Actions to ensure compliance
2020-02-08 01:20:02 +01:00
Carles Fernandez d6ec2a7b2c
Update links (mainly from http to https, fix broken links) 2020-02-05 21:24:46 +01:00
Carles Fernandez 9023f19794
Use C++ comments for final #endif in headers 2020-01-26 22:23:22 +01:00
Carles Fernandez dc3bf0172a
Update references and links to ICDs 2020-01-25 13:07:03 +01:00
Carles Fernandez eda1fcaaf2
Fix docs: add brief description in header to all files 2020-01-21 19:53:33 +01:00
Carles Fernandez 054a20b5bf
Apply clang-format to the whole code tree 2019-10-11 11:57:33 +02:00
Carles Fernandez 17cceabd52
Fix BeiDou decoding 2019-09-18 21:46:47 +02:00
Carles Fernandez 553df7db6a
Fix BeiDou telemetry decoder. Fix provided by David Ramati 2019-09-17 18:49:31 +02:00
Carles Fernandez e80122f4ff
Apply clang tidy checks and clang-format 2019-09-13 08:56:37 +02:00
Carles Fernandez c8cd925ba8 Remove bound checking when accessing elements 2019-09-09 16:00:17 +02:00
Carles Fernandez 38a987607e
Make use of the new Boost::headers target introduced in CMake 3.15 2019-09-07 12:36:19 +02:00
Carles Fernandez 345646ad7d
Clean file 2019-09-07 09:33:48 +02:00
Carles Fernandez 4248edc4f3
Fix for old compilers 2019-09-06 18:49:22 +02:00
Carles Fernandez 589788d2e3
Modernize code for Viterbi decoder 2019-09-06 17:31:31 +02:00
Carles Fernandez 02318c0382
Give to global parameters more meaningful name 2019-08-31 11:37:29 +02:00
Carles Fernandez df05c7418e
Fix bugprone-too-small-loop-variable clang-tidy check warnings 2019-08-24 17:34:12 +02:00
Carles Fernandez fd8787c7a4
Modernize memory management 2019-08-23 21:59:44 +02:00
Carles Fernandez d4bb6e5731
Always have a space between // and comment 2019-08-18 22:16:13 +02:00
Carles Fernandez c31d9dea40
Fix errors risen by include_what_you_use 2019-08-17 13:56:54 +02:00
Carles Fernandez 487010346f
Apply readability-isolate-declaration clang-tidy check 2019-08-13 00:19:31 +02:00
Carles Fernandez b16ee3d919
Apply readability-redundant-control-flow check 2019-08-12 22:54:27 +02:00
Carles Fernandez 3e3af9de5a
Add new configuration option ENABLE_ARMA_NO_DEBUG
When enabled, defines the ARMA_NO_DEBUG macro in Armadillo, disabling bound checking.
Disabled by default, but it is set automatically to ON if ENABLE_PACKAGING is set to ON
2019-08-12 11:33:51 +02:00
Carles Fernandez 070996cdb4
Apply clang-tidy check readability-else-after-return 2019-08-04 13:15:03 +02:00
Carles Fernandez 86f40ae4eb Fix comparison sign 2019-08-01 12:31:12 +02:00
Carles Fernandez 2fe38e937a
Fix wrong assignment 2019-07-30 08:06:53 +02:00
Carles Fernandez 9f8f9e8af9
Apply code cleaning before release 2019-07-28 12:01:11 +02:00
Carles Fernandez 9772f8ef07
Replace raw pointers by smart pointers 2019-07-27 11:24:39 +02:00
Carles Fernandez a4d6800e22
Update copyright year
Applied on files changed since last release
clang-format applied
2019-07-26 12:38:20 +02:00
Carles Fernandez 342485d28d
Remove unused private members 2019-07-25 21:34:42 +02:00
Carles Fernandez 6796a73820
Avoid pointer arithmetics 2019-07-23 19:04:01 +02:00
Carles Fernandez be86771ede
Move default destructor to header file, so compiler can make a better job 2019-07-21 19:32:52 +02:00
Carles Fernandez 49e64f94f6
Code cleaning, initializations 2019-07-20 11:13:28 +02:00
Carles Fernandez 03a77b06ea
Format file 2019-07-20 03:02:43 +02:00
Carles Fernandez 0ddb063784
Modernize code
Automatize memory management
De-clutter clan-tidy warnings by fixing obvious issues
2019-07-19 18:23:36 +02:00
Carles Fernandez 35852c7efb
clang-tidy fixes
Reduce number of hicpp-signed-bitwise warnings
See https://rules.sonarsource.com/c/RSPEC-854
2019-07-18 22:57:45 +02:00
Carles Fernandez 8e0445264a Do not use bitwise operators with signed operands
Use of signed operands with bitwise operators is in some cases subject to undefined or implementation defined behavior. Therefore, bitwise operators should only be used with operands of unsigned integral types.
2019-07-15 12:17:29 +02:00
Carles Fernandez ec9aa207b0 Do not use bitwise operators with signed operands
Use of signed operands with bitwise operators is in some cases subject to undefined or implementation defined behavior. Therefore, bitwise operators should only be used with operands of unsigned integral types.
2019-07-15 12:14:39 +02:00
Carles Fernandez 0e54fad652 Merge branch 'bds_fix' of https://github.com/dmiralles2009/gnss-sdr into dmiralles2009-bds_fix 2019-07-15 09:48:31 +02:00
Damian Miralles 410269069a
bds: Bug fixes in carrier wavelength computation
Changed wavelength computation to native method within RTKLIb. The native method
 should also help in the PVT computation of GLONASS satellites as it considers
the freq. offset when computing the wavelength. This also fixes typo in tracking
 stage for MEO satellites of the BDS constellation.

Note: A similar approach to carrier wavelength computation should be applied to
the obs_data in rtk_solver. In theory, static allocation should not be needed for
the types.
2019-07-14 20:09:52 -05:00
Carles Fernandez d7460022ed
Avoid C arrays
See https://clang.llvm.org/extra/clang-tidy/checks/modernize-avoid-c-arrays.html
2019-07-14 14:09:12 +02:00
Carles Fernandez def3a8875a
Misc improvements
Remove cstdio
Remove usage of cstring and memcpy when it is not needed
Mark move cobstructor with noexcept
2019-07-14 02:28:28 +02:00
Damian Miralles b262c58aa8
bds: Add unified trk startegy to deliver 1 symbol per sample
This works builds up upon J. Arribas work for unified symbol dec in tracking.
Fixes a couple of bugs with PVT code and adds new code for RINEX functions. Adds
 cosmetic fixes to the code with unused variables.
2019-07-10 12:52:40 -05:00
Damian Miralles c2f4b39bb2
bds: removal of unused fields 2019-07-10 10:49:41 -05:00
Carles Fernandez 38559628e8
Fix bug 2019-07-09 20:21:58 +02:00
Carles Fernandez d6dd4cad77
Fix GLONASS L2 nav message decoding 2019-07-09 20:09:34 +02:00
Carles Fernandez faeb99bf6f
Fix GLONASS L1 nav message decoding (fixes #289) 2019-07-09 20:00:29 +02:00
Carles Fernandez 5f1a418a9b
Merge branch 'tracking_debug' of https://github.com/gnss-sdr/gnss-sdr into move 2019-07-06 13:03:09 +02:00
Javier Arribas 0d3299f29b Fix Beidou. Disabled symbol integration in tracking for Beidou and disabled experimental tracking carrier Doppler correction for all systems 2019-07-05 20:30:34 +02:00
Carles Fernandez 76a14a86f0
Fix data race condition detected by Coverity Scan 2019-07-05 16:14:33 +02:00
Javier Arribas 29f13e5e31 Set noutput items limit in telemetry decoders and some minor changes 2019-07-04 17:19:33 +02:00
Javier Arribas 951e179bb8 Debug gnuradio buffer latency test 2 2019-07-04 12:54:45 +02:00
Javier Arribas 7877754cb2 Debug gnuradio buffer latency 2019-07-04 12:16:37 +02:00
Javier Arribas cf967be252 Consolidating unified dll pll veml tracking to synchronize symbols for GPS L1, L5, Galileo E1, E5 and Beidou B1, B3. Beidou bug fixes in acquisition. Adapting all telemetry decoders to use 1 sample per symbol 2019-07-03 18:57:26 +02:00
Javier Arribas e17472d986 Partial merge commit, to be fixed in next commit 2019-07-01 11:00:38 +02:00
Carles Fernandez c37b3e00b5
Use uppercase literal suffix 2019-06-29 14:22:15 +02:00
Javier Arribas bfae31390f Adding TOW update consistency check in GPS L5 telemetry decoder 2019-06-21 18:06:48 +02:00
Javier Arribas 88f78a107c Improving unified tracking. Added Doppler frequency correction for false PLL lock 2019-06-14 12:52:46 +02:00
Javier Arribas 559080b651 Improving tracking stability of carrier lock detector 2019-06-11 20:20:23 +02:00
Carles Fernandez ada51b3150
Fix data race detected by Coverity Scan 2019-06-07 12:00:47 +02:00
Javier Arribas 54487295a7 Fix bug in Galileo E1/E5 telemetry decoder 2019-06-06 18:16:27 +02:00
Javier Arribas 93bea1591b Bug fix in GPS L1 CA telemetry decoder, increased subframe realiability 2019-05-15 17:35:10 +02:00
Carles Fernandez d1298d67c8
Remove unused buffer 2019-04-27 12:43:34 +02:00
Carles Fernandez fa4460038e
Fix warning: logical not is only applied to the left hand side of this comparison 2019-04-24 01:19:43 +02:00
Javier Arribas 2e69b62ac0 Fix return void in non-void function 2019-04-23 12:32:12 +02:00
Javier Arribas 547559c0b8 Improving GPS L1 CA telemetry decoder 2019-04-23 12:27:18 +02:00
Javier Arribas 35b5ec1112 optimization in Galileo E1/E5 TLM decoder state machine 2019-04-16 10:08:56 +02:00
Javier Arribas 5e5c85ef99 optimization in GPS L1 TLM decoder 2019-04-16 10:08:22 +02:00
Javier Arribas f8146e5a3f GPS L1 TLM decoder state machine optimization 2019-04-16 09:47:26 +02:00
Carles Fernandez 77851e5589
BeiDou B3I bug fixes (credits to dmiralles2019) 2019-03-26 22:34:08 +01:00
Carles Fernandez 3cd1e70706
Fix defects detected by Coverity Scan 2019-03-19 07:53:21 +01:00
Carles Fernandez b0c19c03f3
Apply formatting 2019-03-18 19:41:41 +01:00
Javier Arribas 48180c967a
Replacing PLL/DLL fixed order loop filters with DLL/PLL/FLL order-configurable filters. Adding PLL false lock protection by using telemetry validation flag 2019-03-18 19:35:40 +01:00
Carles Fernandez 52c69073ac
Apply clang-tidy fixes 2019-03-18 09:10:00 +01:00
Carles Fernandez ed9aaf86ce
Fix building, apply formatting 2019-03-18 08:43:38 +01:00
Damian Miralles 10910269f4
Merge branch 'next' into bds_b3i. Keep code up to date 2019-03-17 18:58:44 -05:00
Damian Miralles 5a4227507d
bds_b3i: fixing code with clang format 2019-03-17 18:57:45 -05:00
Damian Miralles 3136817737
bds_b3i: Adding BeiDou B3I PVT computation 2019-03-17 18:49:06 -05:00