1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-19 16:24:58 +00:00
Commit Graph

634 Commits

Author SHA1 Message Date
Gastd
7f4fc690df Update glonass prn table 2017-08-23 13:05:33 -03:00
Gastd
3990e0a7ce Add Glonass channels to PVT and Observables 2017-08-23 13:05:33 -03:00
Gastd
7a667635e8 Change Glonass string 2017-08-23 13:01:59 -03:00
Gastd
ffb523a8c0 Only 24 SV's available 2017-08-23 13:00:54 -03:00
Gastd
cb32755045 Add Glonass L1 C/A channel to the block factory 2017-08-23 13:00:54 -03:00
Gastd
f7092b68b6 Add Glonass_L1_CA.h with Glonass L1 CA parameters 2017-08-23 13:00:54 -03:00
Gastd
d3c3cab980 fix glonass signal string 2017-08-23 13:00:54 -03:00
Gastd
99104bc8bc Add glonass svn in signals list 2017-08-23 13:00:54 -03:00
Antonio Ramos
e1dc9f5aac Improving real-time performances of input filters
Pulse blanking and Notch filters improved
2017-08-21 13:11:18 +02:00
Carles Fernandez
122ec19626 Make use of the inline keyword where appropriate 2017-08-21 11:45:12 +02:00
Carles Fernandez
fe17181af3 Replace some C-style cast by static_cast<>() 2017-08-18 19:15:45 +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
f71933e938 Use const iterator 2017-08-17 17:23:08 +02:00
Carles Fernandez
ef1e4a4cd8 Update iterator when doint insert in a list 2017-08-17 11:31:22 +02:00
Carles Fernandez
2b18ae14fe Replace iterators by const iterators 2017-08-17 11:03:02 +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
174bba55fc Remove blank 2017-08-13 17:32:01 +02:00
Carles Fernandez
d6fec67489 Replace use of strlen and strncpy by C++ counterparts 2017-08-13 10:57:54 +02:00
Carles Fernandez
5f181ef915 Replace stdio.h by fstream 2017-08-13 10:00:01 +02:00
Javier Arribas
d4c9d378c9 Adjusting observable block default buffer history 2017-08-03 17:52:42 +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
Antonio Ramos
93de803b41 GetBlock method modification
Adding Notch_Filter to the list of implementations
2017-06-19 15:40:40 +02:00
Antonio Ramos
4c52774da1 Including notch filter header to GNSSBlockFactory
Adding #include "notch_filter.h"
2017-06-09 14:11:20 +02:00
Carles Fernandez
4d34ccfd07 Initialization of class member in the constructor 2017-06-06 15:32:57 +02:00
Javier Arribas
81a1712082 Removing the GNURadio sample forecast requirements from telemetry decoders, thus to reduce the positioning delay and alleviate the GNURadio buffering requirements 2017-05-17 12:48:57 +02:00
Carles Fernandez
5aec42ddef Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2017-05-14 19:00:34 +02:00
Carles Fernandez
84c13a5e2a Fix more warnings in gcc 2017-05-13 20:52:48 +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
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
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
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
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
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
Javier Arribas
c3c3266fad Adding an improved receiver time reporting system 2017-05-02 12:01:18 +02:00
Carles Fernandez
731d0e04eb Tell the scheduler that PVT is a sink block 2017-04-29 19:12:27 +02:00
Carles Fernandez
ed74fa2cff Refactor constants 2017-04-23 02:05:15 +02:00
Carles Fernandez
f4dac04285 merging next 2017-04-22 18:31:57 +02:00
Carles Fernandez
417dc1daf1 Store work 2017-04-21 16:14:46 +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
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
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
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
f83b01f65f Add missing include for fmod 2017-03-25 18:11:36 +01: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
d5656e65a8 Adding experimental input filter Pulse Blanking algorithm implementation 2017-02-21 11:35:18 +01:00
Carles Fernandez
ca0352b36b Improve initialization 2017-02-10 09:57:16 +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
Javier Arribas
2b49f670a7 GPS Satellite broadcast ephemeris time is now referenced to TOC instead of TOE 2017-01-30 10:57:18 +01:00
Javier Arribas
d2c7bb62a1 Adding Bancroft's algorithm implementation for PVT initialization 2017-01-27 19:21:51 +01:00
Javier Arribas
3a11452a9e Bug fixes and Code refactoring in telemetry decoder 2017-01-26 16:09:49 +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
Javier Arribas
c6cb41cfe3 GPS L1 CA DLL/PLL tracking fixes and gnss_synchro code refactoring 2017-01-25 11:58:05 +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
Carles Fernandez
e5000e4dca Add four new Galileo satellites: FM7, FM12, FM13, FM14
launched by Ariane 5ES on Nov. 17, 2016
2016-11-30 22:30:13 +01:00
Carles Fernandez
05f8b78751 Change blocks name from L2_M to L2C 2016-11-03 19:33:04 +01:00
Carles Fernandez
e918da7785 Change name of L2C observables block 2016-11-03 19:03:17 +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
866bb1537f Add Galileo E5a observables block 2016-11-03 12:18:56 +01:00
Carles Fernandez
779ab48feb Add observables block for GPS L2C 2016-11-03 12:02:25 +01:00
Carles Fernandez
9a6dfc65d7 Fix reference to ICD 2016-10-29 17:21:13 +02:00
Carles Fernandez
25556238d7 Reordering list of Galileo satellites
* means "Testing" status, ** means "Not available". Added satellite name
in comments
2016-10-22 14:21:10 +02:00
Carles Fernandez
2fe809d039 Update links of Galileo ICD to version 1.2 2016-10-22 13:46:22 +02:00
Carles Fernandez
3d315af286 Fix erros in Galileo message decoding
Thanks to Patricia Lopez Torres from Fundacion Ayesa for spotting the
errors.
2016-10-22 13:19:17 +02:00
Carles Fernandez
6412bbc8d3 Change variable names to something more meaningful 2016-10-16 10:00:39 +02:00
Carles Fernandez
1913f0d4fa Exit program if it cannot create SysV message queues 2016-10-13 12:02:55 +02:00
Carles Fernandez
b1721489e5 Kill the SysV queue listener when stopping the control thread 2016-10-03 18:51:00 +02:00
Carles Fernandez
67a4066738 Fix typo 2016-10-03 17:45:06 +02: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
047ced2b20 Improve queue management 2016-10-03 13:43:20 +02:00
Carles Fernandez
7eff6df4dd Create converter_ in the constructor 2016-10-02 02:03:59 +02:00
Carles Fernandez
b80eba91c8 Terminate run when testing TTFF 2016-10-01 18:43:58 +02:00
Carles Fernandez
32445c9864 Add a queue listener to the control thread 2016-10-01 17:32:38 +02:00
Carles Fernandez
15eb6adb8b Fix Galileo E5a/I codes 2016-09-23 16:01:34 +02:00
Carles Fernandez
0f514e51f2 Merging the work on macOS Sierra 2016-09-22 20:20:18 +02:00
Carles Fernandez
a701f5d6af Add new Galileo satellites 2016-08-20 13:50:28 +02:00
Carles Fernandez
62e1e6f81a Now the block factory automatically detects the input data type
So it is no longer required to specify Channel.input_type=cshort in the
configuration. An error raises if Acquisition and Tracking Blocks are
not configured with the same input data type.
2016-08-15 11:57:12 +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
df47884cd7 Clean the factory
Now GetBlock does not require a queue for generating blocks that do not
use it.
2016-05-10 01:32:26 +02:00
Carles Fernandez
f1a5708891 Remove unused queue in Signal Conditioners 2016-05-09 18:53:48 +02:00
Carles Fernandez
953bc4686e Remove unused queue in input filters and data type adapters 2016-05-09 18:44:58 +02:00
Carles Fernandez
3bd59ec83e Remove unused queue from acquisition blocks
Now replaced by GNU Radio's message passing system
2016-05-09 16:44:54 +02:00
Carles Fernandez
0acb48c0b5 Remove unused queue from tracking blocks
Now replaced by GNU Radio block's message passing system
2016-05-09 11:51:42 +02:00
Carles Fernandez
7a6952f8b6 Remove unused queue
Now replaced by GNU Radio block's message passing system
2016-05-09 10:27:42 +02:00
Carles Fernandez
1cbaf99ebd Initialize all class members in the constructor 2016-05-08 08:21:25 +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
Luis Esteve
af8ced3a2e Improve documentation of gnss_block_factory.cc 2016-05-06 17:01:11 +02:00
Carles Fernandez
e11e5545c8 TCP port and RTCM Station ID config can be done now by the Rtcm_Printer 2016-05-06 14:00:13 +02:00
Carles Fernandez
4dc5c66269 Remove compilation warning 2016-05-05 18:04:29 +02:00
Carles Fernandez
0ea36db356 code cleaning 2016-05-04 19:15:18 +02:00
Carles Fernandez
586edddbcf Fix in computation of lock time in GPS L2 2016-05-04 19:14:09 +02:00
Carles Fernandez
d1cc8d3053 Fix computation of fine phase range in RTCM messages 2016-05-04 15:35:35 +02:00
Carles Fernandez
2494a3dc0f Fix encoding of fine phase range rate 2016-05-04 12:35:09 +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
831cc75153 Remove tabs from the source code 2016-05-02 23:46:30 +02:00
Carles Fernandez
fbfc4a28ba Improve memory management
The blocks are now always managed by smart pointers instead of raw pointers
2016-05-02 17:26:32 +02:00
Carles Fernandez
d24ea0e916 add a 0 before the PRN number if smaller than 10 2016-05-02 15:11:43 +02:00
Carles Fernandez
d4793470a9 add the identifier E to Galileo PRN numbers 2016-05-02 14:36:26 +02:00
Carles Fernandez
d0ddc6e923 Updating the list of available satellites
and keeping the list in a single place
2016-05-02 12:06:23 +02:00
Carles Fernandez
ae8eaee724 minor cleaning 2016-05-02 01:28:37 +02:00
Carles Fernandez
ed8d647935 fixing binary format in RTCM messages 2016-05-02 01:24:23 +02:00
Carles Fernandez
4fd4c24747 Print RTCM messages in binary format 2016-04-30 15:20:56 +02:00
Carles Fernandez
0f2a08f49d 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-04-22 18:41:24 +02:00
Javier Arribas
4cee7965c4 Code cleaning and config simplifications 2016-04-22 12:04:08 +02:00
Javier Arribas
0a5573f666 several receiver configuration mechanism simplifications and several bug fixes. Work in progress 2016-04-21 18:54:08 +02:00
Javier Arribas
5cdd6b2cc9 Re-enabling the GPS L1 warm start ephemeris assistance stored in
XML file. Now GNSS-SDR is able to load auto-stored ephemeris from
previous runs to speed up the position fix.
2016-04-20 12:58:54 +02:00
Javier Arribas
31ae25cb83 Bug fix: prevent random core dumps at gnss-sdr exit process by adding 500ms delay at gnss-sdr stop process to allow all the message queues to process the remaining messages. 2016-04-18 14:38:25 +02:00
Javier Arribas
0f80ce0159 Channel internal message queue is replaced by the asynchronous GNURadio
message system. Removing the deprecated channel internal queue and its
references. Some tests that are using the old channel queue are disabled
in this version
2016-04-15 16:33:41 +02:00
Javier Arribas
bd60379753 Removed unused queues in telemetry decoders 2016-04-13 17:18:29 +02:00
Javier Arribas
6b45d4019c removed unused queues in observables blocks 2016-04-13 17:02:33 +02:00
Javier Arribas
638fbf7bd8 Removing unused queues in PVT 2016-04-13 16:55:14 +02:00
Javier Arribas
6ba8cea5f4 removed unused queue from PCPS acquisition constructors 2016-04-13 16:45:17 +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
1c2f897655 Refactoring the gnss_synchro member initializations and minor bug fixes. 2016-04-07 18:25:45 +02:00
Javier Arribas
b4e8966691 Removing the unused Output_filter block from the gnss_sdr flowgraph 2016-04-06 16:12:06 +02:00
Javier Arribas
9db0990adc Deleted obsolete DLL_FLL_PLL GPS tracking. Deleted obsolete correlator.h
and migrated all tracking in order to use the newer and optimized
cpu_multicorrelator. Code simplification and code cleaning
2016-04-06 14:58:18 +02:00
Javier Arribas
b2034896e1 Merge branch next_gps_20ms_corr with next. Removing obsolete code and code cleaning 2016-03-30 15:03:25 +02:00
Javier Arribas
d15066fda6 Bug fix in Hybrid PVT date/time computation. Removed the obsolete GPS L1 Optim tracking block 2016-03-29 18:40:00 +02:00
Carles Fernandez
1703be7612 Removing optim_tracking 2016-03-18 20:28:27 +01:00
Javier Arribas
083350bd61 Refactoring of GPS L1 CA telemetry decoder. PVT is not yet fully tested 2016-03-18 17:36:29 +01:00
Javier Arribas
840bb1b9a3 Work on the telemetry decoder to support the variable-length correlator in GPS L1 CA tracking 2016-03-17 18:54:41 +01:00
Carles Fernandez
754e4436ee Revert "Experimental extended correlation for GPS L1 CA C_Aid tracking"
This reverts commit d664dc63b3.
2016-03-15 10:01:08 +01:00
Carles Fernandez
1e9a9d1a55 reverting wrong commit 2016-03-09 15:56:07 +01:00
Javier Arribas
d664dc63b3 Experimental extended correlation for GPS L1 CA C_Aid tracking 2016-03-08 18:30:56 +01:00
Javier Arribas
833ca8ab8c Provisional bug fix to avoid random channel state machine deadlock
caused by an incorrect sequence of events
2016-03-04 14:08:19 +01:00
Javier Arribas
36c8db4143 Code cleaning and removing deprecated tracking modules 2016-03-01 16:45:46 +01:00
Carles Fernandez
29a91e66bf Adding two new Galileo satellites: FOC-FM8 and FOC-FM9 2016-02-22 10:27:08 +01:00
Carles Fernandez
b69e759e45 possible fix of building error in Ubuntu 12.04
NULL was taken as int instead of null pointer; nullptr resolves the
ambiguity
2016-02-02 22:03:10 +01:00
Javier Arribas
5a716840ab tracking dll pll cAid can work now with gr_complex and cshort just
setting the data imput type in config file. All the internal receiver
signal chain can work in complex short for the first time. Speed
improvement using custom gnss-sdr volk kernels for cshort data input
types.
2016-01-19 18:37:30 +01:00
Carles Fernandez
601dc7a85c Merge branch 'new_next' of git://github.com/Arribas/gnss-sdr into
new_volk_module
2016-01-12 20:57:06 +01:00
Carles Fernandez
24909510e7 Updating volk_gnsssdr to the new volk scheme 2016-01-12 20:15:16 +01:00
Javier Arribas
c2676ec491 Added missing includes (to be removed in future versions). Steps towards
the integration of new standalone kernels into volk_gnsssdr library.
2016-01-12 18:58:00 +01:00