1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-07-14 23:54:21 +00:00
Commit Graph

453 Commits

Author SHA1 Message Date
marc-sales
91964ffbf3 push final version 2014-08-20 11:02:16 +02:00
marc-sales
1d3d40cefd final version 2014-08-20 10:59:47 +02:00
Carles Fernandez
b746d1c619 Merging quicksync branch by Damian Miralles (GSoC 2014) 2014-08-19 18:52:05 +02:00
Carles Fernandez
4ed8a44d2d Decreasing the number of realizations so run_tests don't take ages to
finish :-)
2014-08-19 18:44:09 +02:00
Damian Miralles
741c091e18 Final editing of the QuickSync algorithm in the GNSS-SDR platform. Cahnges include a better layout of
the code test, bugs correction and the most significant is the modifiable option in the folding factor
if the user requires it.
2014-08-13 14:51:25 -04:00
Carles Fernandez
2445620e76 Changing build type to RelWithDebInfo if ENABLE_GPERFTOOLS option is ON 2014-08-10 20:00:10 +02:00
Carles Fernandez
3257d8cba1 Improving handling of optional processing blocks and linking libraries.
New options ENABLE_GN3S, ENABLE_RTLSDR, ENABLE_OPENCL, ENABLE_ARRAY and
ENABLE_GPERFTOOLS, all set by default to OFF. Users can enable that
features by 'cmake -DENABLE_XXX=ON ../ '. OpenCL is now not used by
default since it was giving problems in some platforms. Old variables
(RTSDR_DRIVER, GN3S_DRIVER, RAW_ARRAY_DRIVER and DISABLE_OPENCL) are
still honored and can be used in the same way, but the new ENABLE_XXX
are recommended for the sake of more uniform naming. Main CMakeFile.txt
has been rearranged, putting options first, then searching for the
required libraries, and then the optional ones. If Gperftools is enabled
and found, binaries are linked to the tcmalloc and profiler libraries,
and using the adequate flags. Fixed building in Mac OSX if Armadillo and
OpenBLAS were not installed in the system.
2014-08-07 21:04:01 +02:00
marc-sales
3b3c809dab Unified acquisition 2014-08-05 02:01:37 +02:00
Carles Fernandez
32de19051a Small changes in config_2 2014-07-24 03:11:58 +02:00
Carles Fernandez
7640be1c96 Fixing typo 2014-07-24 02:36:14 +02:00
Carles Fernandez
42ae5cbd88 First commit of the acquisition method based on the QuickSync algorithm.
Code developed by Damian Miralles.
2014-07-24 01:38:58 +02:00
marabra
2bc779b3b5 activated IFEN reference coordinates 2014-07-22 09:36:53 +02:00
marabra
0303ac536a Added GNSS-SDR statistics over PVT and gnuplot scripts 2014-07-22 09:30:27 +02:00
Javier Arribas
cefd2de5af Merge remote-tracking branch 'origin/next' into gps_galileo_hybrid 2014-07-20 16:53:52 +02:00
Carles Fernandez
6967fc833e Fixes rounding errors in frequency to period conversion that were
causing tracking losses. Bug spotted by Marc Sales.
2014-07-19 19:29:27 +02:00
marc-sales
7d6ec42f24 coherent 2or3 ms adding noncoherently I+Q acquisition,
dll+pll tracking still diverges
2014-07-07 21:06:26 +02:00
Javier Arribas
abe9ca9450 Hybrid PVT working!! It was a problem with the timestamp account in the
correlators due to the differences in the correlation time (PRN length).
Only corrected on GPS_DLL_PLL and Galileo veml correlator.
2014-06-30 17:48:01 +02:00
Carles Fernandez
8531a758ea Includes header files at add_libraries(...), which makes IDEs such as
Xcode to display them
2014-06-28 03:55:57 +02:00
marc-sales
841ae59d6a Added two acquisition strategies. Flowgraph is changed to produce
default signal when doing sky search.
2014-06-26 00:11:44 +02:00
marc-sales
4b5526ec7e E5a Dll/Pll tracking + tracking test + Secondary code delay generator
+ PCPS acquisition of 1ms code 1ms filled with zeros (to avoid sec code
ambiguity)
2014-06-20 18:23:44 +02:00
marabra
e7c4b35238 PVT block enabled to find ephemeris and observables from both GPS and Galileo 2014-06-19 17:07:27 +02:00
marabra
25934c477e Added hybrid TOW (expressed in GPS reference time) and time debug output in PVT block 2014-06-18 11:04:26 +02:00
marc-sales
dbad4b5742 E5a signal generator and minor bug fixes. 2014-06-17 19:13:24 +02:00
marabra
bf03c7a374 Enabled hybrid pseudorange generation 2014-06-13 18:38:16 +02:00
Javier Arribas
b0d33328d5 Simultaneous multi-GNSS system acquisition, tracking and telemetry
decoding: Changes in the flowgraph and in the configuration files to mix
channels from different GNSS systems in the same receiver. Hybrid
observables and PVT under construction.

The changes in the configuration file parameter names are NOT backward
compatible. The receiver can still work as usual in single GNSS system
mode but some modification on configuration files are required. Use the
example provided of Hybrid configuration file.
2014-06-10 18:58:17 +02:00
Carles Fernandez
fabf623c43 Require at least Boost 1.45, so boost:filesystem::temp_directory_path()
can be used. It is useful on Mac OS X, where the log folder is not at
/tmp. Boost 1.45 was released on Nov 9th, 2010, so it is unlikely that
any user is using something older.
2014-06-10 00:14:18 +02:00
marc-sales
8c1adf8aad small changes, just for backup 2014-06-05 12:00:24 +02:00
marc-sales
9b5c055bfd Tracking adapted blocks + Telemetry decoder 2014-06-01 13:22:26 +02:00
Carles Fernandez
027fcaa5cc Do not force cache of GTEST_DIR_LOCAL so the user can chose either
define it or not from cmake commandline
2014-05-28 22:12:29 +02:00
Carles Fernandez
36a587762b Fixing detection of GTEST_DIR variable when defined with -DGTEST_DIR=... 2014-05-28 22:02:11 +02:00
Carles Fernandez
31b4738d39 Fixing detection of GTEST_DIR environment variable 2014-05-28 20:24:29 +02:00
marc-sales
408fd992ec cabeceras 2014-05-21 09:42:26 +02:00
marc-sales
54a1417d3d Galileo E5a acquisition adapter and signal processing 2014-05-20 21:53:12 +02:00
Carles Fernandez
1518e5ac5d Update Armadillo version and other minor cleaning 2014-05-16 19:16:36 +02:00
Carles Fernandez
f064ce4d4c Fixing an error in a constant value 2014-05-15 01:15:57 +02:00
Carles Fernandez
71109eec9e Changing some logs from ERROR to WARNING 2014-05-14 01:37:47 +02:00
Leonardo Tonetto
51706f715f Write assistance data straight to the maps
Instead of writing the data downloaded from the assistance servers
in the corresponding global queues, write straight to the maps and
have it available immediately.

Signed-off-by: Carles Fernandez <carles.fernandez@gmail.com>
2014-05-14 01:36:04 +02:00
Leonardo Tonetto
0fbea1a25c Cleaning for safety
To avoid memory leaks, make sure the supl_ctx_t data structure is
initialized and cleaned as well as the connection is closed with
the server.

Signed-off-by: Carles Fernandez <carles.fernandez@gmail.com>
2014-05-14 01:32:38 +02:00
Carles Fernandez
872ed26527 Fixes ugly exit when the ephemeris map from SUPL is empty 2014-05-10 02:20:53 +02:00
Javier Arribas
a161d15366 Bug fixes and GPS to Galileo delta_t debug test implentation 2014-05-09 19:05:50 +02:00
Javier Arribas
75598c07d4 Adding GPS to Galileo time conversion parameters in Galileo almanac.
Adding Galileo almanac push to Galileo almanac queues
2014-05-09 13:04:05 +02:00
Carles Fernandez
825a4fc440 Correction of some misspelling 2014-05-07 23:35:44 +02:00
Leonardo Tonetto
7fc58001ec Avoid memory leak
According to the best practices for boost, the shared_ptr constructor
should not be called inside a function call (return in this case).

Ref: http://www.boost.org/doc/libs/1_55_0/libs/smart_ptr/shared_ptr.htm

Signed-off-by: Javier Arribas <jarribas@cttc.es>
2014-05-06 12:46:42 +02:00
Leonardo Tonetto
20121dcc73 Re-organizing assistance data input and output
Now we are reading the assistance data from xml files if the correct
configuration option is set; defined the name for the xml files as
const inside control_thread.h; and finally moved the manipulation
of these files to the gnss_sdr_supl_client class, not anymore inside
the control_thread.

Signed-off-by: Javier Arribas <jarribas@cttc.es>
2014-05-06 12:19:26 +02:00
Javier Arribas
eac73b5baa Fixed a bug that prevented the update of all shared map structures
(ephemeris, iono parameters, etc...)
2014-05-06 11:59:48 +02:00
Carles Fernandez
5b5ab106c6 Merge branch 'modern_factory' into next 2014-04-26 20:01:19 +02:00
Carles Fernandez
949c9fa972 Merge remote-tracking branch 'origin/modern_factory' into next
Conflicts:
	src/core/receiver/control_thread.h
2014-04-26 19:12:19 +02:00
Carles Fernandez
a8f85dbbfc replacing raw pointers by smart pointers 2014-04-26 00:01:33 +02:00
Carles Fernandez
8f16b0d095 adding two missing queues 2014-04-25 23:31:11 +02:00
Carles Fernandez
3a68888636 Recovering main 2014-04-25 22:00:09 +02:00
Carles Fernandez
f371823fc0 Applying patch by Leonardo Tonetto
0001-Saving-acquisition-assistance-data.patch
2014-04-25 21:48:52 +02:00
Carles Fernandez
656864b769 replacing some raw pointers by smart pointers 2014-04-24 22:39:13 +02:00
Carles Fernandez
c60a4e8996 Replacing some raw pointers by smart pointers 2014-04-24 20:39:19 +02:00
Carles Fernandez
aa7d6a0f20 working on the new factory and the tests 2014-04-24 01:53:55 +02:00
Carles Fernandez
15dd3f98bf Replacing some raw pointers by smart pointers 2014-04-24 01:02:53 +02:00
Carles Fernandez
6e20c9f8c6 Replacing some raw pointers by smart pointers 2014-04-24 00:52:11 +02:00
Carles Fernandez
7db1180d0a Fix wrong casting (thanks to Leonardo Tonetto for spotting this error) 2014-04-23 21:51:46 +02:00
Carles Fernandez
312ddfbce3 Applying patch by Leonardo Tonetto <tonetto.dev at gmail.com> fixing
wrong casting.
2014-04-23 21:36:22 +02:00
Carles Fernandez
75aee95bde Merge branch 'next' into modern_factory 2014-04-23 21:30:00 +02:00
Javier Arribas
de91bf6b23 Fixing memory problem in Magnitude square test 2014-04-23 12:31:10 +02:00
Carles Fernandez
e52206008a Adding documentation 2014-04-23 01:03:57 +02:00
Carles Fernandez
46fb0ea214 Replacing some raw pointers by smart pointers 2014-04-23 01:03:56 +02:00
Carles Fernandez
307ae28d50 Last retouches of the new factory and flowgraph. 2014-04-23 01:03:56 +02:00
Carles Fernandez
55da7e9716 replacing raw pointers by smart pointers in the control message factory 2014-04-23 01:03:56 +02:00
Carles Fernandez
a5af6ea889 Cleaning flowgraph 2014-04-23 01:03:55 +02:00
Carles Fernandez
5bde2595af cleaning flowgraph 2014-04-23 01:03:54 +02:00
Carles Fernandez
6b1c12f111 Rewriting flowgraph with smart pointers 2014-04-23 01:03:54 +02:00
Carles Fernandez
5a79a708a1 Soem advances in the flowgraph 2014-04-23 01:03:53 +02:00
Carles Fernandez
bb6da5f7b0 First attempt to design a smart ptr only factory. Compiles and passes
the thest but does not connect the flowgraph
2014-04-23 01:03:53 +02:00
Carles Fernandez
0744c27ea8 fixing documentation (a character was breaking latex compilation of the
pdf manual)
2014-04-11 00:13:28 +02:00
Carles Fernandez
860743a6e1 Adding version info in program output 2014-04-10 22:26:39 +02:00
Carles Fernandez
c762e921aa changing a log from fatal to warning 2014-04-10 20:38:50 +02:00
Javier Arribas
743af3398d Fixed GTEST_DIR env variable detector under MACOSX. Fixed small compatibility issue in armadilo norm for armadillo version < 4.100
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@503 64b25241-fba3-4117-9849-534c7e92360d
2014-04-07 16:20:09 +00:00
Carles Fernandez
4e714bf033 changing some raw pointers by smart pointers in the core receiver.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@502 64b25241-fba3-4117-9849-534c7e92360d
2014-04-03 21:59:14 +00:00
Carles Fernandez
1b8204bdb3 fixing memory leaks
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@501 64b25241-fba3-4117-9849-534c7e92360d
2014-03-29 21:53:56 +00:00
Carles Fernandez
95e123eef1 working on tests. Removing obsolete files
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@500 64b25241-fba3-4117-9849-534c7e92360d
2014-03-29 19:11:32 +00:00
Carles Fernandez
9f2f4335a0 improving test
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@499 64b25241-fba3-4117-9849-534c7e92360d
2014-03-28 22:30:20 +00:00
Carles Fernandez
f209dd9163 fixing tests when compiled with gcc
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@498 64b25241-fba3-4117-9849-534c7e92360d
2014-03-28 18:12:06 +00:00
Carles Fernandez
e3578d801c Some tests
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@497 64b25241-fba3-4117-9849-534c7e92360d
2014-03-28 17:52:51 +00:00
Javier Arribas
dbce333a3f Added missing gflags dependency to test_main.c to support DECLARE_string(log_dir)
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@496 64b25241-fba3-4117-9849-534c7e92360d
2014-03-23 10:47:19 +00:00
Carles Fernandez
daba798d8a Cleaning tests. Added test for the RTCM printer.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@495 64b25241-fba3-4117-9849-534c7e92360d
2014-03-23 09:45:03 +00:00
Carles Fernandez
7e752653b4 Introducing a hook for the RTCM printer
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@494 64b25241-fba3-4117-9849-534c7e92360d
2014-03-23 09:43:16 +00:00
Carles Fernandez
cda42d060f Better logging and minor code cleaning
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@492 64b25241-fba3-4117-9849-534c7e92360d
2014-03-17 20:01:32 +00:00
Javier Arribas
885c5f364c Small bug fix and new configuration file ready to receive GPS signals in real-time with USRP devices and appropiate front-ends. Remember to tune the front-end gain (source section in config file) and, in some particular antenna and LNA setups, tune also the acquisition threshold (acquisition section). The configuration is tested on USRP v1 + DBSRX, USRP 2 + DBSRX and USRP B100 + WBX.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@491 64b25241-fba3-4117-9849-534c7e92360d
2014-03-17 19:41:14 +00:00
Carles Fernandez
a20c1559cf Fixes compilation problem of front_end_cal
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@490 64b25241-fba3-4117-9849-534c7e92360d
2014-03-17 19:19:08 +00:00
Carles Fernandez
43e94fe681 Cleaning the terminal output and dumping information to the log file.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@489 64b25241-fba3-4117-9849-534c7e92360d
2014-03-16 23:25:52 +00:00
Carles Fernandez
25ed311f22 Small fix for Mac OS X
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@488 64b25241-fba3-4117-9849-534c7e92360d
2014-03-16 20:21:21 +00:00
Carles Fernandez
32b3eb816b Cleaning the terminal output and dumping most of the information in the log file. Better use of the glog library, logging can be seen also in Release, in real time by doing './gnss-sdr --logtostderr=1'.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@487 64b25241-fba3-4117-9849-534c7e92360d
2014-03-16 20:01:11 +00:00
Carles Fernandez
39f8754217 Cleaning the terminal output and dumping most of the information in the log file. Better use of the glog library, logging can be seen also in Release, in real time by doing './gnss-sdr --logtostderr=1'. Update to latest version of Armadillo.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@486 64b25241-fba3-4117-9849-534c7e92360d
2014-03-16 19:58:29 +00:00
Carles Fernandez
26d2bc70b3 Adds the option to avoid the use of OpenCL by doing 'cmake ../ -DDISABLE_OPENCL=1'
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@485 64b25241-fba3-4117-9849-534c7e92360d
2014-03-15 01:21:17 +00:00
Javier Arribas
28d6b9a122 GNSS-SDR Array blocks update
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@482 64b25241-fba3-4117-9849-534c7e92360d
2014-02-18 19:40:44 +00:00
Javier Arribas
ae053127b4 components of CTTC experimental GNSS antenna array signal source adapter for GNSS-SDR. Not usable yet!
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@481 64b25241-fba3-4117-9849-534c7e92360d
2014-02-17 18:53:45 +00:00
Carles Fernandez
4edd485cd0 Tidying up includes: own .h, C libraries, C++ libraries, other libraries' .h, project's .h. Some old time.h and stdlib.h have been replaced by ctime and cstdlib
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@477 64b25241-fba3-4117-9849-534c7e92360d
2014-01-14 23:22:54 +00:00
Carles Fernandez
05accfb1d7 Tidying up includes: : C library, C++ library, other libraries' .h, project's .h.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@476 64b25241-fba3-4117-9849-534c7e92360d
2014-01-12 20:07:38 +00:00
Carles Fernandez
6bff43504c Added missing header
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@475 64b25241-fba3-4117-9849-534c7e92360d
2014-01-10 20:04:53 +00:00
Carles Fernandez
b4ed22ee76 Upgrading Armadillo version. Removed some warnings when building in Release with clang.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@469 64b25241-fba3-4117-9849-534c7e92360d
2013-12-21 11:11:05 +00:00
Carles Fernandez
a6eaff8a65 Fix dependencies order when using 'make -jX'
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@467 64b25241-fba3-4117-9849-534c7e92360d
2013-12-20 01:20:39 +00:00
Carles Fernandez
7fac9f9507 Fix dependency name for multithreaded built
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@466 64b25241-fba3-4117-9849-534c7e92360d
2013-12-20 00:31:09 +00:00
Carles Fernandez
71fcd899a4 Change in cmake scripts that allows 'make' to spawn the provided amount of threads when armadillo, gflags or glog are downloaded and built 'on-the-fly'. Ideally each thread is executed on its own core/CPU, so a multi-core/CPU environment is used to its fullest. This fix allows compilation with e.g. 'make -j4"
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@465 64b25241-fba3-4117-9849-534c7e92360d
2013-12-20 00:11:14 +00:00
Carles Fernandez
9c890a799f add GNU Radio include dirs
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@464 64b25241-fba3-4117-9849-534c7e92360d
2013-12-15 22:27:37 +00:00