1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-07-01 09:23:15 +00:00
Commit Graph

928 Commits

Author SHA1 Message Date
Carles Fernandez
5713d8b2ad
Make clang-tidy happy 2020-08-09 14:03:53 +02:00
Carles Fernandez
47f6855610
Give more intuitive naming to asynchronous message handlers 2020-08-03 08:13:21 +02:00
piyush0411
7b8a23f628 Modified PVT Block 2020-07-31 21:28:57 +05:30
Carles Fernandez
0b1befd128
hotfix: fix Uhd_Signal_Source building with GCC 10
Fix out-of-bound access in debug mode
2020-07-29 13:47:00 +02:00
Carles Fernandez
499de7a9f1
Update file headers 2020-07-28 16:57:15 +02:00
Carles Fernandez
406b799168
Remove unused include 2020-07-27 08:23:30 +02:00
Carles Fernandez
f5e76e7613
Improve const correctness in PVT libs 2020-07-26 23:56:36 +02:00
Carles Fernandez
23c2dab8b7
Uniformize usage of range for loops 2020-07-21 23:18:43 +02:00
Carles Fernandez
399903e491
Remove old, unused code 2020-07-21 13:12:57 +02:00
Carles Fernandez
8a06981c16
Improve const correctness 2020-07-20 01:20:15 +02:00
Carles Fernandez
4ab7690085
Fix bug in GLONASS year computation (Fixes: #347) 2020-07-19 14:44:18 +02:00
Carles Fernandez
c0f81dd9e2
Improve const correctness. Improve usage of typeid 2020-07-19 09:39:32 +02:00
Carles Fernandez
ebd83c4cbe
Improve const correctness
Fix a bug that made the parameter PVT.nmea_dump_devname ignored
Update changelog
2020-07-17 10:48:37 +02:00
Carles Fernandez
da9795c7a1
Update BeiDou satellite list 2020-07-12 13:56:36 +02:00
Carles Fernandez
47f0fe340f
Fix for GCC 2020-07-12 13:05:21 +02:00
Carles Fernandez
c178d9a8a6
Remove Armadillo from Pvt_Solution API
Some API cleaning. The user does not need to call cart2geo anymore. Armadillo stuff moved to old ls_pvt solution
2020-07-12 12:42:06 +02:00
Carles Fernandez
c04948fd02
Reduce number of warnings raised by bugprone-* clang-tidy checks 2020-07-10 00:37:55 +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
d3b7557dcf
Sort constants
no more GPS_L1_PI, GPS_L2_PI, etc. Values are written in a single point.
2020-07-05 20:20:02 +02:00
Carles Fernandez
2b3d4b321d
Make the adapters take the configuration pointer as const 2020-06-29 09:07:41 +02:00
Carles Fernandez
660dd594dc
Return the right item_size 2020-06-25 14:54:01 +02:00
Carles Fernandez
63b7c00b16
Sort private members in headers 2020-06-25 11:58:01 +02:00
Carles Fernandez
5a3db5a53d
Add debug internal logging for destructors. Sort destructor order 2020-06-25 02:50:07 +02:00
Carles Fernandez
d2a90370d5
Sort private members 2020-06-24 11:34:14 +02:00
Carles Fernandez
037a1fcb5f
Improve headers, large data members first. Improve nav message interfaces 2020-06-23 09:47:58 +02:00
Carles Fernandez
0d5b5894b4
Sort header files 2020-06-19 12:39:28 +02:00
Carles Fernandez
8abcc2e24b
Indicate with a prefix the private data members for clarity 2020-06-19 01:36:36 +02:00
Carles Fernandez
b08082e1be
Raw pointer interface for the Monitor_Pvt sink 2020-06-18 20:40:53 +02:00
Carles Fernandez
81af1a531b
Redesign of pointer management
Avoid indirection caused by passing shared_ptr by reference

The block factory does not have responsability on the lifetime of their inputs

Define std::make_unique when using C++11 and make use of it

Printers are turned into unique_ptr to express ownership

Printers do not participate on the lifelime of the data, so they take const raw pointers

Modernize tests code
2020-06-18 11:49:28 +02:00
Carles Fernandez
bd4a354f9a
Fix ENABLE_CLANG_TIDY option 2020-06-14 13:00:36 +02:00
Carles Fernandez
0df4277d36
Unify criteria in target definitions, more informative names 2020-06-13 00:32:40 +02:00
Carles Fernandez
d14e69ef5a
Do not pollute the source directory if the software is built from an out-of-source-tree directory
External sources and data are now always stored in a ./thirdparty folder under the building directory.

A copy of the generated binaries will be stored under gnss-sdr/install, if the building directory is inside the source tree, or in an ./install folder under the building directory if it is outside the source tree.
Fix a bug that broke compilation if the user configured the building without extra testing in a first instance, and then switched the testing buiding options to ON in a later build.

Fix extra test building if GPSTk was already installed and Boost >= 1.71
2020-06-12 20:51:26 +02:00
Carles Fernandez
034d25c8d3
Do not emit warnings due to Protocol Buffers generated code 2020-06-11 15:16:40 +02:00
Carles Fernandez
2a3d682f1f
Make use of target_sources(), make use of target propagation to reduce redundancy in dependencies, some fixes for Clang and CMake < 3.11. Use generic lambdas with auto 2020-06-08 20:04:01 +02:00
Carles Fernandez
2f3f63309b
Fix for GCC 4.9 using std::array instead of char array 2020-05-30 09:40:20 +02:00
Carles Fernandez
0897811d16
Fix for GCC 4.9 2020-05-29 09:46:30 +02:00
Carles Fernandez
8c2d1d6ad1
Initialize buffer 2020-05-29 01:23:24 +02:00
Carles Fernandez
eef5cadab0
Fix deprecated enum usage 2020-05-28 23:27:36 +02:00
Carles Fernandez
f731a7c0f1
Fix for Boost >= 1.73 in old compilers 2020-05-18 22:50:34 +02:00
Carles Fernandez
1077970962
Revert "Fix for Boost < 1.60"
This reverts commit 832c2558c6.
2020-05-18 21:36:22 +02:00
Carles Fernandez
832c2558c6
Fix for Boost < 1.60 2020-05-18 19:55:44 +02:00
Carles Fernandez
b408a2ef29
Fix for Boost 1.73: qualify placeholders with their full namespace 2020-05-18 18:58:39 +02:00
Carles Fernandez
35ee34673a
Fix signature of copy and move operators 2020-05-16 14:39:34 +02:00
Carles Fernandez
0164d8b37c
Fixes for old GCC 2020-04-26 12:35:08 +02:00
Carles Fernandez
9c9a7b5bc6
Use lambda instead of boost::build when genenic lambdas are available in the compiler 2020-04-25 22:17:15 +02:00
Carles Fernandez
865a54ddff
Apply clang-format 2020-04-03 00:17:22 +02:00
Carles Fernandez
3519107131
Add compatibility with the new GNU Radio 3.9 API that uses C++11 standard smart pointers instead of Boost smart pointers 2020-04-02 23:59:35 +02:00
Carles Fernandez
5f974a8f17
Replace boost::shared_ptr by std::shared_ptr 2020-04-02 13:23:20 +02:00
Carles Fernandez
f233184a31
Fix receiver if the System V message queue is not available (Fixes: #361) 2020-03-10 19:56:47 +01:00
Javier
e4dd4349c6 Fixed Carrier phase observable initialization. GNSS-SDR Observables quality verified with RTK positioning modes using RINEX files 2020-03-07 12:57:48 +01:00
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
10fc3fc48e
Add missing dependency 2020-02-12 08:30:25 +01:00
Carles Fernandez
2ded19342f
Improve headers 2020-02-12 00:04:29 +01:00
Carles Fernandez
d65daac971
Code formatting (cpplint.py --filter=-,+whitespace/tab,+whitespace/comments) 2020-02-11 21:47:13 +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
3a3d26fb0c Merge branch 'no-steering' into next 2020-02-06 17:25:01 +01:00
Carles Fernandez
93b210c142 Disable clock steering by default 2020-02-06 17:24:30 +01:00
Javier
18a5b917c4 Adding carrier phase observable initialization to match the pseudorange length 2020-02-06 16:56:42 +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
f6bcc27508
Apply clang-format and clang-tidy 2019-11-24 13:06:32 +01:00
Carles Fernandez
acfc6f7903
Initialize all members 2019-11-23 19:26:01 +01:00
Cillian O'Driscoll
a1df1eeb9c Fix missing factor two pi in clock correction
This was leading to large code/carrier divergence in the rinex output
2019-11-08 14:21:46 +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
4e5a8885b1
Document triple-band modes in comments 2019-11-03 13:13:47 +01:00
Carles Fernandez
b17e58ed5a
Cosmetic changes 2019-11-02 12:23:28 +01: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
Carles Fernandez
ddaf923090
Fix GLONASS, Beidou B3I and L5+E5a RINEX files generation 2019-09-15 18:10:05 +02:00
Carles Fernandez
c7c50c37db
Fix RINEX nav in L5+E5a receiver 2019-09-14 19:25:33 +02:00
Carles Fernandez
73b49b979d
More fixes to the generation of RINEX navigation files 2019-09-14 11:57:08 +02:00
Carles Fernandez
edf852299a
Improve generation of RINEX Nav files in some configurations 2019-09-14 10:40:29 +02:00
Carles Fernandez
d116287dca
Fix RINEX navigation files annotations in some configurations 2019-09-13 18:40:41 +02:00
Carles Fernandez
a4593a86bb
Merge branch 'rinex-triple' into next 2019-09-13 17:52:10 +02:00
Carles Fernandez
24068bdf11
Print RINEX files for GPS L1+L2+L5 receiver 2019-09-13 17:49:22 +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
b674c0e243
Write RINEX files for triple-band, dual-system receiver 2019-09-13 16:30:00 +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
Carles Fernandez
7f18fce958
Fix typo 2019-09-07 10:08:29 +02:00
Carles Fernandez
9cb1beffa4
Clean formatting 2019-09-06 18:39:03 +02:00
Javier Arribas
6fe7ec9d71 Fix last commit 2019-09-06 18:19:40 +02: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
ad617a0c26
Fix receiver reference number in comments 2019-08-14 10:14:43 +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
041a34ecf9
Fix granurality of output_rate_ms to 20 ms 2019-08-02 11:44:51 +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
Carles Fernandez
a204278490
Merge branch 'obs_jump_fix' of https://github.com/gnss-sdr/gnss-sdr into raspi 2019-08-01 19:24:00 +02:00
Carles Fernandez
850c93798e
Avoid stack overflow in rtklib_solver 2019-08-01 19:23:38 +02:00
Javier Arribas
f2becaa7b9 Final bug fix for the observables clock correction jumps 2019-08-01 18:11:36 +02:00
Javier Arribas
9eac73630a Add clock correction + interpolation to annotated observables 2019-07-31 18:16:09 +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