1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-30 17:03:15 +00:00
Commit Graph

549 Commits

Author SHA1 Message Date
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
Carles Fernandez
ce1e160f10
Remove deletes when using Matio 2019-06-30 14:32:40 +02:00
Carles Fernandez
d5e5e5725d
Apply fixes by clang-tidy 2019-06-30 00:01:54 +02:00
Carles Fernandez
b6e9ba5877
Improve const correctness 2019-06-29 22:04:03 +02:00
Carles Fernandez
c37b3e00b5
Use uppercase literal suffix 2019-06-29 14:22:15 +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
1cd7ca301d
Use std::array for compile-time bound checking 2019-06-28 12:26:09 +02: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
Javier Arribas
e3be903b3c Fix RX time correction in Galileo-only or in mix GPS and Galileo configurations 2019-06-12 16:29:12 +02:00
Carles Fernandez
d89710e375 Reset existing mask (fix warning) 2019-06-11 10:42:58 +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
59494034d8
Better fix for Boost Asio and string_view issue in macOS 2019-05-26 02:09:53 +02:00
Carles Fernandez
a1f77607c3
Fix building in some macOS configurations 2019-05-16 20:49:10 +02:00
Carles Fernandez
15c109299c Remove repeated line which caused a wrong annotation in navigation data files using GPS L2C or L5 2019-05-14 15:29:30 +02:00
Javier Arribas
78311a6dd6 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tow_crossover 2019-05-13 12:28:44 +02:00
Javier Arribas
33636758f1 Moving TOW crossover GPS time adjustment to convenient location 2019-05-13 12:13:35 +02:00
Carles Fernandez
388c93c4dc
Fix error in serialization 2019-05-10 21:34:42 +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
Javier Arribas
87e30c2fcb Fix TOW week crossover in PVT time prints and rinex obs prints 2019-05-09 18:05:46 +02:00
Carles Fernandez
6a6ec19b63
Fix building with Boost 1.65.1 (Ubuntu 18.04) 2019-05-08 21:35:15 +02:00
Carles Fernandez
a5f9c3ac36
Merge remote-tracking branch 'cf/io-service' into next
Replace boost::asio::io_service (deprecated since Boost 1.66) by boost::asio::io_context when Boost is 1.66 or above.

boost::asio::io_service is now deprecated and eventually will be removed from future Boost versions. This fix avoids a future compilation break.
2019-05-08 20:42:08 +02:00
Carles Fernandez
5563e609ec Fix identification of Boost version 2019-05-08 19:28:53 +02:00
Carles Fernandez
214c9d5de0 Fix building for Boost < 1.66 2019-05-08 16:15:59 +02:00
Carles Fernandez
1d97fa4e61 Fix week rollover in RTCM messages 2019-05-08 15:26:53 +02:00
Carles Fernandez
40f0a93695 Replace boost::asio::io_service (deprecated since Boost 1.66) by boost::asio::io_context 2019-05-08 15:23:55 +02:00
Carles Fernandez
950b4b607a Do not repeat annotations in RINEX navigation files 2019-05-07 16:39:06 +02:00
Carles Fernandez
16f9e623c1
Fix wrong comparison 2019-04-29 19:04:07 +02:00
Carles Fernandez
4bb1872e17 Fix date in RINEX annotations beyond the rollover 2019-04-29 17:23:09 +02:00
Carles Fernandez
31f9a87ee4
Emit mat file generation message only if there is data to save 2019-04-26 09:02:03 +02:00
Carles Fernandez
6c9154aede
Expose usage of Protocol Buffers to the configuration 2019-04-21 13:30:59 +02:00
Carles Fernandez
347d212d6c
Serialize Monitor_Pvt data with Protocol Buffers 2019-04-20 18:50:22 +02:00
Carles Fernandez
77851e5589
BeiDou B3I bug fixes (credits to dmiralles2019) 2019-03-26 22:34:08 +01:00
Damian Miralles
1a2d90a8f1
bds_b3i: fixing bugs in pvt computation 2019-03-26 22:15:31 +01:00
Carles Fernandez
ed9aaf86ce
Fix building, apply formatting 2019-03-18 08:43:38 +01:00
Damian Miralles
10910269f4
Merge branch 'next' into bds_b3i. Keep code up to date 2019-03-17 18:58:44 -05: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
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
Carles Fernandez
b4d7716d19
Insert blank lines for doc readability 2019-03-14 19:16:51 +01:00
Damian Miralles
dc65760122
bds_b3i: Updating branch with new changes from upstream repo 2019-03-12 10:54:17 -05:00
Carles Fernandez
5940187019
Fix Doxygen annotations 2019-03-10 19:19:07 +01:00
Damian Miralles
2b4a395dc8 bds_b3i: merging new changes, fixing D2 decoding bug 2019-03-07 09:38:49 -06:00
Carles Fernandez
dd7a52c93b
Fix headers 2019-03-06 21:54:39 +01:00
Carles Fernandez
8ac42c24b7 Improve includes (IWYU) 2019-03-06 18:45:27 +01:00
Carles Fernandez
2dfc95ae52 Improve includes (IWYU) 2019-03-06 16:56:55 +01:00
Carles Fernandez
502bf32d83 Improve includes (IWYU) 2019-03-06 14:36:51 +01:00
Carles Fernandez
6eb81f52ee
Improve includes with IWYU
Rtcm class moved to PVT/libs
2019-03-05 12:33:54 +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
Damian Miralles
8782fcba69 bds_b3i: merging new changes, fixing small bugs 2019-03-01 13:28:21 -06:00
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
b3ae2c969a
clang-tidy: apply fixes 2019-02-21 10:33:20 +01:00
Carles Fernandez
9bc771bed6
Deploy a new option -DENABLE_CLANG_TIDY to integrate clang-tidy checks and fixes into the compilation process, if found. It defaults to OFF 2019-02-21 09:59:06 +01:00
Carles Fernandez
4784a58af0
Remove unused definitions 2019-02-18 22:20:32 +01:00
Carles Fernandez
b5c59ee6f7
Fix defects detected by Coverity Scan 2019-02-14 22:49:36 +01:00
Carles Fernandez
719af13a33 Remove google-runtime-references check 2019-02-14 12:51:43 +01:00
Carles Fernandez
111c6291ec Revert "clang-tidy: apply performance-unnecessary-value-param check"
This reverts commit eae967ed1a.
2019-02-12 12:07:40 +01:00
Carles Fernandez
5b50e74ca8
clang-tidy: apply performance-for-range-copy check
See https://clang.llvm.org/extra/clang-tidy/checks/performance-for-range-copy.html
2019-02-12 01:25:27 +01:00
Carles Fernandez
eae967ed1a
clang-tidy: apply performance-unnecessary-value-param check
See https://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-value-param.html
2019-02-12 01:00: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
ca2e22cd9f
Replace boost::lexical_cast<std::string> by std::to_string 2019-02-11 00:38:44 +01:00
Carles Fernandez
4b2b205e21
Avoid throwing exceptions from destructors
Detected by clang-tidy check bugprone-exception-escape
2019-02-10 21:55:51 +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
f1bb647124
Remove commented line 2019-02-10 00:53:08 +01:00
Carles Fernandez
59841057e9
Improve consistency in header guard names 2019-02-10 00:16:57 +01:00
Carles Fernandez
ae005c62f2
Reorder libraries 2019-02-07 22:44:31 +01:00
Damian Miralles
1b7d4edf51 bds_b31: Getting new changes from upstream 2019-02-05 17:25:16 -06:00