1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-09-28 15:08:51 +00:00
Commit Graph

446 Commits

Author SHA1 Message Date
Carles Fernandez
8a06981c16
Improve const correctness 2020-07-20 01:20:15 +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
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
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
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
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
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
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
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
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
f6bcc27508
Apply clang-format and clang-tidy 2019-11-24 13:06:32 +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
85c4786528 Apply clang-format 2019-11-05 14:43:41 +01:00
Cillian O'Driscoll
828d3cd525 [WIP] Adding velocity and clock drift 2019-11-05 09:17:41 +00:00
Carles Fernandez
b17e58ed5a
Cosmetic changes 2019-11-02 12:23:28 +01: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
5fc16677ed Fix triple-band RINEX obs when not all signals are present 2019-09-17 16:43:08 +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
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
a0eaa67d7d
code cleaning 2019-08-17 15:47:20 +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
ad617a0c26
Fix receiver reference number in comments 2019-08-14 10:14:43 +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
a4d6800e22
Update copyright year
Applied on files changed since last release
clang-format applied
2019-07-26 12:38:20 +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
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
cd54aca1e2
Fix BeiDou B1I RINEX annotation 2019-07-12 11:35:01 +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
81ad7484bd
Merge branch 'next' into bds_b3i_bug_fix 2019-07-10 09:21:54 -05: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
Damian Miralles
450bdeda7f
rinex: Adding combined receiver types supporting BDS satellites
Adds support for RINEX v3.02 for BDS satellites by creating receiver types that
 combine GPS+BDS, BDS+GLO, and BDS+GAL.
2019-06-28 11:25:39 -05:00
Carles Fernandez
ee9e7493ae
Add annotation rate parameter for KML, GPX, GeoJSON and NMEA outputs (default: 1s) 2019-06-16 20:27:00 +02:00
Carles Fernandez
8d424a13b6
Replace boost::filesystem by std::experimental::filesystem when the later is available 2019-06-12 20:39:29 +02:00
Carles Fernandez
ca6b4b545b
Replace Boost::filesystem by std::filesystem if C++17 support is available 2019-06-10 21:41:13 +02:00
Carles Fernandez
def5cb34d7
Improve comments in source code 2019-05-10 21:24:24 +02:00
Carles Fernandez
b676fd7a1d
Fixes in RINEX files and RTCM messages related to time 2019-05-10 20:50:49 +02:00
Carles Fernandez
eff3513029
Fix RINEX annotations in GPS L1 around Saturday midnight
Only annotate navigation data when Toe changes
2019-05-10 14:57:16 +02:00
Carles Fernandez
25d1c02aa2
Add default case to switch 2019-05-08 08:24:13 +02:00
Carles Fernandez
76b3b932eb
Fix RINEX nav annotations 2019-05-07 18:52:08 +02:00
Carles Fernandez
950b4b607a Do not repeat annotations in RINEX navigation files 2019-05-07 16:39:06 +02:00
Carles Fernandez
c6ca9f2d2c
Fix display_rate_ms parameter 2019-05-07 08:34:10 +02:00
Javier Arribas
485027b7af Implementing RX clock correction feedback in PVT and Observables 2019-04-23 17:31:26 +02:00
Carles Fernandez
6c9154aede
Expose usage of Protocol Buffers to the configuration 2019-04-21 13:30:59 +02:00
Carles Fernandez
994f192636
Fix warning if put_time is not present 2019-03-19 21:11:21 +01:00
Damian Miralles
10910269f4
Merge branch 'next' into bds_b3i. Keep code up to date 2019-03-17 18:58:44 -05:00
Carles Fernandez
99c616e902
Use lowercase for test name 2019-03-17 10:27:30 +01:00
Damian Miralles
3f274e40d1
bds_b3i: Fixes bug with D2 data decoding in pvt computation 2019-03-16 20:57:28 -05:00
Carles Fernandez
4c71864319
Fix for gcc < 5.0 2019-03-16 20:30:38 +01:00
Carles Fernandez
7c78db4550
Handle the situation when UTC info is not available 2019-03-16 12:47:36 +01:00
Carles Fernandez
b6141fb3b2
Add show_local_time_zone parameter for PVT
PVT.show_local_time_zone=true shows local time in terminal
2019-03-15 13:31:18 +01:00
Damian Miralles
2b4a395dc8 bds_b3i: merging new changes, fixing D2 decoding bug 2019-03-07 09:38:49 -06:00
Carles Fernandez
c938093f6d
Improve includes (IWYU) 2019-03-05 19:31:41 +01:00
Carles Fernandez
c82c7225dd Improve includes with the aid of include-what-you-use (IWYU)
See rationale at https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/WhyIWYU.md
2019-03-05 08:59:04 +01:00
Carles Fernandez
6ba77c5f28
Sort includes: include what you use 2019-03-04 08:12:50 +01:00
Carles Fernandez
e7ea5c1fdd
Remove superfluous 'using google::LogMessage' 2019-03-03 13:39:35 +01:00