1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-16 21:20:34 +00:00
Commit Graph

775 Commits

Author SHA1 Message Date
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
Carles Fernandez
15df79837f
Fix header in RINEX nav file for L1+L5 2018-11-01 20:10:41 +01:00
Carles Fernandez
99e4dcbe2b
Cosmetic fix 2018-11-01 19:24:06 +01:00
Carles Fernandez
1ca28873ab
Fix warnings 2018-11-01 19:10:50 +01:00
Carles Fernandez
247c8cc6f3
Enable RINEX printer for more combinations of signals 2018-11-01 17:50:06 +01:00
Carles Fernandez
14d24c3948
Fix build if matio was built on-the-fly 2018-10-31 20:02:16 +01:00
Carles Fernandez
39a062ca00 Save PVT dump also in .mat. New parameter dump_mat can disable this feature 2018-10-31 14:56:59 +01:00
Carles Fernandez
902c90ef44 Allow to save the PVT dump file anywhere 2018-10-30 11:41:15 +01:00
Carles Fernandez
49ab6e425d Fix DOP computation for all signals 2018-10-30 10:49:30 +01:00
Carles Fernandez
19dca87427
Warn if output files cannot be written. 2018-10-28 02:02:28 +02:00
Carles Fernandez
b183fe63ba
Improve PVT block configuration. Allow to store data products in different folders 2018-10-28 00:42:28 +02:00
Carles Fernandez
49769059a7 Store GPS almanac 2018-10-25 11:10:30 +02:00
Carles Fernandez
bc058d33da Read GPS almanac file if present 2018-10-25 11:01:29 +02:00
Carles Fernandez
20302ed28f
Read Almanac data from AGNSS 2018-10-25 00:52:29 +02:00
Carles Fernandez
07d1a74f6b Decode and store Galileo almanac 2018-10-24 17:28:12 +02:00
Damian Miralles
e22f8e57c1 beidou b1i: renaming objects of nav decoding 2018-10-22 15:12:50 -05:00
Damian Miralles
8c16d945f8 beidou b1i: Merging new changes and adding bug fixes to code 2018-10-22 14:16:38 -05:00
Carles Fernandez
2acdbc31f2
Store Galileo UTC data in xml file if leap second is not zero 2018-10-21 19:28:54 +02:00
Carles Fernandez
337cafb31a
Remove unused function 2018-10-21 12:16:45 +02:00
Carles Fernandez
15c4d62096
Add Glonass assistance 2018-10-20 19:30:32 +02:00
Carles Fernandez
a10b1fe0f4 Store and read CNAV UTC parameters in Assisted mode 2018-10-19 14:48:41 +02:00
Carles Fernandez
6f6bb21c76 Sort out names when storing XML files 2018-10-19 13:48:21 +02:00
Carles Fernandez
366401a595
Fix redefinition of ofstream 2018-10-06 20:56:16 +02:00
Carles Fernandez
79ae0a6c9d
Fix writing of XML files. Previously, the tag boost_serialization was not closed, which caused a failure when trying to read those XML files with Boost >= 1.66 2018-10-06 20:10:16 +02:00
Javier Arribas
d241da5d35 Added RTKLib solver unit test 2018-10-05 11:49:11 +02:00
Carles Fernandez
78c0b76cb9
Avoid use of GLOB for source and header files 2018-10-04 22:35:44 +02:00
Carles Fernandez
5ffa5aba8e
Fix logging of PVT fixes 2018-09-01 16:53:27 +02:00
Carles Fernandez
9395a66051
Fix saving of DOP parameters 2018-08-31 20:35:56 +02:00
Carles Fernandez
3fcb027138
Update Access18 experiment with new PVT stored data structure 2018-08-31 10:03:35 +02:00
Carles Fernandez
753dc7241f
Fix defect detected by coverity scan (avoid null pointer dereference) 2018-08-30 20:22:15 +02:00
Javier Arribas
a3dc0f564c Improving PVT system test. Extending the rtklib_solver binary dumps and removing old dumps 2018-08-29 18:53:03 +02:00
Carles Fernandez
b2dc526b9a
Fix gpx printer 2018-08-22 18:54:46 +02:00
Carles Fernandez
a249cd7242
Avoid variable length arrays and other minor fixes 2018-08-16 14:16:43 +02:00
Carles Fernandez
c9413e8931
Replace map.size() > 0 by map.empty == false 2018-08-16 10:20:03 +02:00
Sergi Segura
fc98fa6afe cleaning code for gsoc 2018-08-12 23:58:16 +02:00
Carles Fernandez
273ce31029
Add more extensive use of cstdint typenames 2018-08-11 23:03:41 +02:00
Carles Fernandez
201c5ccd79
Add more extensive use of cstdint typenames 2018-08-11 13:56:24 +02:00
Sergi Segura
a699c80673 Receive ephemerides xml 2018-08-09 20:36:11 +02:00
Sergi Segura
49e174f565 telemetry decoder giving correct TOW and subframes 2018-08-08 14:30:32 +02:00
Javier Arribas
00f03a679a Add missing break 2018-08-07 19:59:44 +02:00
Carles Fernandez
8f52b04c9c
Safer place for definition of namespaces 2018-07-21 13:57:14 +02:00
Carles Fernandez
826e51ef13
Handle boost/math/common_factor_rt.hpp header deprecation in Boost 1.67, replaced by boost/integer/common_factor_rt.hpp which is available since Boost 1.58. The boost/math/common_factor_rt.hpp is kept for older versions of boost, so it can still build in old distributions such as Debian 8.10 2018-07-21 13:40:52 +02:00
Álvaro Cebrián Juan
2ff637125e Fix typo in header 2018-07-03 12:41:59 +02:00
Carles Fernandez
30b41344ec
Revert "Replace deprecated boost/math/common_factor_rt.hpp header by boost/integer/common_factor_rt.hpp"
This reverts commit f3b07090e2.
2018-06-15 21:25:30 +02:00
Carles Fernandez
f3b07090e2
Replace deprecated boost/math/common_factor_rt.hpp header by boost/integer/common_factor_rt.hpp 2018-06-15 17:22:40 +02:00
Carles Fernandez
0ca454e1ee
Small fix 2018-06-15 17:21:31 +02:00
Carles Fernandez
1d5d74e12e
Fix building with Boost 1.67 2018-06-15 17:20:01 +02:00
Carles Fernandez
cc4fd07c76
Fix building with Boost 1.67 2018-06-15 17:11:04 +02:00
Carles Fernandez
c26022a1d6
Fix building with Boost 1.67 2018-06-15 17:07:40 +02:00
Carles Fernandez
84813228cf
Add missing header 2018-06-15 08:24:07 +02:00
Carles Fernandez
5b00ad1dc1
Workaround for GPS L2C-alone positioning 2018-06-08 11:01:29 +02:00
Carles Fernandez
e67941510e
Adjust number of decimals shown in terminal 2018-06-07 20:25:25 +02:00
Javier Arribas
7dc9eafcee Display position timestamps back in UTC 2018-06-07 12:23:26 +02:00
Javier Arribas
b1bf4a96c2 Disable GPS L2C ephemeris in internal RTKLIB solver due to an incompatibility 2018-06-07 10:55:15 +02:00
Carles Fernandez
5fc1e018fd
Clean source code, update to new gnss_synchro parameter name 2018-06-05 22:53:34 +02:00
Carles Fernandez
a2a9fef7f7
Make RINEX (nav & obs) annotation rate configurable 2018-06-05 21:41:13 +02:00
Javier Arribas
9a5b426059 final release of observables and PVT receiver time fix for 1 ms integer granularity 2018-06-05 18:20:55 +02:00
Javier Arribas
c087c8b318 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fix_observables 2018-06-05 16:49:37 +02:00
Carles Fernandez
1e0a418a5f
Fix warning of unused private member 2018-06-03 23:35:26 +02:00
Javier Arribas
908aa1515f Observables and all PVT products now are referenced to the uncorrected RX clock, that is guaranteed to be integer multiple of 1 ms 2018-06-02 12:55:00 +02:00
Javier Arribas
6d4a89148a Fix observables clock drift bug (Candidate one) 2018-05-18 21:07:12 +02:00
Javier Arribas
2b7663e70c Fix in rx time correction and adding the missing code phase to the observables. More test required 2018-05-17 18:10:48 +02:00
Carles Fernandez
835cf3b11e
Rename CMake module for gr-iio to a more consistent name. Minor fixes 2018-05-16 21:33:52 +02:00
Carles Fernandez
1195234df1
Fix warnings raised by GCC 8.1.1 2018-05-16 18:32:27 +02:00
Carles Fernandez
0d60d97c24
Use https instead of http in links when available
Update copyright year in headers
2018-05-13 22:49:11 +02:00
Carles Fernandez
d93a3b6c3f
Switch to https://gnss-sdr.org 2018-05-09 20:20:57 +02:00
Carles Fernandez
a23e6644ac Fix DOP computation 2018-05-07 14:34:53 +02:00
Carles Fernandez
632bceb653
Fix DOP computation, print it in GPX and NMEA 2018-05-07 09:13:45 +02:00
Álvaro Cebrián Juan
f1a77dfb1f Initialize gpx printer in RTKLIB_PVT block 2018-05-05 07:47:42 +02:00
Álvaro Cebrián Juan
460dc21704 Add gpx_printer.cc to CMakeLists 2018-05-05 07:46:04 +02:00
Álvaro Cebrián Juan
9e35ae2239 Add GPS Exchange Format (GPX) output writer class 2018-05-05 07:44:20 +02:00
Antonio Ramos
a421d2fc5a Minor change 2018-04-03 15:37:26 +02:00
Antonio Ramos
ebb908f2e7 Merge branch 'next' into observables_and_display_color 2018-04-03 11:01:59 +02:00
Carles Fernandez
1eede79e7f Integrate unified block for DLL/PLL Tracking 2018-03-29 12:54:03 +02:00
Carles Fernandez
97e5d88623 Minor fixes: typos, includes 2018-03-26 15:06:14 +02:00
Damian Miralles
287d38dea2 GLONASS L2 CA Signal Addition
Adds GLONASS L2 C/A signal processing to GNSS-SDR based on previous
work developed for the L1 signal. All code have been added in a single
commit with the idea to illustrate the process of signal addition for
future work
2018-03-24 12:44:26 -06:00
Antonio Ramos
cc887402b1 Merge branch 'unify_tracking' into observables_and_display_color 2018-03-19 14:50:00 +01:00
Antonio Ramos
e4bada8176 Handle RTCM printer exceptions 2018-03-13 11:16:30 +01:00
Antonio Ramos
052751fbae Merge branch 'next' into debug 2018-03-12 11:13:09 +01:00
Antonio Ramos
0057e60924 Clean code 2018-03-12 11:12:41 +01:00
Carles Fernandez
d74f00c39a Remove unused variable 2018-03-10 13:30:11 +01:00
Carles Fernandez
e648f38f6f Fix some merging problems 2018-03-10 12:56:30 +01:00
Antonio Ramos
ecb4a4970a Disable eph update when L1 + L2 2018-03-09 13:05:25 +01:00
Damian Miralles
36d71d46af Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass_dec 2018-03-08 14:48:30 -07:00
Antonio Ramos
ab7cabc8e8 code style 2018-03-08 18:32:55 +01:00
Antonio Ramos
93d2fdaf14 debug 9 2018-03-08 18:05:22 +01:00
Antonio Ramos
be5139e5f7 Merge branch 'next' into debug 2018-03-06 16:19:52 +01:00
Antonio Ramos
21fff4e696 Fix CNAV telemetry reader 2018-03-06 13:23:22 +01:00
Carles Fernandez
34f24562cf Apply automated code formatting
Documented at .clang-format
See http://clang.llvm.org/docs/ClangFormat.html and http://clang.llvm.org/docs/ClangFormatStyleOptions.html
2018-03-03 02:03:39 +01:00
Damian Miralles
8b55e9ffd2 bugfix: Fix log time in RINEX Observation Data for GLONASS
Fixes issue with time being logged to the observation file in GLONASS.
The code was not accounting for the leap seconds when logging the
observation timeS
2018-02-27 20:51:24 -07:00
Antonio Ramos
4d6aaf43af Merge branch 'next' into fix_observables 2018-02-26 10:12:47 +01:00
Carles Fernandez
658e677fc3 Reorder includes: local headers first, then 3rd-party library headers, and finally standard headers 2018-02-26 03:15:53 +01:00
Carles Fernandez
24f6003ba0 Remove iostream from header files
and in redundant places such as in unit tests
2018-02-25 22:49:06 +01:00
Carles Fernandez
243b4ecc39 Give priority to RINEX_printer flag over configuration file.
Fix building.
2018-02-25 01:10:27 +01:00
Antonio Ramos
5cba843eaa Add colors to display 2018-02-23 16:17:51 +01:00
Antonio Ramos
e2c2da67c4 debug3 2018-02-22 16:15:07 +01:00
Antonio Ramos
592d50af79 debug 2 2018-02-22 12:42:09 +01:00
Carles Fernandez
2b8ab9dcee Group all flags in a single file
This makes easier to document and to add new ones.
Shortened version of common files have been added:
-c for -config_file
-s for -signal_source
2018-02-18 12:23:55 +01:00
Antonio Ramos
30362f5d98 Minor changes 2018-02-12 16:52:09 +01:00
Carles Fernandez
6554c846b1 Mereg branch dmiralles2009-glonass_dec 2018-01-28 11:46:35 +01:00
Damian Miralles
09c5225981 Merge branch 'glonass' of https://github.com/gnss-sdr/gnss-sdr into glonass_dec 2018-01-27 20:50:55 -07:00
Carles Fernandez
f600f95864 Remove unused variables 2018-01-25 19:39:42 +01:00
Carles Fernandez
b6fcc4d218 Remove warning of unused parameter and dead code, fix indentation 2018-01-25 19:35:28 +01:00
Carles Fernandez
e7ba7ef23d Fix warning 2018-01-24 21:27:15 +01:00
Carles Fernandez
c62e7a683d Fix warning of unused parameters 2018-01-24 18:16:01 +01:00
Carles Fernandez
b301ed19c6 Merge remote-tracking branch 'upstream/next' into glonass 2018-01-24 00:52:09 +01:00
Damian Miralles
4e840f482f bugfix: Fixes MARKER NUMBER field for RINEX v2.11 file generation 2018-01-21 17:27:19 -07:00
Damian Miralles
5bdd8fbfaf bugfix: Adds frequency number and proper field name for RINEX v2.11 2018-01-21 12:36:42 -07:00
Carles Fernandez
5acef7a9bc Remove warnings of unused variables 2018-01-20 12:24:38 +01:00
Damian Miralles
e8c363814e Merge branch 'glonass' of https://github.com/gnss-sdr/gnss-sdr
Grab latest code addition to ease up pull request
2017-12-27 19:16:19 -07:00
Damian Miralles
1cc72b8102 glonass: Adding RINEX support for rcv type 28 (GPS L2C + GLO L1 C/A)
Adds RINEX support for receiver type 28 which combines GPS L2C and
GLONASS L2C. Fixes a couple of bugs in RINEX file generation and adds
new configuration files for L2C processing
2017-12-27 19:10:08 -07:00
Damian Miralles
78eaa76a60 glonass rinex: Bug fixes in RINEX formats 2.11 and 3.02
Fixes a couple of bugs for RINEX file generation depending on the
active version to be use.
2017-12-27 11:57:25 -07:00
Damian Miralles
aa2464cc28 glonass bug fix: Adds more reliable GPST 2 UTC conversion
Adds logic to check for exact epoch when performing leap second
correction and also fixes unit test in code for GLONASS
2017-12-26 10:29:09 -07:00
Damian Miralles
ad07c8940b glonass_rinex: Fixes bugs in RINEX files for GLONASS processing
Fixes bugs with observation and navigation header time logs. It forces
the log to be in UTC time as the dault when in GLONASS.
2017-12-25 17:05:35 -07:00
Antonio Ramos
8bb0c880c0 Minor changes in DLOG lines 2017-12-21 12:12:56 +01:00
Antonio Ramos
52aabf05c1 Fix GPS L5 2017-12-15 10:57:12 +01:00
Carles Fernandez
7ac5e7c833 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-12-02 13:48:45 +01:00
Antonio Ramos
6395f0e5fc Add GPS L5 Channel 2017-11-30 18:16:49 +01:00
Antonio Ramos
11486670ec Modify CNAV message structure header 2017-11-30 16:54:12 +01:00
Antonio Ramos
140b388066 Modify RTKLIB PVT band selection and Tel. Dec. E5a 2017-11-29 12:00:05 +01:00
Damian Miralles
0e938db54e bugfix: Fixes RINEX V2.11 Nav. data record header
Fixes the number of spaces used by the second field in RINEX 2.11 when
logging GLONASS Navigational information
2017-11-24 15:20:13 -07:00
Damian Miralles
5eab353132 bugfixes: Add RTCM header creation for GLONASS satellites
Added code to enable RTCM header generation when in GLONASS. Also fixes
bug to allow combined observations from GPS and GLONASS. Fix some code
compilation warnings and unit tests.
2017-11-13 22:50:16 -07:00
Damian Miralles
feae8303de clean up: Clean up warnings during compile process
Removes unused variables from code and fix counter to include both GPS
and GLONASS observations
2017-11-13 22:50:16 -07:00
Carles Fernandez
46a96775e4 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-11-11 11:02:21 +01:00
Carles Fernandez
9496e66f3d Merge branch 'obs_sys_test' of https://github.com/antonioramosdet/gnss-sdr into antonioramosdet-obs_sys_test 2017-11-11 10:09:46 +01:00
Unknown
218844cce5 Minor changes in RINEX printer version setting 2017-11-10 15:07:06 +01:00
Damian Miralles
4b9c226891 bugfix: Fixes bugs in RINEX and RTCM generators
Remove dependency of t_b in P_1 for GLONASS GNAV Ephemeris and cleaned
RINEX line for nav messages generation
2017-11-09 20:31:53 +01:00
Carles Fernandez
4f9d6afd7d Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into dmiralles2009-glonass_dec 2017-11-03 16:30:24 +01:00
Carles Fernandez
c70f7b504a Fix RINEX version 2017-10-31 15:40:14 +01:00
Damian Miralles
c9fba22307 bugreport: Time managment with boost posix time
Need to fix bug in time duration with posix time and deal with day
offsets in the code. Something seems off with day duration for long
periods of time.
2017-10-24 08:51:38 -06:00
Damian Miralles
a1b9b092f5 Debugging GLONASS code to obtain position solution 2017-10-19 13:22:55 -06:00
Damian Miralles
93640ffd46 GLONASS bugfix: Fixes settings with rtklib obs_t and nav_t members
Adds settings in rtklib code to parse GLONASS measurements in `obs_t`
and 'nav_t' structures. It also adds the time of day field in gnav eph
to keep track as of when ephemeris are reported.
2017-10-11 08:22:45 -06:00
Damian Miralles
ea675b4baa bugfix: Fixes signal identifier for GLONASS GNAV
Signal identifier for GLONASS L1 C/A was changed internally to be `1G`
instead of the '1C' originally conceived from the navigation software.
Also, forces PRN number update from decoding interface
2017-10-10 08:40:05 -06:00
Damian Miralles
081a78f603 bugfix: Fix computation of TOW value for GLONASS GNAV
Fixes the TOW computation mapping from GLONASS Time to UTC time and then
conversion to TOW and WN. The logic of the conversion considers time
offsets but  may need to be reviewed.
2017-09-22 12:16:26 -06:00
Carles Fernandez
e60c93da72 Remove extraneous parentheses warnings 2017-09-10 11:04:53 +02:00
Damian Miralles
6331ebd8b5 Fixes issues detected during merge procedure 2017-08-31 09:57:30 -06:00
Damian Miralles
bf9345ebd2 Fixes error after rebase operation from upstream/next 2017-08-31 09:55:35 -06:00
Damian Miralles
85f7e333bb bug_fix: Fixes bugs in telemetry decoding interface
Fixes several bugs with the telemetry decoder interface and clean up the
code with unused methods and members of the ephemeris object
2017-08-31 09:55:35 -06:00
Damian Miralles
eb33715cb9 unit-test: Adds and fixes unit test for system-parameters block
Adding unit test for system-parameters block, testing string decoding
logic for GLONASS GNAV messages. Bug fixes the code after several errors
were detected while debugging
2017-08-31 09:55:35 -06:00
Damian Miralles
3f87223f35 bugfix: Fix compile errors, code style and documentation
Fixes compilation errors after the RTCM package addition in the PVT
block. It also adds a series of class members documentation in the code
using the Doxygen standard while fixing code style errors
2017-08-31 09:55:35 -06:00
Damian Miralles
f720ddf208 Adding RTCM messages for GLONASS support
Adds code for RTCM in GLONASS processing. The commit includes legacy
messages (MS1009-MS1012) and integrated messages for GNSS fields.
A couple of bug fixes are included and addition of ephemeris fields
is completed.
2017-08-31 09:55:35 -06:00
Damian Miralles
6669482e91 rtcm: Starting coding of RTCM standard
Starting to add GLONASS support for RTCM v3 messages while fixing bugs
with the RINEX parser. In addition, adding more unit tests in the code
2017-08-31 09:55:35 -06:00
Damian Miralles
d34ec96ad2 bugfix: Fixing bugs with RINEX support
Fixes compilation errors. Modifies GLONASS GNAV Ephemeris object to
contain fields relative to GPS time using the boost posix time object.
Adds unit tests to check existent and recently added code
2017-08-31 09:55:35 -06:00
Damian Miralles
2d40780689 Adding RINEX support for GLONASS GNAV processing
Adds RINEX v2 and v3 support for GLONASS satellites processing including
observation and navigation data records. Also adds conversion of
ephemeris records in GNSS-SDR format to RTKLib format
2017-08-31 09:55:35 -06:00
Damian Miralles
c445ac261b Developing interface code for RINEX printer 2017-08-31 09:55:35 -06:00
Damian Miralles
fbd6b211eb Adding code for pvt computation 2017-08-31 09:55:35 -06:00
Carles Fernandez
5530352e8a Fix bug in NMEA messages. Fixes #45
Add a new test for the NMEA printer
2017-08-31 09:55:35 -06:00
Carles Fernandez
58e92343c7 Fix bug in NMEA messages. Fixes #45
Add a new test for the NMEA printer
2017-08-25 11:42:02 +02:00
Carles Fernandez
122ec19626 Make use of the inline keyword where appropriate 2017-08-21 11:45:12 +02:00
Carles Fernandez
6e65705b47 Fix initialization 2017-08-19 20:26:30 +02:00
Carles Fernandez
eecfd10875 Replace C-style casts by C++ casts 2017-08-19 20:05:52 +02:00
Carles Fernandez
e7246d4565 Replace C-style casts by C++ casts 2017-08-19 11:27:22 +02:00
Carles Fernandez
0a42fe8ab5 Replace some C-style casts by C++ casts 2017-08-19 09:16:10 +02:00
Carles Fernandez
7ac3f282fa Replace C-style cast by C++ casts 2017-08-19 02:33:54 +02:00
Carles Fernandez
61f8df3586 Replace some C-style cast by static_cast<>()
See https://stackoverflow.com/questions/1609163/what-is-the-difference-between-static-cast-and-c-style-casting
2017-08-18 12:45:47 +02:00
Carles Fernandez
481c6c44c6 Pass parameters by reference instead of by value 2017-08-17 17:21:45 +02:00
Carles Fernandez
a23733e716 Remove unused private member 2017-08-17 17:14:31 +02:00
Carles Fernandez
2b18ae14fe Replace iterators by const iterators 2017-08-17 11:03:02 +02:00
Carles Fernandez
4653a927c4 Small fix 2017-08-16 20:40:50 +02:00
Carles Fernandez
dc4d3790ed Enlarge number of channels for PVT 2017-08-16 18:10:37 +02:00
Carles Fernandez
2ca252c4d4 Add more control when accessing Pvt_Solution members 2017-08-16 17:42:55 +02:00
Carles Fernandez
6a2fe514d0 Revert "Declare more data members private"
This reverts commit 73b6613a3d.
2017-08-16 17:33:29 +02:00
Carles Fernandez
b0cd2ee015 Use const container calls when result is immediately converted to a
const iterator
2017-08-16 13:45:02 +02:00
Carles Fernandez
73b6613a3d Declare more data members private 2017-08-16 13:44:31 +02:00
Carles Fernandez
6eca73d9ce Declare more data members private 2017-08-16 13:42:46 +02:00
Carles Fernandez
c1bbdd74d4 Declare all Pvt_Solution data members private 2017-08-16 12:45:00 +02:00
Carles Fernandez
6c19437520 Pass map of observables by reference 2017-08-16 01:01:59 +02:00
Carles Fernandez
07113fd89d Use the override special identifier when overriding a virtual function 2017-08-16 00:58:10 +02:00
Carles Fernandez
e2f02a50f0 Use const container calls when result is immediately converted to a const iterator 2017-08-15 22:15:21 +02:00
Carles Fernandez
85cc7802be Fix const correctness when catching exceptions
See https://stackoverflow.com/questions/7581654/about-catching-exception-good-practices
Unneeded includes unistd.h removed
Close dump files in destructor
2017-08-14 13:59:00 +02:00
Carles Fernandez
02ea8acbfd Always initialize elapsed_seconds
It was causing warnings in GCC. Some code style applied.
2017-08-11 13:11:38 +02:00
Carles Fernandez
18cd7daa09 Eliminate ctime library. Replaced by chrono or boost::date_time 2017-08-11 05:18:38 +02:00
Carles Fernandez
9bfef0e05a Fix CMake scripts to use Ninja https://ninja-build.org/
cmake -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -GNinja .. && ninja
2017-06-21 08:54:47 +02:00
Carles Fernandez
d8b0830b46 Fix wrong comparison 2017-06-06 15:29:32 +02:00
Carles Fernandez
9f7e9f9a86 Expose Earth tide correction to user configuration 2017-05-24 15:43:32 +02:00
Carles Fernandez
20592f29a9 Expose reject_GPS_IIA parameter to user configuration 2017-05-24 12:14:52 +02:00
Carles Fernandez
6e179decde Expose RAIM algorithm to user configuration 2017-05-24 09:55:45 +02:00
Carles Fernandez
35c2b0248a Expose more RTKLIB configuration parameters 2017-05-23 09:44:48 +02:00
Carles Fernandez
16561a5f14 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2017-05-16 18:47:04 +02:00
Carles Fernandez
b780abf563 Free rtk struct in the destructor 2017-05-15 14:38:01 +02:00
Carles Fernandez
f07259e31f Fix rtk initialization 2017-05-15 13:01:48 +02:00
Carles Fernandez
f3a41d4569 Fix indentation 2017-05-14 19:59:55 +02:00
Javier Arribas
7a2a15b37d Adding the path of Galileo E5 observations to RTKLIB solver. Some bug fixes. Work with Galileo in progress 2017-05-12 17:58:04 +02:00
Carles Fernandez
111ad3b221 Remove Hybrid_PVT implementation, it is replaced by RTKLIB_PVT 2017-05-10 16:42:22 +02:00
Carles Fernandez
2abd9b248b Fix bitset bug 2017-05-10 15:56:20 +02:00
Carles Fernandez
4e435bc28a Fix initialization with older gcc 2017-05-10 11:26:17 +02:00
Carles Fernandez
97bb5906aa Replace fabs by std::fabs 2017-05-10 11:13:02 +02:00
Carles Fernandez
25bb7ae54d Code cleaning 2017-05-08 21:30:41 +02:00
Carles Fernandez
bb9346441c Better handling of RTKLIB options 2017-05-08 21:26:12 +02:00
Carles Fernandez
afa9edf848 Enables PPP positioning mode by resorting to functions in RTKLIB 2.4.2 2017-05-06 14:25:36 +02:00
Carles Fernandez
1cb4425cde Fix PPP configuration 2017-05-06 10:45:33 +02:00
Carles Fernandez
4f6ba053ef Get PPP working 2017-05-06 10:01:54 +02:00
Javier Arribas
e5e48be76d RTKLIB solver now works with Galileo E1 standalone and GPS L1 + Galileo E1 2017-05-05 11:05:25 +02:00
Javier Arribas
9a2909e8cb Adding RTKLIB PVT error to gnss-sdr.INFO log file for debug purposes 2017-05-04 16:44:34 +02:00
Carles Fernandez
4c1f3f1de9 Fix size of covariance matrices 2017-05-04 09:39:35 +02:00
Carles Fernandez
0a4f6cf499 Avoid crashing when PPP is invoked 2017-05-04 09:19:57 +02:00
Carles Fernandez
a97e9cfda8 Revert "Comment unused variables"
This reverts commit 75b4ecb91c.
2017-05-02 20:08:16 +02:00
Carles Fernandez
75b4ecb91c Comment unused variables 2017-05-02 20:04:25 +02:00
Carles Fernandez
f5ab0c63f9 Remove unused variable 2017-05-02 19:47:16 +02:00
Carles Fernandez
902da19194 Use rtkpos instead of pntpos in rtklib_solver
so more positioning modes are available
2017-05-02 19:31:51 +02:00
Carles Fernandez
5581b2f888 Expose more RTKLIB parameters 2017-05-02 07:28:54 +02:00
Carles Fernandez
29efbd895b Expose more RTKLIB parameters to user configuration 2017-05-01 20:39:42 +02:00
Carles Fernandez
44883b2f4d Remove misplaced initializations 2017-05-01 00:00:55 +02:00
Carles Fernandez
d127f6adb8 Pass rtk struct to PVT block instead of opt_t 2017-04-30 16:06:01 +02:00
Carles Fernandez
6f140b67d1 Re-enable TTFF test 2017-04-29 19:14:59 +02:00
Carles Fernandez
6f89f89bf2 Make PVT a sink block and add RINEX printer configuration 2017-04-29 18:21:44 +02:00
Carles Fernandez
0b6affe38b Re-enable RTCM and RINEX writing, average parameters removed 2017-04-29 09:25:05 +02:00
Javier Arribas
44f748cb41 Fix the bug fix 2017-04-28 15:38:31 +02:00
Carles Fernandez
c0c1838deb Expose more RTKLIB conf options and add smart guesses for some defaults 2017-04-27 23:02:52 +02:00
Carles Fernandez
04a2ee9c34 Expose some RTKLIB options to user configuration 2017-04-27 20:23:25 +02:00
Carles Fernandez
560164711b Add work on the PVT block 2017-04-27 15:07:44 +02:00
Carles Fernandez
e16631ef89 Make the PVT block to consume all items it can 2017-04-27 08:29:44 +02:00
Javier Arribas
4df575aadb Fix compilation error in gcc 2017-04-26 16:32:00 +02:00
Carles Fernandez
18d2ba5e51 Pass configuration by reference 2017-04-26 16:09:30 +02:00
Carles Fernandez
54f9108f15 Fix segmentation fault 2017-04-26 16:01:47 +02:00
Carles Fernandez
7c6b18a00c Move RTKLIB configuration options struct to the adapter 2017-04-26 15:20:15 +02:00
Carles Fernandez
d116e75f98 Fix warning with gcc 2017-04-25 17:59:00 +02:00
Carles Fernandez
5c79e8bc26 Fix problems with old gcc 2017-04-25 17:54:07 +02:00
Carles Fernandez
5c6acdf540 Fix problems with old gcc 2017-04-25 17:50:25 +02:00
Carles Fernandez
8cd83d9ef5 Fix problems with old gcc 2017-04-25 17:37:11 +02:00
Carles Fernandez
28672c39e9 Fix problems with old gcc 2017-04-25 17:13:48 +02:00
Carles Fernandez
07484e094c Fix problems with old gcc 2017-04-25 17:04:13 +02:00
Javier Arribas
0fba8e7c20 Adding double frequency GPS L1 and L2 observables and ephemeris to rtklib solver 2017-04-23 12:53:05 +02:00
Carles Fernandez
27ab390944 Refactor of constants, remove defines
and start adapting rtklib code to our coding style
2017-04-21 11:34:23 +02:00
Javier Arribas
e90a9aa2bf Migration of the internal LS PVT solver to RTKLIB solver in progress. First working version for GPS L1. Removing SBAS duplicated code. 2017-04-20 16:10:12 +02:00
Javier Arribas
807ca24fc2 Refactoring code. Adding new experimental tests and new common TX time observables algorithm 2017-04-12 17:04:51 +02:00
Carles Fernandez
cec063f360 Prints fake IODE and IODC in GPS L2C-only RINEX navigation files
IODE and IODC are not defined in CNAV. If set to zero, tools such as
RTKLIB are not able to compute position. With this commit, we write a
fake value that changes whenever Toe in message types 10 and 11, and Toc
in types 30-37, do not match.
2017-04-01 10:47:36 +02:00
Javier Arribas
b745ebf0a8 GPS CNAV satellite positioning bug fixes. 2017-03-29 18:32:17 +02:00
Javier Arribas
73d07b4f1a Code cleaning. Removing unused variables 2017-03-24 16:43:35 +01:00
Javier Arribas
d42696bfd3 Consolidation of all the observables and PVT algorithms in hybrid observables and hybrid PVT supporting multi-signals and multi-system operations 2017-03-24 15:25:17 +01:00
Javier Arribas
b96d1707a9 GPS L2CM telemetry decoder rewrite, borrowed from the Swift navigator open source libraries 2017-03-23 15:45:41 +01:00
Javier Arribas
d6e5c2c329 Improving robustness of the GPS L1 telemetry decoder. This change prevents the random position fix losses due to an incorrect TOW update. Some log mesages cleaning 2017-02-15 10:56:41 +01:00
Carles Fernandez
10a12c155e Code cleaning 2017-02-10 10:34:19 +01:00
Carles Fernandez
5e125c52d7 Code cleaning 2017-02-06 19:48:52 +01:00
Carles Fernandez
dbe08ade8c Code cleaning 2017-02-06 19:24:17 +01:00
Javier Arribas
8c2f1f992f Adding consistency checks to the PVT solutions 2017-02-06 17:51:11 +01:00
Carles Fernandez
0362476864 Merging gnss-sdr/rinex_fix branch
This commit rewrites the way pseudoranges are computed, now accounting for the receiver clock offset. It also adds more work in the QA code. If extra tests are activated by -DENABLE_UNIT_TESTING_EXTRA=ON or -DENABLE_SYSTEM_TESTING_EXTRA=ON, additional raw data files, a software-defined signal generator and GPSTk 2.9 are downloaded. Many fixes and code refactoring in tracking blocks.
2017-02-03 14:04:13 +01:00
Javier Arribas
fc7ff7ba0b Upgrading Galileo PVT and Hybrid PVT chains with the latest bug fixes for GPS 2017-02-03 13:00:50 +01:00
Carles Fernandez
886e3d24d0 Merge branch 'rinex_fix' of https://github.com/gnss-sdr/gnss-sdr into
rinex_fix

# Conflicts:
#	src/algorithms/PVT/gnuradio_blocks/gps_l1_ca_pvt_cc.cc
#	src/algorithms/PVT/libs/gps_l1_ca_ls_pvt.cc
2017-01-30 20:26:50 +01:00
Javier Arribas
888bc17dbe More improvements in the PVT algorithm for better observables estimations 2017-01-30 19:03:18 +01:00
Carles Fernandez
4438ffe916 Code cleaning 2017-01-28 15:31:04 +01:00
Javier Arribas
d2c7bb62a1 Adding Bancroft's algorithm implementation for PVT initialization 2017-01-27 19:21:51 +01:00
Javier Arribas
3da0807044 PVT receiver time feedback to observables to account for the receiver clock offset. Prototype of observables unit test enabled 2017-01-25 17:15:32 +01:00
Carles Fernandez
939eac6daf Follow GNU coding style for braces 2017-01-20 16:11:57 +01:00
Carles Fernandez
3e18d54a74 Catch exceptions when stopping the rtcm server
Defect detected by Coverity scan
2017-01-14 15:43:34 +01:00
Javier Arribas
235aa77357 Bug fix in LS PVT solver in troposphere corrections causing erratic position fixes in high altitude GNSS receiver operations (>15 km) 2017-01-11 17:31:22 +01:00
Carles Fernandez
2744a26344 Configure RINEX version via configuration
This supersedes the value passed by the --RINEX_version flag. Useful for system testing
2016-12-21 15:43:00 +01:00
Javier
88000d7f23 Removing more debug prints in LS PVT 2016-12-14 11:19:08 +01:00
Javier
90cff8b893 Removing debug print in LS PVT 2016-12-14 11:04:32 +01:00
Carles Fernandez
3fd7639b6d Initialize all class members 2016-11-05 08:49:57 +01:00
Carles Fernandez
19d212065b Add generation of RTCM messages for more receiver configurations 2016-11-04 09:19:31 +01:00
Carles Fernandez
6ed6234170 Improve variable naming, some code cleaning 2016-11-03 16:58:54 +01:00
Carles Fernandez
035cc8c52a Make indentation clearer 2016-11-03 16:47:34 +01:00
Carles Fernandez
09f9e667c5 Add RTCM printer to some receiver configurations 2016-11-03 15:30:24 +01:00
Carles Fernandez
97ffee0b0c Use more descriptive names for variables 2016-11-03 14:52:30 +01:00
Carles Fernandez
1c975313b7 Use L2C observables for positioning 2016-11-03 14:33:20 +01:00
Carles Fernandez
ed6ce7226b Fix satellite ID in RINEX observation data for GPS 2016-11-03 11:33:55 +01:00
Carles Fernandez
9a3d5950ba Add work on Galileo observables RINEX printer 2016-11-03 10:49:10 +01:00