Commit Graph

706 Commits

Author SHA1 Message Date
Carles Fernandez 821223aff0
Fix clang-format 2020-11-29 13:09:27 +01:00
Carles Fernandez 38cd7237dc
Improve computation of satellite position and velocity in ephemeris classes 2020-11-29 12:08:23 +01:00
Carles Fernandez 0d1d89b8db
Do not shadow variable 2020-11-19 14:03:04 +01:00
Carles Fernandez 6b28ef9e7c
Apply clang-tidy fix (warning: use range-based for loop instead [modernize-loop-convert]) 2020-11-19 14:01:35 +01:00
Carles Fernandez 40e9d687dd
Add missing include 2020-11-17 21:55:32 +01:00
Carles Fernandez cf9c080169
Add logic for HAS message reading 2020-11-17 19:22:32 +01:00
Carles Fernandez d1b23ae3fd
Add logic for HAS message retrieval 2020-11-10 21:20:13 +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 287284261c
Make use of Doxygen grouping feature
Improve Modules page in generated HTML documentation
2020-11-01 13:37:19 +01:00
Carles Fernandez 4877ffff80
Update GPS satellite blocks 2020-08-21 00:30:03 +02: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 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
piyush0411 ea664c9fd2 Minor additions 2020-07-25 18:18:13 +05:30
piyush0411 fa9abed435 Added missing parameter 2020-07-25 02:56:14 +05:30
Carles Fernandez 945c86a4c4
Avoid code duplication 2020-07-21 13:56:01 +02:00
Carles Fernandez 8a06981c16
Improve const correctness 2020-07-20 01:20:15 +02:00
Carles Fernandez 6d510a62bf
Fix bugprone conversion warning 2020-07-19 14:49:12 +02:00
Carles Fernandez 4ab7690085
Fix bug in GLONASS year computation (Fixes: #347) 2020-07-19 14:44:18 +02:00
Carles Fernandez 52980978f5
Improve const correctness 2020-07-19 14:26:15 +02:00
Carles Fernandez 8666ff7706
Include what you use 2020-07-14 20:12:08 +02:00
Carles Fernandez da9795c7a1
Update BeiDou satellite list 2020-07-12 13:56:36 +02:00
Carles Fernandez c178d9a8a6
Remove Armadillo from Pvt_Solution API
Some API cleaning. The user does not need to call cart2geo anymore. Armadillo stuff moved to old ls_pvt solution
2020-07-12 12:42:06 +02:00
Carles Fernandez c097300106
Add missing constant 2020-07-11 12:10:34 +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 aca0330325
Include what you use 2020-07-05 23:07:41 +02:00
Carles Fernandez 996ff3ea4d
Fix gcc warning: type qualifiers ignored on cast result type 2020-07-05 20:51:25 +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 1e742afbc4
Sort constants, avoid duplication of Galileo physical constants 2020-07-04 19:13:42 +02:00
Carles Fernandez bb540c7b48
Replace const std::string by constexpr char 2020-07-03 11:36:38 +02:00
Carles Fernandez 14d1152eda
Make constants constexpr, so they can be used at compile time 2020-07-01 19:39:25 +02:00
Carles Fernandez df7c466de0
Sort data members in headers 2020-06-24 22:27:51 +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 0df4277d36
Unify criteria in target definitions, more informative names 2020-06-13 00:32:40 +02:00
Carles Fernandez 34a250246a
Simplify initializations in system_parameters library 2020-06-10 10:15:59 +02:00
Carles Fernandez 950006ddee
Fix warning in gcc 10: avoid undefined behavior in move assignment operator 2020-06-09 14:11:18 +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 4635b307d8
Add Galileo_E5b.h to the headers list 2020-05-30 08:48:54 +02:00
Carles Fernandez dd725918de
Merge branch 'Galileo_E5b' of https://github.com/piyush0411/gnss-sdr into piyush0411-Galileo_E5b 2020-05-28 21:54:34 +02:00
piyush0411 f79a840ef7 Changed Copyright Information. 2020-05-27 20:08:04 +05:30
piyush0411 7fc426e20a Added System Parameters File 2020-05-27 09:21:59 +05:30
Carles Fernandez 35ee34673a
Fix signature of copy and move operators 2020-05-16 14:39:34 +02:00
Carles Fernandez b9c84a451e
Improve internal handling of Gnss_Synchro objects
Added noexcept move constructor and move assignment operator.
Small refactor of includes
2020-04-25 16:08:33 +02:00
Carles Fernandez ec3c868625
Fixes a bug in GLONASS GNAV CRC computation (Fixes: #349) 2020-04-10 13:44:45 +02:00
Carles Fernandez 538c1e6182 Fix shadowed variables 2020-02-26 18:16:04 +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 fe9c7224f6 Initialize parameter 2020-02-06 12:11:22 +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 6c5a5c7aee
Update broken links 2020-02-01 13:57:10 +01:00
Carles Fernandez 435f3641e0
clang-format fixes 2020-01-26 22:33:03 +01:00
Carles Fernandez 9023f19794
Use C++ comments for final #endif in headers 2020-01-26 22:23:22 +01:00
Carles Fernandez 664ad05bec
Update references and links to ICDs 2020-01-25 13:42:55 +01:00
Carles Fernandez dc3bf0172a
Update references and links to ICDs 2020-01-25 13:07:03 +01:00
Carles Fernandez 510a3a15ba Update BeiDou satellite names 2019-11-05 14:47:27 +01:00
Carles Fernandez 74f6c2e115 Fix reading of Delta_n parameter. Fixes #322 2019-10-23 13:20:14 +02:00
Carles Fernandez 9e79bb4b8f Fix bug in Beidou nav message. Fixes #320 2019-10-23 11:16:32 +02:00
Carles Fernandez e80122f4ff
Apply clang tidy checks and clang-format 2019-09-13 08:56:37 +02:00
Carles Fernandez 48b284d5fe
Fix formatting 2019-08-31 11:52:04 +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 95f688dcb0
Mark all constructors callable with one argument as explicit 2019-08-23 21:25:44 +02:00
Carles Fernandez d4bb6e5731
Always have a space between // and comment 2019-08-18 22:16:13 +02:00
Carles Fernandez 03541bd88b
Fix wrong comment marks 2019-08-17 15:00:31 +02:00
Carles Fernandez c31d9dea40
Fix errors risen by include_what_you_use 2019-08-17 13:56:54 +02:00
Carles Fernandez 84f944d7fa
Remove logically dead code 2019-08-16 20:18:49 +02:00
Carles Fernandez c5f4a54aac
Avoid implementation-defined behavior of shifting left a signed variable 2019-08-16 11:55:52 +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 9b4597572c Cleaning 2019-07-30 12:38:03 +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 281220a211
Fix wrong usage of move 2019-07-25 22:08:34 +02:00
Carles Fernandez ef9c02bac2
Miscellaneous changes: fix typos, warnings 2019-07-20 02:53:31 +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 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 00805d4b2f
Updating branch contents 2019-07-10 13:13:01 -05: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 4adb05570a Fix typos detected by codespell 2019-07-09 11:52:53 +02:00
Carles Fernandez 24007b59e5
Remove unused includes, fix docs 2019-07-07 22:36:29 +02:00
Carles Fernandez 29a910df30
Simplify initializations 2019-07-07 19:56:23 +02:00
Carles Fernandez cf8f4af527
Try to avoid non-default move & copy constructors 2019-07-07 18:41:50 +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
Carles Fernandez 5d679a3eef
Do not use move when it is not needed 2019-07-05 15:24:28 +02:00
Carles Fernandez 1237a29fc9
Add copy constructor, copy assignment operator, move constructor and move assignment operator 2019-07-05 14:42:48 +02:00
Carles Fernandez 52c08e3ab4
Add copy constructor, copy assignment operator, move constructor and move assignment operator 2019-07-05 13:08:00 +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 21f00d5172 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-07-02 10:02:42 +02:00
Carles Fernandez 018cde8953
Write public interface first, then private members in class definitions 2019-07-01 23:44:42 +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 be5ffe6b67 Implementation of Differential Arctangent Discriminator for FLL 2019-05-15 17:38:45 +02:00
Javier Arribas 7ed88c26b6 Fix the TOW weel crossover situation in observables and PVT 2019-05-08 14:55:14 +02:00
Javier Arribas f8146e5a3f GPS L1 TLM decoder state machine optimization 2019-04-16 09:47:26 +02:00
Javier Arribas fdf86ef75b Adjusting the optimal bandwidth for the automatic acquisition resampler in GPS L1 and L2C 2019-04-03 15:27:26 +02:00
Carles Fernandez 5d423f3c59
Fix overflow 2019-03-19 19:51:54 +01:00
Carles Fernandez 3cd1e70706
Fix defects detected by Coverity Scan 2019-03-19 07:53:21 +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
Carles Fernandez b409f1c15e
Fix copyright year 2019-03-17 14:07:42 +01:00
Damian Miralles dc65760122
bds_b3i: Updating branch with new changes from upstream repo 2019-03-12 10:54:17 -05:00
Carles Fernandez c87a9ddc9a
Remove character so it does not break LaTeX compilation 2019-03-09 09:26:32 +01:00
Damian Miralles 2b4a395dc8 bds_b3i: merging new changes, fixing D2 decoding bug 2019-03-07 09:38:49 -06:00
Carles Fernandez dd7a52c93b
Fix headers 2019-03-06 21:54:39 +01:00
Carles Fernandez e6cfbadbf3 Improve includes with IWYU
Fix for old Boost
2019-03-05 09:55:59 +01:00
Carles Fernandez c82c7225dd Improve includes with the aid of include-what-you-use (IWYU)
See rationale at https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/WhyIWYU.md
2019-03-05 08:59:04 +01:00
Carles Fernandez 5cbafa276f
Make Galileo FNAV epehemeris less verbose in terminal 2019-03-03 10:56:07 +01:00
Damian Miralles 9ccb86dac6 Merge branch 'next' into bds_b3i 2019-03-01 13:29:10 -06:00
Damian Miralles 8782fcba69 bds_b3i: merging new changes, fixing small bugs 2019-03-01 13:28:21 -06:00
Javier d6bf84b222 Moving LOG(INFO) to DLOG(INFO) in galileo navigation message parser 2019-03-01 18:31:15 +01:00
Carles Fernandez b1c6e1d91f Make Galileo E1 message decoding less verbose in terminal 2019-02-28 18:20:33 +01:00
Carles Fernandez f01f90695e
Apply clang-format 2019-02-22 13:30:18 +01:00
Carles Fernandez d82dda30e7
Remove repeated parameters 2019-02-22 12:23:41 +01:00
Carles Fernandez 62a7e54359
Introduce readability-identifier-naming check
This commit enforces naming style for Classes and global constants:
Camel_Snake_Case for Classes
UPPER_CASE for global constants
CamelCase for abstract classes
2019-02-22 10:47:24 +01:00
Carles Fernandez b3ae2c969a
clang-tidy: apply fixes 2019-02-21 10:33:20 +01:00
Carles Fernandez 9bc771bed6
Deploy a new option -DENABLE_CLANG_TIDY to integrate clang-tidy checks and fixes into the compilation process, if found. It defaults to OFF 2019-02-21 09:59:06 +01:00
Carles Fernandez 83501f86f5
Fix headers 2019-02-17 13:36:33 +01:00
Carles Fernandez 2da0ef3c84
Improve initialization 2019-02-15 10:02:32 +01:00
Carles Fernandez 890752601d
Fix defects detected by Coverity Scan 2019-02-14 23:44:38 +01:00
Carles Fernandez b5c59ee6f7
Fix defects detected by Coverity Scan 2019-02-14 22:49:36 +01:00
Carles Fernandez 73b7341904
clang-tidy: apply readability-braces-around-statements plus code formatting
See http://releases.llvm.org/7.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability-braces-around-statements.html
Code formatting applied with:
  find ../src/ -iname *.h -o -iname *.cc | xargs clang-format -i
2019-02-11 21:13:02 +01:00
Carles Fernandez b257c6433f clang-tidy: apply readability-named-parameter check
See https://google.github.io/styleguide/cppguide.html#Function_Declarations_and_Definitions
2019-02-11 15:31:01 +01:00
Carles Fernandez 75bd492d96
Change CMake target names to more meaningful ones, reflecting the code tree 2019-02-10 18:34:28 +01:00
Carles Fernandez 21b5aeee9d
Make use of cstdint type names 2019-02-10 12:45:23 +01:00
Carles Fernandez a6b94eaccf
Make use of cstdint typedefs, fix warning, remove unused variable 2019-02-10 12:40:03 +01:00
Carles Fernandez ce051e040f
Improve target design 2019-02-10 01:13:02 +01:00
Damian Miralles 1b7d4edf51 bds_b31: Getting new changes from upstream 2019-02-05 17:25:16 -06:00
Carles Fernandez dfab84b2de
Add fixes applied by clang-tidy 2019-02-05 01:31:09 +01:00
Carles Fernandez 708b288e61
Clean CMake scripts 2019-02-04 22:44:45 +01:00
Carles Fernandez 9b94a4dec0 Add more imported targets to CMake scripts 2019-02-04 16:07:29 +01:00
Carles Fernandez 8ae72fe458
Update to modern CMake usage 2019-02-03 19:24:44 +01:00
Carles Fernandez c561d7e799
Applying code formatting rules 2019-01-28 02:29:43 +01:00
Damian Miralles 7f1619483f bds_b3i: bug fix in code generation
Moved code generation logic to use bool type to keep same notation
as the previous implementations. More testing in code is required
2019-01-27 19:05:41 -06:00
Damian Miralles e78ba653e6 bds b3i: Adding code to process BeiDou B3I signals
Adds code to perform acq and trk in BeiDou B3I signals. Stages of
telemetry decoding, observables computation and pvt use existing
code on the platform. Some further testing is required
2019-01-25 15:43:00 -06:00
Damian Miralles 5395b0bc3b bds_b1i: First BeiDou PVT for GNSS-SDR
Adds a BeiDou B1I PVT for GNSS-SDR. Fixes bugs with D2 message decoding
for eph values in non continuous pages. Adds a couple of cosmetic fixes.
2019-01-02 13:19:11 -06:00
Damian Miralles b6b98bea69 bds_b1i: Fixing bugs with utc model 2019-01-01 13:46:57 -06:00
Damian Miralles 2865e97b84 bds_b1i: Adding pvt computation with BeiDou B1I satellites 2018-12-28 19:01:22 -06:00
Damian Miralles 7cef679744 bds_b1i: Adding support for d2 nav decoding 2018-12-26 12:54:23 -06:00
Damian Miralles 7cdd2ee477 bds b1i: Adding geo satellites tracking and setting up structure for d2 nav decoding 2018-12-24 15:14:10 -06:00
Damian Miralles 0c4b8b25f1 bds_b1i: Adding new tel dec block structure 2018-12-23 12:51:28 -06:00
Damian Miralles 9e9b272fb2 bds_b1i: trying a new way for code 2018-12-19 10:20:12 -06:00
Damian Miralles 42b506d0bb bds b1i: Merging latest changes from upstream/next 2018-12-18 15:55:36 -06:00
Carles Fernandez c176e51265
Improve data types for GPS navigation messages 2018-12-14 02:31:01 +01:00
Carles Fernandez fa03077ca1
Improve data types for Galileo navigation data 2018-12-14 00:48:51 +01:00
Damian Miralles 0d94f9e1b7 bds b1i: some bug corrections in the code 2018-12-13 07:57:42 -07:00