1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-27 23:43:16 +00:00
Commit Graph

617 Commits

Author SHA1 Message Date
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
86a1dc5ca3 Add new conf parameter PVT.rinex_name to specify a custom name for generated RINEX files.
A command-line flag --RINEX_name, which overrides the configuration if defined, is also available
2020-02-25 14:43:15 +01:00
Carles Fernandez
2ded19342f
Improve headers 2020-02-12 00:04:29 +01:00
Carles Fernandez
dfc02b2e5c Sort dependencies, remove unused ones 2020-02-11 17:27:54 +01:00
Carles Fernandez
955348b080
Remove trailing underscore in header guards 2020-02-08 10:10:46 +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
d6ec2a7b2c
Update links (mainly from http to https, fix broken links) 2020-02-05 21:24:46 +01:00
Carles Fernandez
e75a1f19d6
Update links 2020-02-05 10:20:32 +01:00
Carles Fernandez
c00cd6bba0 Set RTCM parameter half_cycle_ambiguity_indicato (DF420) to false 2020-01-29 10:42:16 +01:00
Carles Fernandez
9023f19794
Use C++ comments for final #endif in headers 2020-01-26 22:23:22 +01:00
Carles Fernandez
dc3bf0172a
Update references and links to ICDs 2020-01-25 13:07:03 +01:00
Carles Fernandez
bc9725c745
Simplify cmake scripts, fix volk_gnsssdr cross-compilation, update ProtocolBuffers to 3.11.2 2020-01-13 01:49:00 +01:00
Carles Fernandez
acfc6f7903
Initialize all members 2019-11-23 19:26:01 +01:00
Carles Fernandez
4ac164a176 Merge branch 'odrisci-add_clock_drift' into next 2019-11-05 14:44:18 +01:00
Carles Fernandez
85c4786528 Apply clang-format 2019-11-05 14:43:41 +01:00
Carles Fernandez
f3de26ceec Apply clang-tidy 2019-11-05 12:42:56 +01:00
Cillian O'Driscoll
2a57b6e8d5 Added user_clk_drift_ppm to monitor_pvt 2019-11-05 09:45:11 +00:00
Cillian O'Driscoll
828d3cd525 [WIP] Adding velocity and clock drift 2019-11-05 09:17:41 +00:00
Cillian O'Driscoll
f9f7884d05 Applied clang-format to the previous commit 2019-11-05 09:17:41 +00:00
Cillian O'Driscoll
216e8dfa26 Added velocity and clock drift to PVT
Interestingly RTKLIB does not store the clock drift in its sol_t
datatype, so I added this to the unused element dtr[5]. This may not be
compatible with future versions of RTKLIB.

Here we store velocity in ENU coordinates and the clock drift in parts
per million (PPM)
2019-11-05 09:17:41 +00:00
Carles Fernandez
7126185515
Add and apply readability-braces-around-statements check 2019-10-11 19:24:20 +02:00
Carles Fernandez
a64d3c282f
Improve thread management 2019-09-29 13:01:13 +02:00
Carles Fernandez
43eafdd484
Improve documentation 2019-09-28 01:16:25 +02:00
Carles Fernandez
0c2efce10a Replace custom_year parameter name and type by bool pre_2009_file to process files dated from 1999 to 2009 2019-09-18 18:25:07 +02:00
Carles Fernandez
57d6ba7404 Fix week in GPS RINEX navigation files 2019-09-18 11:20:20 +02:00
Carles Fernandez
5fc16677ed Fix triple-band RINEX obs when not all signals are present 2019-09-17 16:43:08 +02:00
Carles Fernandez
837dcc6859 Improve formatting 2019-09-17 16:25:17 +02:00
Javier
cf3a0e4006 Use GNSS-SDR custom_year config parameter (if set) also in RINEX printers 2019-09-13 17:35:53 +02:00
Javier
ad51654fbf Adding global configuration option to specify a custom year in order to postprocess old GNSS captures and avoid wrong week rollover 2019-09-13 16:36:41 +02:00
Carles Fernandez
e80122f4ff
Apply clang tidy checks and clang-format 2019-09-13 08:56:37 +02:00
Carles Fernandez
0520d400b3 Apply clang-tidy 2019-09-11 22:31:34 +00:00
Javier Arribas
889e7b9695 Adding configuration option to disable PVT observables clock correction 2019-09-06 18:02:40 +02:00
Carles Fernandez
df05c7418e
Fix bugprone-too-small-loop-variable clang-tidy check warnings 2019-08-24 17:34:12 +02:00
Carles Fernandez
d9a655efce
Avoid truncation or bad formatting in message header 2019-08-24 12:16:41 +02:00
Carles Fernandez
54e9b07699
Avoid Wformat-truncation warning 2019-08-24 11:07:10 +02:00
Carles Fernandez
09cbfed4ac
Fix string truncation 2019-08-24 09:47:53 +02:00
Carles Fernandez
95f688dcb0
Mark all constructors callable with one argument as explicit 2019-08-23 21:25:44 +02:00
Carles Fernandez
7e16077526
Remove all sprintf usages
Replaced by std::snprintf
2019-08-23 20:48:52 +02:00
Carles Fernandez
d4bb6e5731
Always have a space between // and comment 2019-08-18 22:16:13 +02:00
Carles Fernandez
4dd8aa12b4
Replace C style casts by C++ casts 2019-08-18 12:54:16 +02:00
Carles Fernandez
a0eaa67d7d
code cleaning 2019-08-17 15:47:20 +02:00
Carles Fernandez
c31d9dea40
Fix errors risen by include_what_you_use 2019-08-17 13:56:54 +02:00
Carles Fernandez
874c92351c
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2019-08-17 03:14:13 +02:00
Javier Arribas
e6af1a7e44 Simplifiying the RTKLIB error log and avoid msg repetitions 2019-08-16 18:24:01 +02:00
Carles Fernandez
24570f8a08
Fix performance-inefficient-string-concatenation clang-tidy warning 2019-08-16 16:03:10 +02:00
Carles Fernandez
151a52d3d6
Move default constructor to header file 2019-08-14 01:17:47 +02:00
Carles Fernandez
4560712791
Apply modernize-use-default-member-init and readability-redundant-member-init clang-tidy checks 2019-08-14 00:56:53 +02:00
Carles Fernandez
487010346f
Apply readability-isolate-declaration clang-tidy check 2019-08-13 00:19:31 +02:00
Carles Fernandez
3e3af9de5a
Add new configuration option ENABLE_ARMA_NO_DEBUG
When enabled, defines the ARMA_NO_DEBUG macro in Armadillo, disabling bound checking.
Disabled by default, but it is set automatically to ON if ENABLE_PACKAGING is set to ON
2019-08-12 11:33:51 +02:00
Carles Fernandez
070996cdb4
Apply clang-tidy check readability-else-after-return 2019-08-04 13:15:03 +02:00
Carles Fernandez
687e3b2e47
Revert "Revert "Remove unused variable""
This reverts commit 68afadab74.
2019-08-02 07:42:25 +02:00
Carles Fernandez
68afadab74
Revert "Remove unused variable"
This reverts commit c8a03dc4af.
2019-08-01 22:03:04 +02:00
Carles Fernandez
8cb2563341
Move obs_data to private member, so we ask for memory only once 2019-08-01 21:10:02 +02:00
Carles Fernandez
c8a03dc4af
Remove unused variable 2019-08-01 20:12:53 +02:00
Carles Fernandez
e686c38353
Code formatting, adapt overflow fix to new variable name 2019-08-01 20:09:35 +02:00
Javier Arribas
f2becaa7b9 Final bug fix for the observables clock correction jumps 2019-08-01 18:11:36 +02:00
Carles Fernandez
cdfe4c43d9 Revert "Remove unused public member"
This reverts commit 1f476957e3.
2019-07-31 10:21:32 +02:00
Carles Fernandez
1f476957e3
Remove unused public member 2019-07-30 08:06:05 +02:00
Carles Fernandez
89632374a0
Fix runtime error in ARM architectures 2019-07-29 21:51:47 +02:00
Carles Fernandez
4933ae3e0d
No Armadillo bound checking if compiled in Release mode 2019-07-29 21:22:44 +02:00
Carles Fernandez
271399fc22
Fix bug: avoid RTKLIB memory corruption
Avoid alloc-dealloc-mismatch caused by uniqnav
Reserve memory for get_PVT as std::arrays in header file, so we do not have to ask for new memory each time we execute get_PVT
Remove unused public member count_valid_position
2019-07-28 13:59:29 +02:00
Carles Fernandez
9f8f9e8af9
Apply code cleaning before release 2019-07-28 12:01:11 +02:00
Carles Fernandez
712d9ff06b
Code uniformization 2019-07-26 15:48:29 +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
342485d28d
Remove unused private members 2019-07-25 21:34:42 +02:00
Carles Fernandez
09b6b2305e
Handle redefinition of Boost_VERSION variable in CMake 3.15
See Policy CMP0093 https://cmake.org/cmake/help/v3.15/policy/CMP0093.html#policy:CMP0093
CMake 3.15 policies enabled by default (see https://cmake.org/cmake/help/v3.15/manual/cmake-policies.7.html#manual:cmake-policies(7) )
2019-07-22 14:13:57 +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
Javier Arribas
1313edd716 Partial implementation of the new event queue and its dependencies. Still NOT usable 2019-07-16 17:41:12 +02:00
Javier Arribas
cae1c5a73a Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into newsatdispatcher 2019-07-16 12:29:20 +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
Javier Arribas
1961766863 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into newsatdispatcher 2019-07-15 12:07:55 +02:00
Carles Fernandez
7436188f34 Remove unused variable 2019-07-15 12:00:11 +02:00
Carles Fernandez
e820eb0bc4 Revert "Keep eph_data and geph_data as std::array"
This reverts commit d07a2c2a80.
2019-07-15 11:57:32 +02:00
Javier Arribas
2238a2194d Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into newsatdispatcher 2019-07-15 11:32:52 +02:00
Carles Fernandez
d07a2c2a80 Keep eph_data and geph_data as std::array
std::vector has more overhead that is not needed here.
Remove usused variable sat
2019-07-15 10:07:15 +02:00
Carles Fernandez
0e54fad652 Merge branch 'bds_fix' of https://github.com/dmiralles2009/gnss-sdr into dmiralles2009-bds_fix 2019-07-15 09:48:31 +02:00
Damian Miralles
410269069a
bds: Bug fixes in carrier wavelength computation
Changed wavelength computation to native method within RTKLIb. The native method
 should also help in the PVT computation of GLONASS satellites as it considers
the freq. offset when computing the wavelength. This also fixes typo in tracking
 stage for MEO satellites of the BDS constellation.

Note: A similar approach to carrier wavelength computation should be applied to
the obs_data in rtk_solver. In theory, static allocation should not be needed for
the types.
2019-07-14 20:09:52 -05: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
fa549b09a2
Do not produce empty files 2019-07-13 23:05:57 +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
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
Damian Miralles
00805d4b2f
Updating branch contents 2019-07-10 13:13:01 -05:00
Damian Miralles
b262c58aa8
bds: Add unified trk startegy to deliver 1 symbol per sample
This works builds up upon J. Arribas work for unified symbol dec in tracking.
Fixes a couple of bugs with PVT code and adds new code for RINEX functions. Adds
 cosmetic fixes to the code with unused variables.
2019-07-10 12:52:40 -05:00
Damian Miralles
c2f4b39bb2
bds: removal of unused fields 2019-07-10 10:49:41 -05:00
Damian Miralles
81ad7484bd
Merge branch 'next' into bds_b3i_bug_fix 2019-07-10 09:21:54 -05:00
Carles Fernandez
5c07423f68 Add leap second info to RTKLIB solver 2019-07-10 15:16:12 +02:00
Carles Fernandez
880818d420 Inject Iono and UTC data into RTKLIB solution 2019-07-10 12:59:39 +02:00
Carles Fernandez
6cc1de7118
File cleaning 2019-07-07 21:44:58 +02:00
Carles Fernandez
29a910df30
Simplify initializations 2019-07-07 19:56:23 +02:00
Carles Fernandez
5f1779c15b
Remove test for speed 2019-07-06 13:55:19 +02:00
Carles Fernandez
755dd7901f
Add copy constructor, move constructor and move assignment operator. Fix memory leak 2019-07-05 16:13:35 +02:00
Carles Fernandez
4de86b1f8a
Use std::array instead of pointers and memcpy 2019-07-03 23:47:42 +02:00
Damian Miralles
6ba57f0e12
bds_b3i: fixing pvt computation for bds b3i single freq solution 2019-07-02 18:57:44 -05:00
Carles Fernandez
018cde8953
Write public interface first, then private members in class definitions 2019-07-01 23:44:42 +02:00