1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-28 16:03:15 +00:00
Commit Graph

382 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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