1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 20:50:33 +00:00
Commit Graph

1839 Commits

Author SHA1 Message Date
Carles Fernandez
30e634d408 Fix more warnings 2017-05-13 12:07:16 +02:00
Carles Fernandez
8f9aba298f Remove warnings in gcc 2017-05-13 10:41:35 +02:00
Carles Fernandez
44ba718de4 Fix compilation in gcc 2017-05-12 19:40:51 +02:00
Carles Fernandez
c804fb8d6f Add work on rtklib functions 2017-05-12 19:22:57 +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
9da436ec87 add more work on rtklib functions 2017-05-12 17:47:09 +02:00
Carles Fernandez
5d9ba16293 Merge branch 'rtklib_rtcm' of https://github.com/carlesfernandez/gnss-sdr into common_solver 2017-05-12 12:19:10 +02:00
Carles Fernandez
833192e183 Add more work on rtklib files 2017-05-12 12:17:42 +02:00
Carles Fernandez
f0c8fc7089 Add RTCM decoding functions 2017-05-12 08:55:59 +02:00
Javier Arribas
b2531cb926 Bug fixes in Galileo E5a telemetry decoding. Code cleaning in Galileo E5a tracking 2017-05-11 12:53:58 +02:00
Carles Fernandez
e82799d687 Code indentation 2017-05-11 06:15:06 +02:00
Carles Fernandez
314b80e8ac Fix compilation in macOS 2017-05-11 06:11:38 +02:00
Carles Fernandez
0253f4ba05 Merge remote-tracking branch 'upstream/common_solver' into next
This commit Integrates RTKLIB positioning libraries in a universal PVT
block implementation called RTKLIB_PVT. This results in an improved
positioning accuracy and precision with a wide range of options
(including Precise Point Positioning and ionospheric/troposphreic
models).

Not all the RTKLIB features have been ported. Some of them will be
progressively added. The ported options and how to configure them have
been documented in the website, see
http://gnss-sdr.org/docs/sp-blocks/pvt/

This commit also introduces a multi-band, multi system Observables block
implementation.

Relevant architectural changes that reduce latency and makes
multi-system, multi band signal handling easier.

Redundant blocks have been deleted. Old configurations are automatically
redirected to the new blocks for Observables and PVT, so the commit does
not break any existing configuration. The user should just notice a
relevant improvement in positioning performance.

# Conflicts:
#	src/core/receiver/gnss_flowgraph.cc
2017-05-10 22:16:18 +02:00
Carles Fernandez
3463d5437e Deactivate compilation of acquisition_lib until fix 2017-05-10 21:01:23 +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
e61b65760a Remove unrequired linking to armadillo 2017-05-10 15:57:31 +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
facd63f423 Connect RTKLIB trace to Glog verbose logging system
A given logging level can now be activated with the flag --v=level
2017-05-10 10:58:35 +02:00
Carles Fernandez
76c3f7b3b5 Remove blank lines 2017-05-09 11:47:37 +02:00
Carles Fernandez
74f08ede2f Remove some warnings 2017-05-08 23:03:42 +02:00
Carles Fernandez
9fef3fbfe9 Merge branch 'next_fpga' of https://github.com/gnss-sdr/gnss-sdr into next 2017-05-08 22:48:04 +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
41aa5f5e7e Warn user about deprecated implementations 2017-05-08 21:17:54 +02:00
Carles Fernandez
d873df57b3 Replace old implementation names by new ones so existing configurations do not break 2017-05-08 19:56:10 +02:00
mmajoral
de2043ca00 cleaned the acquisition code that runs in the Zynq SoC, cleaned some tracking files that run in the Zynq SoC as well. 2017-05-08 17:03:27 +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
de4ae22ab0 Remove warnings for unused parameters 2017-05-06 14:02:09 +02:00
Carles Fernandez
3731aed3ed Make code more readable 2017-05-06 13:51:32 +02:00
Carles Fernandez
a52617d5b4 Make code more readable 2017-05-06 13:29:43 +02:00
Carles Fernandez
9ee11b691d Make code more readable 2017-05-06 13:17:27 +02:00
Carles Fernandez
3f88fae88f Remove unnecessary include 2017-05-06 13:02:58 +02:00
Carles Fernandez
847db9ea10 Make code more readable 2017-05-06 13:00:13 +02:00
Carles Fernandez
f49e5ae3b0 Make code more readable 2017-05-06 12:34:09 +02:00
Carles Fernandez
1cb4425cde Fix PPP configuration 2017-05-06 10:45:33 +02:00
Carles Fernandez
7ec6affe2c Merge branch 'common_solver' of https://github.com/gnss-sdr/gnss-sdr into common_solver 2017-05-06 10:02:44 +02:00
Carles Fernandez
4f6ba053ef Get PPP working 2017-05-06 10:01:54 +02:00
mmajoral
28058000de set up the receiver to work with the FPGA 2017-05-05 17:08:49 +02:00
Javier Arribas
2ee29af3bd Adding FPGA accelerators support in gnss-sdr configuration options 2017-05-05 16:37:29 +02:00
mmajoral
eccbd0f97a acquisition gps unit test for the FPGA. The code is currently being cleaned 2017-05-05 16:15:27 +02:00
mmajoral
9195740d8a acquisition gps unit test for the FPGA. The code is currently being cleaned 2017-05-05 16:14:27 +02:00
Carles Fernandez
459abd29a7 Merge branch 'common_solver' of https://github.com/gnss-sdr/gnss-sdr into rtklib_2.4.2 2017-05-05 13:51:50 +02:00
Carles Fernandez
182fb02e7f Some required changes to use 2.4.2 ppp funcitions 2017-05-05 13:51:42 +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
Carles Fernandez
b3025b74a6 Add pararmeters to position test 2017-05-04 18:42:35 +02:00
Javier Arribas
1e390a7baa Adding the correct offset to the satellites PRN to enable multiple constellation in RTKLIB solver 2017-05-04 18:18:11 +02:00
Javier Arribas
654ba2c103 Enabling Galileo in RTKLIB 2017-05-04 17:32:40 +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
Javier Arribas
736e2039c6 Bug fix in Galileo E1 tracking timing notification 2017-05-04 16:43:12 +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
Javier Arribas
48bd883460 Increasing output buffer for GPS L1 telemetry block to avoid GNURadio flowgraph deadlocks 2017-05-03 17:58:21 +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
7b7a130957 Remove some warnings 2017-05-02 20:01:21 +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
Javier Arribas
9eee209f40 Removing unused code 2017-05-02 15:31:31 +02:00
Javier Arribas
c3c3266fad Adding an improved receiver time reporting system 2017-05-02 12:01:18 +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
b5d3f626f4 Fill SNR field in rtklib obs struct
Fix units in carrier phase
Pass structs and objects by reference instead of by value
const correctness
2017-04-30 12:32:04 +02:00
Carles Fernandez
c6ef71d82e Remove some warnings in ppp 2017-04-30 10:02:06 +02:00
Carles Fernandez
cd87e070a4 Remove some warnings in rtkpos and make it more readable 2017-04-30 09:08:19 +02:00
Carles Fernandez
9323360526 Fix TTFF test 2017-04-29 23:14:36 +02:00
Carles Fernandez
319eff0e52 Fix some warnings, make code more readable 2017-04-29 23:08:04 +02:00
Carles Fernandez
a5bfa2a938 Relax test thershold 2017-04-29 19:16:59 +02:00
Carles Fernandez
6f140b67d1 Re-enable TTFF test 2017-04-29 19:14:59 +02:00
Carles Fernandez
731d0e04eb Tell the scheduler that PVT is a sink block 2017-04-29 19:12:27 +02:00
Carles Fernandez
f4cc6addc6 Re-enable observables system test 2017-04-29 18:23:32 +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
dab7c0a8a6 Merge branch 'pvtconsumeall' of https://github.com/carlesfernandez/gnss-sdr into common_solver 2017-04-27 15:43:00 +02:00
Carles Fernandez
efaf01c78c Fix rate parameters 2017-04-27 15:41:59 +02:00
Javier Arribas
e26ddf07bc Bug fixes for duplicated observable time 2017-04-27 15:28:30 +02:00
Carles Fernandez
560164711b Add work on the PVT block 2017-04-27 15:07:44 +02:00
Carles Fernandez
5fe34321f2 Merge branch 'common_solver' of https://github.com/gnss-sdr/gnss-sdr into pvtconsumeall 2017-04-27 13:10:53 +02:00
Javier Arribas
ddcf1b1dee New observables generation algorithm that accepts multirate inputs from different GNSS systems 2017-04-27 12:20:24 +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
eedc9a4300 Merge remote-tracking branch 'cf/next' into common_solver 2017-04-25 20:33:45 +02:00
Carles Fernandez
c9af2b5d02 Fix missing log4cpp linking symbols when GNURADIO_FILTER_LIBRARIES were
built with log4cpp

See https://github.com/gnuradio/gnuradio/issues/1045
2017-04-25 20:08:45 +02:00
Carles Fernandez
dfeb41be50 Fix warnings with gcc 2017-04-25 19:21:12 +02:00
Carles Fernandez
bf0b5568f3 Fix warnings with gcc 2017-04-25 19:05:54 +02:00
Carles Fernandez
0496e55073 Fix warnings with gcc 2017-04-25 19:04:03 +02:00
Carles Fernandez
883b4072c7 Fix warnings with gcc 2017-04-25 18:27:23 +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
Carles Fernandez
52f3eaa373 Add rtkpos and its dependencies 2017-04-25 00:48:13 +02:00
Carles Fernandez
ce8869c5c5 Add rtkpos 2017-04-24 17:01:35 +02:00
Carles Fernandez
07ecbd2f5e Add computation of 2D and 3D bias to position test 2017-04-23 22:31:53 +02:00
Carles Fernandez
981d0579d6 Arrange headers 2017-04-23 21:10:32 +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
ed74fa2cff Refactor constants 2017-04-23 02:05:15 +02:00
Carles Fernandez
619c9f1f98 Add more code cleaning 2017-04-23 01:34:18 +02:00
Carles Fernandez
7f6075172b Remove last warning 2017-04-23 01:10:11 +02:00
Carles Fernandez
c28a9c5711 Remove more warnings 2017-04-23 01:04:48 +02:00
Carles Fernandez
7a1097a12d Convert unigned int to int to avoid warning in signed/unsigned integer 2017-04-23 00:53:19 +02:00
Carles Fernandez
c6349eccd1 Minor fixes 2017-04-23 00:36:57 +02:00
Carles Fernandez
979377a632 Deactivate PVT flag averaging 2017-04-22 23:50:21 +02:00
Carles Fernandez
fb1a058db7 Fix execution in macOS 2017-04-22 23:47:51 +02:00
Carles Fernandez
9805e0975b fix test compilation 2017-04-22 19:12:12 +02:00
Carles Fernandez
f4dac04285 merging next 2017-04-22 18:31:57 +02:00
Carles Fernandez
b362afca5b Add more cleaning of RTKLIB code 2017-04-22 18:27:11 +02:00
Carles Fernandez
03d5015390 Fix pow usage 2017-04-22 12:50:04 +02:00
Carles Fernandez
264668a69d Add position test
enabled with -DENABLE_SYSTEM_TESTING_EXTRA=ON
Computes accuracy and precision metrics
2017-04-22 12:09:48 +02:00
Carles Fernandez
417dc1daf1 Store work 2017-04-21 16:14:46 +02:00
Carles Fernandez
9c6ff1df9b Small fixes 2017-04-21 13:31:29 +02:00
Carles Fernandez
a2d2aa016e Add more constant refactoring 2017-04-21 11:57:27 +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
Carles Fernandez
4b00d74d1a Allow large files in 32 bit builds
try to fix
https://lintian.debian.org/tags/binary-file-built-without-LFS-support.html
2017-04-14 10:28:57 +02:00
Carles Fernandez
b7fba936ef Fix dh_auto_test execution, fixes #47 2017-04-13 20:29:56 +02:00
Carles Fernandez
95ffcd3ac0 Improve portability
In some architectures (e.g. alpha, hppa, powerpcspe, m68k,  sh4, sparc64, x32) the package gr-osmosdr is not available. So when the package is build with -DENABLE_OSMOSDR=ON, it breaks on the mentioned architectures. This is expected behaviour (it breaks because a required dependency is not found), but prevents from building the package on such architectures. This commit introduces a small change: when compilation is called with

cmake -DENABLE_OSMOSDR=ON -DENABLE_PACKAGING=ON ..

then, the compilation does not break if gr-osmosdr is not found.

This commit also fixes building when UHD is present but gnuradio-uhd is not (for instance, in hurd-i386)
2017-04-12 18:06:04 +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
d76e8efe18 Applying broadcast Group Delay (TGD) to correct GPS L1 CA observables to improve positioning accuracy 2017-04-12 16:55:34 +02:00
Carles Fernandez
1ed4b506df Fix typo 2017-04-12 08:09:51 +02:00
Carles Fernandez
dc2ed129e2 Fix the list of requirements 2017-04-12 08:06:34 +02:00
Carles Fernandez
c994d04a5b Removed git from the list of requirements 2017-04-11 19:19:14 +02:00
Carles Fernandez
2da64e0685 More required manual changes 2017-04-11 19:15:38 +02:00
Carles Fernandez
f68c4d091f Manual changes of things broken by automatic conversion 2017-04-11 19:09:28 +02:00
Carles Fernandez
1191161aef Set a column width of 72 to make the file more readable in plain text
Done with http://www.formatit.com/
2017-04-11 18:59:12 +02:00
Carles Fernandez
0f796343bc Add upstream changelog as stated at Debian Policy Manual 12.7
https://www.debian.org/doc/debian-policy/ch-docs.html#s-changelogs
2017-04-07 18:56:35 +02:00
Carles Fernandez
2b442777ce Fix spelling error detected by lintian 2017-04-07 17:25:21 +02:00
Carles Fernandez
14415c1316 Fix test when building with clang 8.0.0 2017-04-07 17:02:55 +02:00
Carles Fernandez
d8fa3ff14f Replace 255 by 0xFF to apease the clang compiler
This avoids hundreds of warnings of type:

warning: implicit conversion from 'int' to 'char' changes value from 255
to -1 [-Wconstant-conversion]
mask_imag = _mm_set_epi8(255, 255, 0, 0, 255, 255, 0, 0, 255...
            ~~~~~~~~~~~~ ^~~
2017-04-01 11:34:46 +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
785d0d935d Adjusting GPS L2CM TOW in telemetry decoder. Some magic number in TOW symbol has still to be further investigated 2017-03-31 12:48:48 +02:00
Javier Arribas
e0b0605545 Removing unused code, improving ref satellite selection in observables and partial correction of the gps L2 TOW offset bug 2017-03-30 19:25:46 +02:00
Javier Arribas
b745ebf0a8 GPS CNAV satellite positioning bug fixes. 2017-03-29 18:32:17 +02:00
Javier Arribas
5b83d828da Removing duplicated code 2017-03-29 11:49:23 +02:00
Javier Arribas
620a44dad9 Fix compilation error for GPU tracking module 2017-03-29 10:35:50 +02:00
Javier Arribas
ab75381e33 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into common_solver 2017-03-29 10:26:54 +02:00
Carles Fernandez
cff63b378a Adapt to gnss-sdr coding style 2017-03-28 19:32:42 +02:00
Carles Fernandez
fa4eb25920 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2017-03-28 19:09:27 +02:00
Carles Fernandez
21e61ed262 Improve file headers 2017-03-28 19:08:59 +02:00