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

874 Commits

Author SHA1 Message Date
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