Commit Graph

76 Commits

Author SHA1 Message Date
Carles Fernandez 3697bc1dce
Improve value reading in navigation message decoding
More concise code, less branching, fix some Wshorten-64-to-32 warnings
2024-01-13 12:07:06 +01:00
Carles Fernandez 7132ee720a
Remove useless casts 2023-11-14 13:42:44 +01:00
Vladislav P e4a3a060ee
Implement GLONASS string error correction
Signed-off-by: Vladislav P <vladisslav2011@gmail.com>
2022-12-11 16:54:09 +03:00
Alexander V. Joura cd843787c8
Wrong decoding of GLONASS navigation message parameter P1 in string #1 2022-08-16 12:44:03 +03:00
Carles Fernandez 077990faa8
Pass bits by reference 2021-04-11 14:47:36 +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 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 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 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 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 037a1fcb5f
Improve headers, large data members first. Improve nav message interfaces 2020-06-23 09:47:58 +02:00
Carles Fernandez 34a250246a
Simplify initializations in system_parameters library 2020-06-10 10:15:59 +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 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 df05c7418e
Fix bugprone-too-small-loop-variable clang-tidy check warnings 2019-08-24 17:34:12 +02:00
Carles Fernandez d4bb6e5731
Always have a space between // and comment 2019-08-18 22:16:13 +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 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 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 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 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 7261bec2ad
Miscelaneous code improvements 2018-12-04 13:20:49 +01:00
Carles Fernandez 327fec627c clang-tidy: apply readability-else-after-return fix (see https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html) 2018-12-03 22:08:19 +01:00
Carles Fernandez 1743a773b5 Improve performance by using const and std::move() to avoid unnecessary copies 2018-12-03 19:01:47 +01:00
Carles Fernandez b994f466a7 clang-tidy: apply modernize-loop-convert fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-loop-convert.html) 2018-12-03 18:03:25 +01:00
Carles Fernandez 5d86e68b60
Improve initializations and minor fixes 2018-08-17 18:10:53 +02:00
Carles Fernandez f18f02622c
Minor changes 2018-08-14 14:07:37 +02:00
Carles Fernandez 200648be50
Add more extensive use of cstdint typenames 2018-08-14 01:13:07 +02:00
Carles Fernandez 6b1611b3a9
Replace unsigned long int by uint64_t and long int by int64_t. Fixes #199 2018-08-10 20:34:03 +02:00
Carles Fernandez 0d60d97c24
Use https instead of http in links when available
Update copyright year in headers
2018-05-13 22:49:11 +02:00
Damian Miralles 287d38dea2 GLONASS L2 CA Signal Addition
Adds GLONASS L2 C/A signal processing to GNSS-SDR based on previous
work developed for the L1 signal. All code have been added in a single
commit with the idea to illustrate the process of signal addition for
future work
2018-03-24 12:44:26 -06:00
Carles Fernandez 34f24562cf Apply automated code formatting
Documented at .clang-format
See http://clang.llvm.org/docs/ClangFormat.html and http://clang.llvm.org/docs/ClangFormatStyleOptions.html
2018-03-03 02:03:39 +01:00
Carles Fernandez 658e677fc3 Reorder includes: local headers first, then 3rd-party library headers, and finally standard headers 2018-02-26 03:15:53 +01:00
Carles Fernandez 30988b8e14 Remove unrequired includes. Remove tabs. Fix indentation 2018-01-26 12:40:58 +01:00
Carles Fernandez 6f3e43ec08 Initialize all members in the cosntructor 2018-01-25 15:07:13 +01:00
Damian Miralles e636bba59a position fix: First GLONASS position fix
First GLONASS L1 C/A position fix using GNSS-SDR. Fixes bug in toe
reporting for GLONASS and cleans up the code a bit. Small bug with
RINEX file still present but achievement deserves its own commit.
2017-11-01 21:05:40 -06:00
Damian Miralles c9fba22307 bugreport: Time managment with boost posix time
Need to fix bug in time duration with posix time and deal with day
offsets in the code. Something seems off with day duration for long
periods of time.
2017-10-24 08:51:38 -06:00
Damian Miralles a1b9b092f5 Debugging GLONASS code to obtain position solution 2017-10-19 13:22:55 -06:00
Carles Fernandez 8a43414933 Merge branch 'glonass_dec' of https://github.com/dmiralles2009/gnss-sdr into dmiralles2009-glonass_dec 2017-10-11 18:22:56 +02:00
Damian Miralles 93640ffd46 GLONASS bugfix: Fixes settings with rtklib obs_t and nav_t members
Adds settings in rtklib code to parse GLONASS measurements in `obs_t`
and 'nav_t' structures. It also adds the time of day field in gnav eph
to keep track as of when ephemeris are reported.
2017-10-11 08:22:45 -06:00
Damian Miralles c5a690cf1e GLONASS Observables: Fixes bug in TOW updating
Fixes bug in TOW update when a new value has been computed. This adds a
new flag to keep track of TOW update given the tk component. The code
fix improves the pseudorange measurement for code
2017-10-03 15:26:02 +02:00
Damian Miralles cd0d65ecc0 bugfix: Fix computation of TOW value for GLONASS GNAV
Fixes the TOW computation mapping from GLONASS Time to UTC time and then
conversion to TOW and WN. The logic of the conversion considers time
offsets but  may need to be reviewed.
2017-10-03 15:26:02 +02:00
Damian Miralles d8f697401e bugfix: Fixes bugs with units in GNAV Almanac decoding
Forces conversion of semicircles to radians units  in some GNAV Almanac
parameters. In addition, adds safeguards in code to avoid invalid
slot number identification.
2017-10-03 15:26:02 +02:00
Damian Miralles c4c90dcad2 feature: Remove satellite position computation from GNAV Almanac
Removes the satellite position computation from the GNAV Almanac object
since it does not seems to be a great usage at the moment. Possible
addition of the fields should be added to the RTKLib API
2017-10-03 15:26:02 +02:00
Damian Miralles 529da490c3 bugfix: Fixes reporting for new almanac data
Adds code to update the almanac information for satellites when decoded
by reducing the flags for the update. Almanac update is now reported
when the 2 required strings are decoded.
2017-10-03 15:26:02 +02:00