1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-17 07:14:55 +00:00
Commit Graph

194 Commits

Author SHA1 Message Date
Carles Fernandez
c5b3e7597a
Remove tabs 2019-08-17 14:41:32 +02:00
Carles Fernandez
c31d9dea40
Fix errors risen by include_what_you_use 2019-08-17 13:56:54 +02:00
Carles Fernandez
eef3eabbd3
Fix defects 2019-08-17 11:33:38 +02:00
Carles Fernandez
db2638ad46
Fix clang-analyzer-optin.portability.UnixAPI clang-tidy check warnings 2019-08-16 15:12:45 +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
d469c694e2
Apply default clang-tidy check 2019-08-13 01:06:47 +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
1c67a10936
Apply google-readability-casting check 2019-08-12 21:28:10 +02:00
Carles Fernandez
070996cdb4
Apply clang-tidy check readability-else-after-return 2019-08-04 13:15:03 +02:00
Carles Fernandez
d626ca1f88
Merge branch 'fpga_extended_coherent_integration' of https://github.com/mmajoral/gnss-sdr into mmajoral-fpga_extended_coherent_integration 2019-07-26 13:12:46 +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
Marc Majoral
6ee9fedd76 moved #defines to static consts + used clang-format + removed code that was commented out 2019-07-23 15:20:59 +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
37fdfca5ec
Miscellaneous improvements
Improve modularity of CMake design
Improve building speed in multicore processors
Files command_event.* moved to core/libs
Remove Armadillo from public core_receiver interface
Uniformize name format for classes
Apply some fixes by clang-tidy
Improve documentation
2019-07-21 12:55:59 +02:00
Carles Fernandez
471428f867
Fix typos detected by codespell 2019-07-20 12:55:46 +02:00
Carles Fernandez
f440a0e9f1
Avoid passing big parameters by value
clang-tidy check: performance-unnecessary-value-param
See https://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-value-param.html
2019-07-20 11:39:08 +02:00
Carles Fernandez
49e64f94f6
Code cleaning, initializations 2019-07-20 11:13:28 +02:00
Carles Fernandez
50cfb6cdf5
Fix building until gnss-sdr 2019-07-16 19:20:37 +02:00
Javier Arribas
bf40ed2be1 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into newsatdispatcher 2019-07-14 18:51:41 +02: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
1dfa169bbb
Fix memory leak 2019-07-12 21:59:14 +02:00
Javier Arribas
71d93dc4b9 New asynchronous channel and PVT status reporting from observables and PVT to flowgraph. Partial implementation of assistance from L1 to L2 and L5 2019-07-11 18:39:28 +02:00
Carles Fernandez
dfecb45b7f Fix warning (unsigned comparison) 2019-07-02 11:26:59 +02:00
Carles Fernandez
018cde8953
Write public interface first, then private members in class definitions 2019-07-01 23:44:42 +02:00
Carles Fernandez
54553a8cff Remove delete 2019-07-01 15:26:48 +02:00
Carles Fernandez
b6e9ba5877
Improve const correctness 2019-06-29 22:04:03 +02:00
Carles Fernandez
cc162dac9e
Code cleaning 2019-04-08 11:14:41 +02:00
Marc Majoral
bef7e42fb9 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-03-18 19:37:19 +01:00
Carles Fernandez
10a42945e6
Make constructors private, fix documentation 2019-03-08 10:24:06 +01:00
Carles Fernandez
cf108a46c8
Break dependency by moving files 2019-03-06 23:59:35 +01: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
1ad1366938
clang-tidy: apply readability-inconsistent-declaration-parameter-name check 2019-02-21 11:03:35 +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
111c6291ec Revert "clang-tidy: apply performance-unnecessary-value-param check"
This reverts commit eae967ed1a.
2019-02-12 12:07:40 +01:00
Carles Fernandez
eae967ed1a
clang-tidy: apply performance-unnecessary-value-param check
See https://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-value-param.html
2019-02-12 01:00: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
45b4478047 clang-tidy fixes 2019-02-11 17:15:48 +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
ce051e040f
Improve target design 2019-02-10 01:13:02 +01:00
Carles Fernandez
708b288e61
Clean CMake scripts 2019-02-04 22:44:45 +01:00
Carles Fernandez
02996bbc8a
Add some CMake fixes 2019-02-04 20:00:29 +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
c176e51265
Improve data types for GPS navigation messages 2018-12-14 02:31:01 +01:00
Carles Fernandez
432c6b9c70
Miscelaneous clang-tidy fixes 2018-12-14 02:14:43 +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
8925ca7066
Fix building in Mac OS 2018-12-08 19:08:53 +01:00
Carles Fernandez
17260bbcea
Miscelaneous code improvements by clang-tidy 2018-12-08 18:49:31 +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
0d408a6024 clang-tidy: apply modernize-use-auto fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html) 2018-12-03 16:25:11 +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
2614509b29
Fix string comparisons, improve const correctness 2018-12-02 15:52:32 +01:00
Carles Fernandez
3bb47ff755
Improve const correctness, fix string comparisons 2018-12-02 05:29:11 +01:00
Carles Fernandez
87d1413447
Make cmakelint happier 2018-11-24 18:40:34 +01:00
Carles Fernandez
b0ba246934
Apply some style rules to CMake scripts 2018-11-22 00:35:21 +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
e94b2f8990
Remove blanks 2018-11-18 21:24:54 +01:00
Carles Fernandez
573092d033
Download and build PugiXML if not found 2018-11-11 12:27:01 +01:00
Carles Fernandez
571c8c67fd
Improve CMake messages 2018-11-10 19:32:45 +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
337cafb31a
Remove unused function 2018-10-21 12:16:45 +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
78c0b76cb9
Avoid use of GLOB for source and header files 2018-10-04 22:35:44 +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
07b25ebb06 Apply clang-format to the whole source tree 2018-03-04 02:04:27 +01: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
e17f9268a8 Fix warning in GCC 8.0.1 (Fedora Rawhide)
The warning was:

warning: assignment discards 'const' qualifier from pointer target type
[-Wdiscarded-qualifiers]
2018-02-25 13:29:01 +01:00
Carles Fernandez
1b4c217d88 Fix redefinition warning 2018-01-20 12:29:21 +01:00
Carles Fernandez
0315746429 Fix warning 2018-01-20 04:17:50 +01:00
Carles Fernandez
005917ac56 Remove warning 2017-08-26 00:06:18 +02:00
Carles Fernandez
00cc726c12 Remove warning 2017-08-25 23:51:11 +02:00
Carles Fernandez
04d0debfca Remove warning 2017-08-25 23:42:36 +02:00
Carles Fernandez
1a463e9c52 Remove warning 2017-08-25 23:38:44 +02:00
Carles Fernandez
d1429001fc Update per_support files 2017-08-25 22:44:49 +02:00
Carles Fernandez
18c48b30f5 Update per_support files 2017-08-25 22:16:06 +02:00
Carles Fernandez
fe17181af3 Replace some C-style cast by static_cast<>() 2017-08-18 19:15:45 +02: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
174bba55fc Remove blank 2017-08-13 17:32:01 +02:00