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
4784a58af0
Remove unused definitions
2019-02-18 22:20:32 +01:00
Carles Fernandez
b5c59ee6f7
Fix defects detected by Coverity Scan
2019-02-14 22:49:36 +01:00
Carles Fernandez
719af13a33
Remove google-runtime-references check
2019-02-14 12:51:43 +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
5b50e74ca8
clang-tidy: apply performance-for-range-copy check
...
See https://clang.llvm.org/extra/clang-tidy/checks/performance-for-range-copy.html
2019-02-12 01:25:27 +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
ca2e22cd9f
Replace boost::lexical_cast<std::string> by std::to_string
2019-02-11 00:38:44 +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
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
f1bb647124
Remove commented line
2019-02-10 00:53:08 +01:00
Carles Fernandez
59841057e9
Improve consistency in header guard names
2019-02-10 00:16:57 +01:00
Carles Fernandez
ae005c62f2
Reorder libraries
2019-02-07 22:44:31 +01:00
Carles Fernandez
74950e9856
Set some compile definitions to private
2019-02-05 02:21:56 +01:00
Carles Fernandez
dfab84b2de
Add fixes applied by clang-tidy
2019-02-05 01:31:09 +01:00
Carles Fernandez
a8b1432c1b
Merge branch 'monitor-pvt' of https://github.com/acebrianjuan/gnss-sdr into acebrianjuan-monitor-pvt
2019-02-05 00:18:20 +01:00
Álvaro Cebrián Juan
f635580e31
Add PVT Monitor
2019-02-04 23:03:10 +01:00
Carles Fernandez
708b288e61
Clean CMake scripts
2019-02-04 22:44:45 +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
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
0c4b8b25f1
bds_b1i: Adding new tel dec block structure
2018-12-23 12:51:28 -06:00
Damian Miralles
42b506d0bb
bds b1i: Merging latest changes from upstream/next
2018-12-18 15:55:36 -06:00
Carles Fernandez
95c6bb4dd1
Remove redundant c_str()
2018-12-14 13:38:29 +01:00
Carles Fernandez
da2d12dd05
Supress lintian complaint
2018-12-14 13:33:52 +01:00
Carles Fernandez
27b7a93181
Apply clang-tidy fix readability-container-size-empty
2018-12-11 12:25:38 +01:00
Carles Fernandez
b80f22fc43
Use a std::array instead of a c array
2018-12-11 12:02:19 +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
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
b5c0cc04e5
clang-tidy: apply modernize-raw-string-literal fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-raw-string-literal.html )
2018-12-03 17:04:16 +01:00
Damian Miralles
e40999572f
bds b1i: Bug fixes in navigation code
...
Fixes bugs with the conversion to rtklib standard from gnss-sdr.
2018-12-03 09:39:39 -06: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
0a46cb1fe1
Use nullptr
2018-12-03 10:05:47 +01:00
Carles Fernandez
d4e12648b0
Fix warning (missing initializer for struct members)
2018-12-03 02:10:14 +01:00
Carles Fernandez
f7df714a7f
Fix string comparisons, improve const correctness
2018-12-02 15:42:38 +01:00
Carles Fernandez
3bb47ff755
Improve const correctness, fix string comparisons
2018-12-02 05:29:11 +01:00
Damian Miralles
287c93e5b8
bds b1i: Adds B1I RINEX support
...
Adds RINEX support for B1I only signals. It also fixes a couple of bugs
with the code. This was not properly developed during GSoC
2018-11-30 09:25:48 -06:00
Damian Miralles
8db3f21070
bds b11: Get latest changes and add bds functions in rtk module
...
Merge branch 'next' into bds_b1i. Also fixes multiple bugs with the
addition of bds b1i signals into code. Major changes where fixed and
code to support RINEX and RTCM is needed
2018-11-29 09:56:54 -06: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