1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-09-19 18:59:47 +00:00
Commit Graph

305 Commits

Author SHA1 Message Date
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
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
19d212065b Add generation of RTCM messages for more receiver configurations 2016-11-04 09:19:31 +01:00
Carles Fernandez
035cc8c52a Make indentation clearer 2016-11-03 16:47:34 +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
Carles Fernandez
abc2139ca6 Add work on the generation of RINEX files for more receiver configs 2016-11-03 08:20:31 +01:00
Carles Fernandez
ea8e605fb5 Add work on the hybrid receiver 2016-11-03 00:07:05 +01:00
Carles Fernandez
fe6b2387f4 Add moving average parameter in observables 2016-11-02 17:35:40 +01:00
Carles Fernandez
d4a14c3f2d RINEX obs files GPS dual-band: Fill obs with 0s if signal is not present 2016-11-01 14:02:23 +01:00
Carles Fernandez
ece71a53fb Improve log of dual-band GPS observations in RINEX files 2016-11-01 13:01:35 +01:00
Carles Fernandez
74a23c5575 Add the ability to print multiband Galileo observables in RINEX files 2016-11-01 11:00:44 +01:00
Carles Fernandez
f0bef19fdb Add multi-band capability to the Galileo observables RINEX printer 2016-10-31 22:32:58 +01:00
Carles Fernandez
0e10be6534 Clean code 2016-10-30 10:20:34 +01:00
Carles Fernandez
2ddc78992f Add ability to print GPS L2-only observables 2016-10-29 17:59:48 +02:00
Carles Fernandez
2f145e8f19 Add ability to log GPS dual freq (L1/L2C) observations 2016-10-29 17:15:04 +02:00
Carles Fernandez
5e24e3d486 Fixes CNAV message files 2016-10-29 12:41:51 +02:00
Carles Fernandez
25a57d5b88 Work on Rinex printer 2016-10-29 11:42:17 +02:00
Carles Fernandez
5a73b4e047 Improve package reproducibility
Packages using CMake often use file(GLOB ...) to retrieve a list of
source files. As this is based on readdir(), the resulting file list
is unsorted. A common use case is to pass this list directly to
add_executable or add_library. But as the order is unpredictable, the
binaries are not reproducible (because the order in which the objects
are linked will vary).

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824263
2016-05-23 19:51:59 +02:00
Carles Fernandez
b2dfd34a31 Revert wrong commit 2016-05-12 23:25:50 +02:00
Carles Fernandez
b601f57d17 Fix building if gflags was built on the fly 2016-05-12 20:21:50 +02:00
Carles Fernandez
fc7d3118c5 Fix computation of time in the hybrid Galileo/GPS solution 2016-05-10 21:19:09 +02:00
Carles Fernandez
fda0b93d83 Fix bug in hybrid PVT
The block was not correctly handling satellites from the two constellations, causing problems when receiving two satellites (one GPS and one Galileo) with the same PRN number
2016-05-10 11:18:41 +02:00
Carles Fernandez
9cbb88bc9f TCP port and RTCM station ID are now configured by the printer
Merge branch 'next' of git+ssh://github.com/gnss-sdr/gnss-sdr into next
2016-05-06 21:00:08 +02:00