1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-06 01:56:25 +00:00
Commit Graph

508 Commits

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