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
f43fdece82
Add rinexobs_rate_ms parameter wrongly deleted
2019-05-08 08:56:42 +02:00
Carles Fernandez
25d1c02aa2
Add default case to switch
2019-05-08 08:24:13 +02:00
Carles Fernandez
8c86431e9b
Remove parameter rinexobs_rate_ms
2019-05-07 19:27:34 +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
c3840ce75f
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into rx_clock_correction
2019-05-06 11:06:49 +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
Javier Arribas
3e36301ab5
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into rx_clock_correction
2019-04-28 19:42:42 +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
Javier Arribas
4b348fcdc2
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into rx_clock_correction
2019-04-25 13:00:48 +02:00
Carles Fernandez
69e6816392
Make coexistence of different instances of gnss-sdr in the same machine easier
...
If the user forgot to set parameter PVT.rtcm_output_file_enabled to false in the configuration file, this raised up the RTCM server even if flag_rtcm_server was set to false, thus preventing the execution of more than one instance of gnss-sdr in the same machine. By setting the default value of rtcm_output_file_enabled to false, just letting the PVT.flag_rtcm_server parameter to get its default value, which is false, enables more than one instance in the same host machine. This also alleviates by default optional processing load in embedded devices
2019-04-24 20:51:01 +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
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
994f192636
Fix warning if put_time is not present
2019-03-19 21:11:21 +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
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
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
c938093f6d
Improve includes (IWYU)
2019-03-05 19:31:41 +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
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
Carles Fernandez
a9cc2d0eab
Replace GNU Radio blocks name termination _cc by _gs to emphasize that their data items are Gnss_Synchro objects
2019-03-02 02:21:03 +01:00
Damian Miralles
8782fcba69
bds_b3i: merging new changes, fixing small bugs
2019-03-01 13:28:21 -06:00
Carles Fernandez
8e66577ee9
Reorder PVT
...
Add includes
Reorder CMake scripts
Put work at the end of the file
2019-02-26 01:38:48 +01: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
a154f90bf5
Fix bug in telemetry message handling
2019-02-19 18:20:58 +01:00
Carles Fernandez
eedc3d5de6
clang-tidy: apply checks
2019-02-19 09:08:09 +01:00
Carles Fernandez
4784a58af0
Remove unused definitions
2019-02-18 22:20:32 +01:00
Carles Fernandez
82b7a244eb
Small fixes
2019-02-18 21:44:19 +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
4d60ea2e5a
Catch exception by reference
2019-02-11 22:00:48 +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
b9c115bdf8
clang-tidy: apply modernize-use-using check
2019-02-11 13:13:06 +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
Carles Fernandez
60637c6125
Reorder dependencies
2019-02-07 21:31:40 +01:00
Damian Miralles
1b7d4edf51
bds_b31: Getting new changes from upstream
2019-02-05 17:25:16 -06:00
Carles Fernandez
74950e9856
Set some compile definitions to private
2019-02-05 02:21:56 +01:00
Carles Fernandez
dfab84b2de
Add fixes applied by clang-tidy
2019-02-05 01:31:09 +01:00
Carles Fernandez
a8b1432c1b
Merge branch 'monitor-pvt' of https://github.com/acebrianjuan/gnss-sdr into acebrianjuan-monitor-pvt
2019-02-05 00:18:20 +01:00
Carles Fernandez
f509ebe49c
Update minimum Boost version to 1.54
2019-02-05 00:01:04 +01:00
Álvaro Cebrián Juan
f635580e31
Add PVT Monitor
2019-02-04 23:03:10 +01:00
Carles Fernandez
708b288e61
Clean CMake scripts
2019-02-04 22:44:45 +01:00
Carles Fernandez
8ae72fe458
Update to modern CMake usage
2019-02-03 19:24:44 +01:00
Carles Fernandez
c561d7e799
Applying code formatting rules
2019-01-28 02:29:43 +01:00
Damian Miralles
7f1619483f
bds_b3i: bug fix in code generation
...
Moved code generation logic to use bool type to keep same notation
as the previous implementations. More testing in code is required
2019-01-27 19:05:41 -06:00
Damian Miralles
e78ba653e6
bds b3i: Adding code to process BeiDou B3I signals
...
Adds code to perform acq and trk in BeiDou B3I signals. Stages of
telemetry decoding, observables computation and pvt use existing
code on the platform. Some further testing is required
2019-01-25 15:43:00 -06:00
Damian Miralles
5395b0bc3b
bds_b1i: First BeiDou PVT for GNSS-SDR
...
Adds a BeiDou B1I PVT for GNSS-SDR. Fixes bugs with D2 message decoding
for eph values in non continuous pages. Adds a couple of cosmetic fixes.
2019-01-02 13:19:11 -06:00
Damian Miralles
b6b98bea69
bds_b1i: Fixing bugs with utc model
2019-01-01 13:46:57 -06:00
Damian Miralles
2865e97b84
bds_b1i: Adding pvt computation with BeiDou B1I satellites
2018-12-28 19:01:22 -06:00
Damian Miralles
0c4b8b25f1
bds_b1i: Adding new tel dec block structure
2018-12-23 12:51:28 -06:00
Damian Miralles
42b506d0bb
bds b1i: Merging latest changes from upstream/next
2018-12-18 15:55:36 -06:00
Carles Fernandez
95c6bb4dd1
Remove redundant c_str()
2018-12-14 13:38:29 +01:00
Carles Fernandez
da2d12dd05
Supress lintian complaint
2018-12-14 13:33:52 +01:00
Carles Fernandez
55572b55b4
Fix RTCM printer in the L5+E5a receiver
2018-12-13 12:57:11 +01:00
Carles Fernandez
497a10fbea
Merge branch 'combi' of https://github.com/carlesfernandez/gnss-sdr into next
2018-12-11 14:02:14 +01:00
Carles Fernandez
e8174a5ef7
Fix error in RTCM generation of L5+E5a receiver
2018-12-11 14:01:23 +01:00
Carles Fernandez
2c2ddb1de7
Fix error in RTCM generation of L5+E5a receiver
2018-12-11 13:59:57 +01:00
Carles Fernandez
27b7a93181
Apply clang-tidy fix readability-container-size-empty
2018-12-11 12:25:38 +01:00
Carles Fernandez
b80f22fc43
Use a std::array instead of a c array
2018-12-11 12:02:19 +01:00
Carles Fernandez
5f79053d65
Sort includes automatically with clang-format
...
Order:
1.- Main header
2.- Local headers
3.- Third-party library headers
4.- System headers
each category sorted lexicographically
2018-12-09 22:00:09 +01:00
Carles Fernandez
17260bbcea
Miscelaneous code improvements by clang-tidy
2018-12-08 18:49:31 +01:00
Carles Fernandez
d95b89beae
clang-tidy: apply performance-unnecessary-value-param fix (see http://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-value-param.html )
2018-12-03 22:38:46 +01:00
Carles Fernandez
327fec627c
clang-tidy: apply readability-else-after-return fix (see https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html )
2018-12-03 22:08:19 +01:00
Carles Fernandez
1743a773b5
Improve performance by using const and std::move() to avoid unnecessary copies
2018-12-03 19:01:47 +01:00
Carles Fernandez
b994f466a7
clang-tidy: apply modernize-loop-convert fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-loop-convert.html )
2018-12-03 18:03:25 +01:00
Carles Fernandez
b5c0cc04e5
clang-tidy: apply modernize-raw-string-literal fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-raw-string-literal.html )
2018-12-03 17:04:16 +01:00
Damian Miralles
e40999572f
bds b1i: Bug fixes in navigation code
...
Fixes bugs with the conversion to rtklib standard from gnss-sdr.
2018-12-03 09:39:39 -06:00
Carles Fernandez
0d408a6024
clang-tidy: apply modernize-use-auto fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html )
2018-12-03 16:25:11 +01:00
Carles Fernandez
0a46cb1fe1
Use nullptr
2018-12-03 10:05:47 +01:00
Carles Fernandez
d4e12648b0
Fix warning (missing initializer for struct members)
2018-12-03 02:10:14 +01:00
Carles Fernandez
2614509b29
Fix string comparisons, improve const correctness
2018-12-02 15:52:32 +01:00
Carles Fernandez
f7df714a7f
Fix string comparisons, improve const correctness
2018-12-02 15:42:38 +01:00
Carles Fernandez
3bb47ff755
Improve const correctness, fix string comparisons
2018-12-02 05:29:11 +01:00
Damian Miralles
287c93e5b8
bds b1i: Adds B1I RINEX support
...
Adds RINEX support for B1I only signals. It also fixes a couple of bugs
with the code. This was not properly developed during GSoC
2018-11-30 09:25:48 -06:00
Damian Miralles
8db3f21070
bds b11: Get latest changes and add bds functions in rtk module
...
Merge branch 'next' into bds_b1i. Also fixes multiple bugs with the
addition of bds b1i signals into code. Major changes where fixed and
code to support RINEX and RTCM is needed
2018-11-29 09:56:54 -06:00
Carles Fernandez
87d1413447
Make cmakelint happier
2018-11-24 18:40:34 +01:00
Carles Fernandez
a8fe18f435
Fix defects detected by XCode
2018-11-23 16:28:28 +01:00
Carles Fernandez
b0ba246934
Apply some style rules to CMake scripts
2018-11-22 00:35:21 +01:00
Carles Fernandez
e94b2f8990
Remove blanks
2018-11-18 21:24:54 +01:00
Carles Fernandez
969f102814
Fix error in RINEX printer
2018-11-13 13:09:39 +01:00
Carles Fernandez
00d402f487
Add RINEX printer for L1/E1/E5a combination
2018-11-13 12:51:14 +01:00
Carles Fernandez
96cef90369
Add printer for L1,E1 and E5 combination
2018-11-13 12:29:13 +01:00
Carles Fernandez
66c3a9ed3a
Merge branch 'extend-gpx-kml' of https://github.com/acebrianjuan/gnss-sdr into acebrianjuan-extend-gpx-kml
2018-11-09 11:56:58 +01:00
Carles Fernandez
2206969be6
Revert "Remove duplicated code"
...
This reverts commit 79fa7ce6ca
.
2018-11-08 17:13:11 +01:00
Carles Fernandez
79fa7ce6ca
Remove duplicated code
2018-11-08 15:11:55 +01:00
Carles Fernandez
98726ef036
Improve const correctess, change name of variable to a more meaningful name
2018-11-08 14:25:38 +01:00
Carles Fernandez
b8a412895a
Deactivate the NMEA printer if not used
2018-11-08 10:02:52 +01:00
Álvaro Cebrián Juan
0e00b5eaa4
Record Time, Speed over ground, Course over ground and Dilution of precision in KML output
2018-11-08 03:44:49 +01:00
Álvaro Cebrián Juan
686305da71
Improve maintainability of indentation in KML files
2018-11-08 03:44:49 +01:00
Álvaro Cebrián Juan
ae7a6d686e
Record Speed and Course over ground in GPX output
2018-11-08 03:44:49 +01:00
Carles Fernandez
6b6dc63dfc
Remove functions now present in geofunctions
2018-11-08 01:14:17 +01:00
Carles Fernandez
61d67a7642
Make use of the more efficient switch statement for printers
2018-11-07 23:53:16 +01:00
Carles Fernandez
ae722fd354
Clean Pvt_Solution class
2018-11-07 21:12:00 +01:00
Carles Fernandez
11dc35084c
Do not keep data of disappeared satellites in NMEA sentences
2018-11-07 19:33:54 +01:00
Carles Fernandez
3477f41198
Add local definition of to_time_t to be compatible with Boost < 1.58
2018-11-07 19:27:26 +01:00
Carles Fernandez
234c770f66
Use the override keyword (fix warnings)
2018-11-07 19:23:40 +01:00
Carles Fernandez
e9ec521f24
Fix GPGGA, GPGSA, GAGSA and GPRMC messages (NMEA)
2018-11-07 16:53:40 +01:00
Carles Fernandez
2bdbaaf9a5
Fix generation of GPGSV and GAGSV messages (NMEA)
2018-11-07 16:03:45 +01:00
Carles Fernandez
fa7320b184
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fix-nmea
2018-11-06 18:22:30 +01:00
Javier
ea3db59fd7
Adding Tele Command status for reporting the Position, Speed and Course over ground and Time
2018-11-06 14:39:57 +01:00
Carles Fernandez
f986fde4d0
Merge branch 'next' into fix-nmea
2018-11-05 19:43:25 +01:00
Carles Fernandez
9bf8f14a54
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fix-nmea
2018-11-05 18:09:54 +01:00
Carles Fernandez
c3f80086ce
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next
2018-11-05 18:01:43 +01:00
Javier
01a1954b15
Adding the Hotstart telecommand implementation to predict visible satellites for GPS and Galileo constellations
2018-11-05 17:53:53 +01:00
Carles Fernandez
4f7b43255a
Add work on NMEA messages
2018-11-05 17:36:26 +01:00
Carles Fernandez
99989d472c
Fix NMEA GPGSV message for GPS L1
2018-11-05 15:39:56 +01:00
Carles Fernandez
70800a7c6c
Improve const correctness
2018-11-04 20:14:25 +01:00
Carles Fernandez
40efd08b56
Fix typo
2018-11-04 19:52:20 +01:00
Carles Fernandez
766cc308bd
Fix crash after the first fix in some signal combinations
2018-11-04 19:49:26 +01:00
Carles Fernandez
6b854c3513
Fix segmentation fault under certain output combinations
2018-11-03 10:50:19 +01:00
Carles Fernandez
0139447408
Deactivate RTCM printer if not used
2018-11-02 14:12:31 +01:00
Carles Fernandez
7c238bfb44
Add RTCM messages for more signal combinations
2018-11-02 12:15:28 +01:00