Commit Graph

64 Commits

Author SHA1 Message Date
Carles Fernandez c2223e3dad
Create a base class for Gnss almanacs, unify parameter names 2021-02-23 11:57:24 +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 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 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 c470d43432
Fix shadowed variables
See MISRA C++:2008, 2-10-2 - Identifiers declared in an inner scope shall not hide an identifier declared in an outer scope
and https://rules.sonarsource.com/cpp/RSPEC-1117\?search\=shadow
2020-02-26 22:40:00 +01:00
Carles Fernandez 538c1e6182 Fix shadowed variables 2020-02-26 18:16:04 +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 c9e03557b7
Remove tabs 2019-10-05 03:16:31 +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 be86771ede
Move default destructor to header file, so compiler can make a better job 2019-07-21 19:32:52 +02:00
Carles Fernandez dfecb45b7f Fix warning (unsigned comparison) 2019-07-02 11:26:59 +02:00
Carles Fernandez 54553a8cff Remove delete 2019-07-01 15:26:48 +02:00
Carles Fernandez e6cfbadbf3 Improve includes with IWYU
Fix for old Boost
2019-03-05 09:55:59 +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 9b94a4dec0 Add more imported targets to CMake scripts 2019-02-04 16:07:29 +01:00
Carles Fernandez c176e51265
Improve data types for GPS navigation messages 2018-12-14 02:31:01 +01:00
Carles Fernandez 54237770a6
Apply fixes by clang-tidy 2018-12-10 22:59:10 +01:00
Carles Fernandez 5f79053d65
Sort includes automatically with clang-format
Order:
1.- Main header
2.- Local headers
3.- Third-party library headers
4.- System headers

each category sorted lexicographically
2018-12-09 22:00:09 +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 96f34cabb1
clang-tidy: apply modernize-use-equals-default fix. See https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-equals-default.html 2018-12-03 11:12:10 +01:00
Carles Fernandez c69b877c44
Fix reading of Galileo almanac 2018-11-20 21:53:53 +01:00
Carles Fernandez 37841bc89e Store AGNSS reference location and time provided by SUPL 2018-11-20 10:52:40 +01:00
Carles Fernandez ea59abee77
Add work on warm start 2018-11-20 09:28:47 +01:00
Carles Fernandez 573092d033
Download and build PugiXML if not found 2018-11-11 12:27:01 +01:00
Carles Fernandez a7f39c9470
Avoid warning 2018-11-10 19:23:13 +01:00
Carles Fernandez 0abb84b9a4
Read Galileo almanac data from XML file in the format provided at https://www.gsc-europa.eu/system-status/almanac-data
Requires PugiXML, feature only available if the library is found on the system at building time
The format detection is transparent to the user. Just configure GNSS-SDR.AGNSS_gal_almanac_xml=./2018-11-06.xml
2018-11-10 19:16:13 +01:00
Carles Fernandez d77448cd76
Improve data types for almanac parameters 2018-11-07 22:25:09 +01:00
Carles Fernandez e5122198ae Fix error reading eccentricity from the almanac 2018-10-31 16:17:11 +01:00
Carles Fernandez bc058d33da Read GPS almanac file if present 2018-10-25 11:01:29 +02:00
Carles Fernandez c4b2aa8cc4
Read Galileo almamac xml file if present 2018-10-25 00:43:25 +02:00
Carles Fernandez 15c4d62096
Add Glonass assistance 2018-10-20 19:30:32 +02:00
Carles Fernandez a10b1fe0f4 Store and read CNAV UTC parameters in Assisted mode 2018-10-19 14:48:41 +02:00
Carles Fernandez 6f6bb21c76 Sort out names when storing XML files 2018-10-19 13:48:21 +02:00
Carles Fernandez aca2b28a4d Add Galileo UTC and iono model parameters to the assistance system 2018-10-18 15:46:48 +02:00
Carles Fernandez 37a2a899f7 Fix reading ephemeris from multiple files 2018-10-17 20:39:06 +02:00
Carles Fernandez 2a69e63534 Enable Assited GNSS for Galileo signals 2018-10-17 18:22:04 +02:00
Carles Fernandez 79ae0a6c9d
Fix writing of XML files. Previously, the tag boost_serialization was not closed, which caused a failure when trying to read those XML files with Boost >= 1.66 2018-10-06 20:10:16 +02:00
Carles Fernandez d9ac749575
Fix runtime error when using Boost >= 1.66 2018-10-06 13:52:48 +02:00
Carles Fernandez 6e3c640b9e
Fix warnings 2018-08-15 23:38:47 +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
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 61f8df3586 Replace some C-style cast by static_cast<>()
See https://stackoverflow.com/questions/1609163/what-is-the-difference-between-static-cast-and-c-style-casting
2017-08-18 12:45:47 +02:00
Carles Fernandez ca0352b36b Improve initialization 2017-02-10 09:57:16 +01:00
Javier Arribas 3d2e72c790 Re-enabling the GPS L1 warm start ephemeris assistance stored in XML file 2016-05-03 12:34:38 +02:00
Carles Fernandez 831cc75153 Remove tabs from the source code 2016-05-02 23:46:30 +02:00
Carles Fernandez bc0e4f188b Cleaning includes 2016-01-10 14:30:04 +01:00
Carles Fernandez 45195917c1 fixing some gnuradio-related warnings reported by gcc, so others can be spotted easier 2015-12-02 18:25:06 +01:00
Carles Fernandez 59dec858c3 initializing members 2015-05-22 18:49:46 +02:00