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
b5e5277662
Fix random crashes when program ended in macOS
...
The program randomly crashed when destroying the pvt block (EXC_BAD_ACCESS). This didn’t happen on Linux.
Beidou PVT fixes not available in macOS until finding the root cause.
2019-02-18 22:29:50 +01:00
Carles Fernandez
0a1df17cca
Fix building in debug mode
...
Fixes for macOS
2019-02-17 13:36:13 +01:00
Carles Fernandez
b5c59ee6f7
Fix defects detected by Coverity Scan
2019-02-14 22:49: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
dfc963ad86
clang-tidy: apply readability-else-after-return check
...
See https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html
2019-02-11 15:53:50 +01:00
Carles Fernandez
b9c115bdf8
clang-tidy: apply modernize-use-using check
2019-02-11 13:13:06 +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
74950e9856
Set some compile definitions to private
2019-02-05 02:21:56 +01:00
Carles Fernandez
708b288e61
Clean CMake scripts
2019-02-04 22:44:45 +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
c561d7e799
Applying code formatting rules
2019-01-28 02:29:43 +01: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
432c6b9c70
Miscelaneous clang-tidy fixes
2018-12-14 02:14:43 +01:00
Damian Miralles
0d94f9e1b7
bds b1i: some bug corrections in the code
2018-12-13 07:57:42 -07:00
Carles Fernandez
38858dece6
Apply clang-tidy fix readability-non-const-parameter
2018-12-11 12:38:38 +01:00
Carles Fernandez
f351615ef9
Apply clang-tidy fix modernize-use-bool-literals
2018-12-11 12:08:54 +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
81a4d24ae9
Use nullptr
2018-12-07 21:00:30 +01:00
Damian Miralles
352c82827e
bds_b1i: enabling bds processing in rtklib processing
2018-12-05 15:08:22 -07: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
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
9d94910e1b
Fix building
2018-12-03 10:12:38 +01:00
Carles Fernandez
8e79786218
Fix building
2018-12-03 10:12:03 +01:00
Carles Fernandez
0a46cb1fe1
Use nullptr
2018-12-03 10:05:47 +01: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
Damian Miralles
0507febd7f
bds b1i: quick fixes to b1i code, preparing for merge
2018-11-28 14:18:35 -06:00
Carles Fernandez
87d1413447
Make cmakelint happier
2018-11-24 18:40:34 +01:00
Carles Fernandez
4bdb8c3bc4
Fix computation of satellite elevation when using the GPS Almanac
2018-11-22 15:19:36 +01:00
Carles Fernandez
a59ffca8a1
Fix Galileo sats position computation from Almanac data
2018-11-22 11:59:49 +01:00
Carles Fernandez
b0ba246934
Apply some style rules to CMake scripts
2018-11-22 00:35:21 +01:00
Carles Fernandez
d77448cd76
Improve data types for almanac parameters
2018-11-07 22:25:09 +01:00
Javier
01a1954b15
Adding the Hotstart telecommand implementation to predict visible satellites for GPS and Galileo constellations
2018-11-05 17:53:53 +01:00
Damian Miralles
e22f8e57c1
beidou b1i: renaming objects of nav decoding
2018-10-22 15:12:50 -05:00
Damian Miralles
8c16d945f8
beidou b1i: Merging new changes and adding bug fixes to code
2018-10-22 14:16:38 -05:00
Carles Fernandez
4d2f7ef966
Fix computation of velocity in other bands than L1
2018-10-19 10:51:00 +02:00
Carles Fernandez
3d1318a70a
Improve PVT accuracy for GPS L1
2018-10-10 00:17:42 +02:00
Carles Fernandez
98f5507fbb
Remove redefined functions
2018-10-04 23:06:38 +02:00
Carles Fernandez
78c0b76cb9
Avoid use of GLOB for source and header files
2018-10-04 22:35:44 +02:00
Carles Fernandez
8d195e3259
Remove unused variables
2018-08-28 20:20:34 +02:00
Rodrigo Ventura
ad6bbee930
Fix build issue in OS X
...
Define of thread_t to pthread_t in rtklib.h was colliding with system
include in OS X. Not used elsewhere, so find&replaced with pthread_t.
2018-08-23 09:08:31 +01:00
Sergi Segura
fc98fa6afe
cleaning code for gsoc
2018-08-12 23:58:16 +02:00
Carles Fernandez
5c80be5b9e
Set maximum Galileo PRN to 36
2018-07-28 18:32:40 +02:00
Carles Fernandez
5fc1e018fd
Clean source code, update to new gnss_synchro parameter name
2018-06-05 22:53:34 +02:00
Carles Fernandez
fd2e5d9a00
Improve initialization (fix clang warning)
2018-06-03 19:14:56 +02:00
Carles Fernandez
61e9e60477
Improve initializations (fix clang warning)
2018-06-03 14:48:31 +02:00
Carles Fernandez
559cc00bd7
Avoid dereference after null check
2018-05-21 04:05:13 +02:00
Carles Fernandez
f44508b53f
Make Coverity Scan happy
2018-05-19 23:13:50 +02:00
Carles Fernandez
7d4fe83fb6
Make Coverity Scan happy
2018-05-19 22:33:03 +02:00
Carles Fernandez
bf23bc1e3e
Make Coverity Scan happy
2018-05-19 20:56:27 +02:00
Carles Fernandez
2b7ccc11b9
Make Coverity Scan happy
2018-05-19 20:42:50 +02:00
Carles Fernandez
0f4306d0d9
Avoid uninitialized variable
2018-05-19 17:08:13 +02:00
Carles Fernandez
046a24e0ca
Fix typo
2018-05-16 21:51:20 +02:00
Carles Fernandez
835cf3b11e
Rename CMake module for gr-iio to a more consistent name. Minor fixes
2018-05-16 21:33:52 +02:00
Carles Fernandez
1195234df1
Fix warnings raised by GCC 8.1.1
2018-05-16 18:32:27 +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
Antonio Ramos
a421d2fc5a
Minor change
2018-04-03 15:37:26 +02:00
Antonio Ramos
ebb908f2e7
Merge branch 'next' into observables_and_display_color
2018-04-03 11:01:59 +02:00
Carles Fernandez
622a76668d
Fix typos
2018-03-26 00:50:55 +02:00
Carles Fernandez
0400034d14
Fix typos detected by codespell
2018-03-25 19:47:28 +02:00
Antonio Ramos
e94d7296dc
Add warnings to tracking adapters
2018-03-20 12:04:53 +01:00
Antonio Ramos
0057e60924
Clean code
2018-03-12 11:12:41 +01:00
Antonio Ramos
ecb4a4970a
Disable eph update when L1 + L2
2018-03-09 13:05:25 +01:00
Antonio Ramos
93d2fdaf14
debug 9
2018-03-08 18:05:22 +01:00
Antonio Ramos
be5139e5f7
Merge branch 'next' into debug
2018-03-06 16:19:52 +01:00
Antonio Ramos
de3bf9d480
debug8
2018-03-06 15:58:48 +01:00
Antonio Ramos
21fff4e696
Fix CNAV telemetry reader
2018-03-06 13:23:22 +01:00
Antonio Ramos
a25a6fb556
debug 6
2018-03-05 18:34:20 +01:00
Antonio Ramos
8d37013e96
debug 5
2018-03-05 13:07:47 +01:00
Antonio Ramos
7646568314
debug4
2018-03-05 11:05:58 +01: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
Antonio Ramos
3ce49ada96
debug 3
2018-03-02 13:30:21 +01:00
Antonio Ramos
a216d22509
debug2
2018-03-02 11:23:38 +01:00
Antonio Ramos
b3c6d94cb6
debug1
2018-03-02 10:29:43 +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
Antonio Ramos
30362f5d98
Minor changes
2018-02-12 16:52:09 +01:00
Carles Fernandez
efd64532d0
Avoid buffer overflow
2018-02-07 18:36:34 +01:00
Carles Fernandez
96af5fc6e6
Avoid potential overflow
2018-02-03 11:11:05 +01:00
Carles Fernandez
b301ed19c6
Merge remote-tracking branch 'upstream/next' into glonass
2018-01-24 00:52:09 +01:00
Antonio Ramos
52aabf05c1
Fix GPS L5
2017-12-15 10:57:12 +01:00
Antonio Ramos
26a521907a
Minor changes
2017-12-12 17:59:13 +01:00
Carles Fernandez
7ac5e7c833
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass
2017-12-02 13:48:45 +01:00
Antonio Ramos
140b388066
Modify RTKLIB PVT band selection and Tel. Dec. E5a
2017-11-29 12:00:05 +01:00
Carles Fernandez
4f9d6afd7d
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into dmiralles2009-glonass_dec
2017-11-03 16:30:24 +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
Carles Fernandez
ffde1309b9
Fix compilation error
2017-10-31 11:23:41 +01:00
Carles Fernandez
16c0d5a2c8
Small fix
2017-10-31 07:23:43 +01: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