1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-16 13:10:35 +00:00
Commit Graph

320 Commits

Author SHA1 Message Date
Sergi Segura
a699c80673 Receive ephemerides xml 2018-08-09 20:36:11 +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
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
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
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
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
0d60d97c24
Use https instead of http in links when available
Update copyright year in headers
2018-05-13 22:49:11 +02:00
Álvaro Cebrián Juan
f1a77dfb1f Initialize gpx printer in RTKLIB_PVT block 2018-05-05 07:47:42 +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
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
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
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
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
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
Carles Fernandez
5acef7a9bc Remove warnings of unused variables 2018-01-20 12:24:38 +01: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
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
52aabf05c1 Fix GPS L5 2017-12-15 10:57:12 +01:00
Antonio Ramos
6395f0e5fc Add GPS L5 Channel 2017-11-30 18:16:49 +01: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
a1b9b092f5 Debugging GLONASS code to obtain position solution 2017-10-19 13:22:55 -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
bf9345ebd2 Fixes error after rebase operation from upstream/next 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
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
2b18ae14fe Replace iterators by const iterators 2017-08-17 11:03:02 +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
73b6613a3d Declare more data members private 2017-08-16 13:44:31 +02:00
Carles Fernandez
c1bbdd74d4 Declare all Pvt_Solution data members private 2017-08-16 12:45:00 +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
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
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
97bb5906aa Replace fabs by std::fabs 2017-05-10 11:13:02 +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
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
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
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
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
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
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
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
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
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
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
1c975313b7 Use L2C observables for positioning 2016-11-03 14:33:20 +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
08f0a36075 Improve queue management gnss-sdr and in TTFF tests.
Always destroy queues when exiting
2016-10-03 17:43:06 +02:00
Carles Fernandez
3a10f3c26b Inform about TTFF 2016-10-02 01:55:48 +02:00
Carles Fernandez
db71c74898 Small fixes 2016-10-01 19:09:55 +02:00
Carles Fernandez
a2eaab884e Add sysV queue to the GPS PVT block 2016-10-01 11:03:40 +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
94855ffa06 Attempt to generate hybrid GPS L1 / Galileo E1 RTCM messages 2016-05-10 22:16:50 +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
b1188e9c92 Set configuration of RTCM messages rate 2016-05-09 19:28:02 +02:00
Carles Fernandez
af56520798 Fix Galileo MSM message numbers 2016-05-09 19:24:29 +02:00
Carles Fernandez
cdbba89996 Expose Galileo RTCM messages rate to the PVT configuration 2016-05-07 23:15:17 +02:00
Carles Fernandez
818e09536b Exposing RTCM message rate to the configuration 2016-05-07 12:22:40 +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
Carles Fernandez
97f4f24c88 Enable RTCM messages in Galileo E1 receiver 2016-05-04 19:53:53 +02:00
Carles Fernandez
8fe691dc76 Fix computation of lock time
LLI still not implemented, values will be incorrect upon first loss of
lock.
2016-05-04 19:18:34 +02:00
Carles Fernandez
95f75d407e Fix phase range rate computation in RTCM messages 2016-05-03 14:35:43 +02:00
Javier Arribas
3d2e72c790 Re-enabling the GPS L1 warm start ephemeris assistance stored in XML file 2016-05-03 12:34:38 +02:00
Carles Fernandez
eb8539a725 fix TOW formatting in RTCM messages 2016-05-03 11:01:10 +02:00
Carles Fernandez
b1740460fd print ephemeris of all tracked satellites in RTCM messages 2016-05-03 00:56:08 +02:00
Carles Fernandez
831cc75153 Remove tabs from the source code 2016-05-02 23:46:30 +02:00
Carles Fernandez
ad16c5ab35 some test fixes 2016-05-01 12:39:40 +02:00
Carles Fernandez
ad9dd71359 code cleaning 2016-04-25 20:34:56 +02:00
Carles Fernandez
2b7175083f Merge branch 'next' of git+ssh://github.com/gnss-sdr/gnss-sdr into next 2016-04-13 18:26:19 +02:00
Carles Fernandez
4a1812197b Deleting unnecessary contructors when posting messages
and some code formatting
2016-04-13 17:50:16 +02:00
Javier Arribas
638fbf7bd8 Removing unused queues in PVT 2016-04-13 16:55:14 +02:00
Javier Arribas
7560a158f0 More telemetry global queues migration to GNURadio asynchronous messages
and
some
code cleaning
2016-04-13 16:19:15 +02:00
Javier Arribas
b56183f93b Replacing Galileo E1, SBAS, and GPS L2C telemetry shared queues and maps
with GNURadio asynchronous messages (TLM -> PVT)
2016-04-12 17:29:16 +02:00
Javier Arribas
588864e19e Replacing GPS telemetry shared queues and maps with GNURadio
asynchronous messages (TLM -> PVT)
2016-04-12 15:28:58 +02:00
Javier Arribas
150aceb404 Process optimization: Moved the receiver stdout status output
(a.k.a seconds counter) from the tracking blocks to PVT block
2016-04-06 17:33:52 +02:00
Javier Arribas
98bfb7d801 Removing more unused parameters warnings using
the __attribute__((unused)) pre-compiler directive
2016-04-06 16:27:47 +02:00
Javier Arribas
b4e8966691 Removing the unused Output_filter block from the gnss_sdr flowgraph 2016-04-06 16:12:06 +02:00
Carles Fernandez
7d0e3126aa Merge branch 'next' of git+ssh://github.com/gnss-sdr/gnss-sdr into next
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2016-02-09 19:43:07 +01:00
Carles Fernandez
d0ac06d71d Cleaning includes 2016-01-04 22:56:52 +01:00
Carles Fernandez
972c86c1ea cleaning the use of includes 2016-01-04 18:06:54 +01:00
Carles Fernandez
286ee3b561 Integrating the RTCM printer
Now the Galileo E1 receiver generates RTCM messages 1045 (ephemeris) and
MSM7 / 1097 (observables). Parameters related to RTCM included in conf
files. The TCP/IP server can be activated by setting flag_rtcm_server to
true.
2015-12-25 10:25:22 +01:00
Carles Fernandez
f70df3e581 Integrating the RTCM message printer
Now the GPS L1 receiver generates 1002 and 1019 messages. Bugs in the
Rtcm class fixed.
2015-12-24 20:56:41 +01:00
Carles Fernandez
450728dfeb fix defect detected by coverity scan: rinex observables are printed if
both GPS and Galileo observables are available. This avoids
dereferencing an iterator though it is already past the end of its
container (in case only one of them were available)
2015-12-08 21:10:17 +01:00
Carles Fernandez
6c9a90abe4 fixing defects detected by coverity scan 2015-12-08 20:24:36 +01:00
Carles Fernandez
45195917c1 fixing some gnuradio-related warnings reported by gcc, so others can be spotted easier 2015-12-02 18:25:06 +01:00
Carles Fernandez
0c57c6b6f7 working on the printers: added time tag to KML and GeoJSON names, some
fixes of CRC computation and check, more tests
2015-11-22 14:43:52 +01:00
Carles Fernandez
6336556163 Some cleaning 2015-11-15 23:31:27 +01:00
Carles Fernandez
f68a1fe9bc Refactoring PVT solution library and adding a GeoJSON format printer 2015-11-14 20:41:28 +01:00
Carles Fernandez
d52c3e36e3 Refactoring least squares computation 2015-11-14 14:17:02 +01:00
Carles Fernandez
4850944e00 fixing coverity issues 2015-05-15 03:02:45 +02:00
Carles Fernandez
ec7c514a84 adding missing end of line in terminal output 2015-05-06 12:40:21 +02:00
Carles Fernandez
b052f7ace6 Fixing bug in UTC time computation 2015-03-20 20:17:41 +01:00
Carles Fernandez
37884afd0d Code cleaning 2015-03-04 21:22:35 +01:00
Carles Fernandez
fde51c453b Fixing reading of UTC and IONO data in Galileo 2015-03-04 17:12:42 +01:00
Carles Fernandez
d72d853843 Fixing reading of UTC and IONO data in Galileo 2015-03-04 16:15:59 +01:00
Carles Fernandez
a4e48eac4d Removing warning 2015-03-03 21:56:17 +01:00
Carles Fernandez
42ea31b677 Fixing utc and iono info reading when channel 0 is out of lock 2015-03-03 20:40:14 +01:00
Carles Fernandez
8b84847a5a Updating RINEX obs header when leap second is available (version 3.02) 2015-03-03 19:56:40 +01:00
Carles Fernandez
0b47f2e719 Updating RINEX obs header when leap second is received (version 2.11) 2015-03-03 18:01:53 +01:00
Carles Fernandez
bf85e1fbe1 Updating RINEX nav file when IONO and UTC data are available (version
3.02)
2015-03-03 17:35:26 +01:00