1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-09-30 07:50:51 +00:00
Commit Graph

339 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
25bb7ae54d Code cleaning 2017-05-08 21:30:41 +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
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
560164711b Add work on the PVT block 2017-04-27 15:07:44 +02:00
Carles Fernandez
18d2ba5e51 Pass configuration by reference 2017-04-26 16:09:30 +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