Commit Graph

57 Commits

Author SHA1 Message Date
Carles Fernandez 21352a80d1
Apply and add clang-tidy ckecks readability-make-member-function-const and readability-qualified-auto 2020-12-30 21:49:29 +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 e6d802d3e8
Fixes for new clang-format behavior 2020-11-22 11:05:16 +01:00
Carles Fernandez a0ef5a5f31
Move RINEX and RTCM work to the printer classes 2020-11-14 01:57:29 +01:00
Carles Fernandez 499de7a9f1
Update file headers 2020-07-28 16:57:15 +02:00
Carles Fernandez c0f81dd9e2
Improve const correctness. Improve usage of typeid 2020-07-19 09:39:32 +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 5a3db5a53d
Add debug internal logging for destructors. Sort destructor order 2020-06-25 02:50:07 +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 9f8f9e8af9
Apply code cleaning before release 2019-07-28 12:01:11 +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 49e64f94f6
Code cleaning, initializations 2019-07-20 11:13:28 +02:00
Carles Fernandez 76222945bd Add missing include, reordering 2019-07-16 12:02:13 +02:00
Javier Arribas e7dc926dad Improving the concurrent queue and fix missing dependencies 2019-07-16 11:07:02 +02:00
Carles Fernandez 90a539ed26
Avoid using cstdio header
See MISRA C++:2008, 27-0-1 - The stream input/output library <cstdio> shall not be used.
Replaced by filesystem library.
Avoid using cstring when it is easily replaced
2019-07-13 14:28:48 +02:00
Carles Fernandez 8d424a13b6
Replace boost::filesystem by std::experimental::filesystem when the later is available 2019-06-12 20:39:29 +02:00
Carles Fernandez ca6b4b545b
Replace Boost::filesystem by std::filesystem if C++17 support is available 2019-06-10 21:41:13 +02:00
Carles Fernandez 8ac42c24b7 Improve includes (IWYU) 2019-03-06 18:45:27 +01:00
Carles Fernandez e7ea5c1fdd
Remove superfluous 'using google::LogMessage' 2019-03-03 13:39:35 +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 4b2b205e21
Avoid throwing exceptions from destructors
Detected by clang-tidy check bugprone-exception-escape
2019-02-10 21:55:51 +01:00
Carles Fernandez dfab84b2de
Add fixes applied by clang-tidy 2019-02-05 01:31:09 +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 17260bbcea
Miscelaneous code improvements by clang-tidy 2018-12-08 18:49:31 +01:00
Carles Fernandez d95b89beae
clang-tidy: apply performance-unnecessary-value-param fix (see http://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-value-param.html) 2018-12-03 22:38:46 +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 f7df714a7f
Fix string comparisons, improve const correctness 2018-12-02 15:42:38 +01:00
Carles Fernandez 19dca87427
Warn if output files cannot be written. 2018-10-28 02:02:28 +02:00
Carles Fernandez b183fe63ba
Improve PVT block configuration. Allow to store data products in different folders 2018-10-28 00:42:28 +02:00
Carles Fernandez 201c5ccd79
Add more extensive use of cstdint typenames 2018-08-11 13:56:24 +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 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 24f6003ba0 Remove iostream from header files
and in redundant places such as in unit tests
2018-02-25 22:49:06 +01:00
Carles Fernandez 2b8ab9dcee Group all flags in a single file
This makes easier to document and to add new ones.
Shortened version of common files have been added:
-c for -config_file
-s for -signal_source
2018-02-18 12:23:55 +01:00
Damian Miralles f720ddf208 Adding RTCM messages for GLONASS support
Adds code for RTCM in GLONASS processing. The commit includes legacy
messages (MS1009-MS1012) and integrated messages for GNSS fields.
A couple of bug fixes are included and addition of ephemeris fields
is completed.
2017-08-31 09:55:35 -06:00
Damian Miralles 6669482e91 rtcm: Starting coding of RTCM standard
Starting to add GLONASS support for RTCM v3 messages while fixing bugs
with the RINEX parser. In addition, adding more unit tests in the code
2017-08-31 09:55:35 -06:00
Carles Fernandez 85cc7802be Fix const correctness when catching exceptions
See https://stackoverflow.com/questions/7581654/about-catching-exception-good-practices
Unneeded includes unistd.h removed
Close dump files in destructor
2017-08-14 13:59:00 +02:00
Carles Fernandez 18cd7daa09 Eliminate ctime library. Replaced by chrono or boost::date_time 2017-08-11 05:18:38 +02:00
Carles Fernandez 3e18d54a74 Catch exceptions when stopping the rtcm server
Defect detected by Coverity scan
2017-01-14 15:43:34 +01:00
Carles Fernandez 19d212065b Add generation of RTCM messages for more receiver configurations 2016-11-04 09:19:31 +01:00
Carles Fernandez 97ffee0b0c Use more descriptive names for variables 2016-11-03 14:52:30 +01:00
Carles Fernandez 9cbb88bc9f TCP port and RTCM station ID are now configured by the printer
Merge branch 'next' of git+ssh://github.com/gnss-sdr/gnss-sdr into next
2016-05-06 21:00:08 +02:00
Carles Fernandez 97f4f24c88 Enable RTCM messages in Galileo E1 receiver 2016-05-04 19:53:53 +02:00
Carles Fernandez 7d0e3126aa Merge branch 'next' of git+ssh://github.com/gnss-sdr/gnss-sdr into next
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2016-02-09 19:43:07 +01:00
Carles Fernandez 9ea5d80935 Fixing silly redefinition of variable 2016-01-03 14:16:26 +01:00
Carles Fernandez 589342e4a4 fix typo 2015-12-25 12:27:08 +01:00
Carles Fernandez 286ee3b561 Integrating the RTCM printer
Now the Galileo E1 receiver generates RTCM messages 1045 (ephemeris) and
MSM7 / 1097 (observables). Parameters related to RTCM included in conf
files. The TCP/IP server can be activated by setting flag_rtcm_server to
true.
2015-12-25 10:25:22 +01:00
Carles Fernandez f70df3e581 Integrating the RTCM message printer
Now the GPS L1 receiver generates 1002 and 1019 messages. Bugs in the
Rtcm class fixed.
2015-12-24 20:56:41 +01:00
Carles Fernandez 337dc3b2da fixing error handling when writing to a serial bus 2015-11-24 17:57:05 +01:00