1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-14 13:54:57 +00:00
Commit Graph

472 Commits

Author SHA1 Message Date
Carles Fernandez
886de8d539 Clean the TTFF test 2016-10-02 11:43:51 +02:00
Carles Fernandez
36f313d6f0 Small fixes 2016-10-02 02:02:42 +02:00
Carles Fernandez
ff4c323b01 Add options to enable/disable building of unit and system testing
Unit Testing is enabled by default. In some memory-constrained
environments it can be useful to disable its building. It can be
disabled by setting -DENABLE_UNIT_TESTING=OFF

System testing is disabled by default. It can be build by setting
-DENABLE_SYSTEM_TESTING=ON
2016-10-02 01:59:12 +02:00
Carles Fernandez
db71c74898 Small fixes 2016-10-01 19:09:55 +02:00
Carles Fernandez
b80eba91c8 Terminate run when testing TTFF 2016-10-01 18:43:58 +02:00
Carles Fernandez
c9ef673afa Fix 2016-10-01 18:08:23 +02:00
Carles Fernandez
f3b8b54801 Kill queue 2016-10-01 17:53:18 +02:00
Carles Fernandez
3e1cff4e7e Stop receiver after TFFF detection 2016-10-01 17:42:47 +02:00
Carles Fernandez
35084f93cc Clean up 2016-10-01 12:41:39 +02:00
Carles Fernandez
91c0fcc539 Improve TTFF report 2016-10-01 12:13:08 +02:00
Carles Fernandez
e445d5d26b Add TTFF report 2016-10-01 11:58:15 +02:00
Carles Fernandez
a4850dc85d Fix to terminate the queue thread 2016-10-01 11:44:38 +02:00
Carles Fernandez
0e65bfc813 Fix for more than one measuement 2016-10-01 11:39:04 +02:00
Carles Fernandez
79e2663d08 Annotate TTFF 2016-10-01 11:26:59 +02:00
Carles Fernandez
a2eaab884e Add sysV queue to the GPS PVT block 2016-10-01 11:03:40 +02:00
Carles Fernandez
56be4616bf Use Sys-V queue 2016-10-01 10:25:29 +02:00
Carles Fernandez
79afa71011 Set sampling frequency 2016-09-29 22:28:22 +02:00
Carles Fernandez
4c79fb2e9c Change Acquisition algorithm 2016-09-29 22:18:21 +02:00
Carles Fernandez
19b4ce8c7d Add a main to the TTFF test 2016-09-29 22:04:53 +02:00
Carles Fernandez
72b7229fbb Add more flags to the TTFF Test 2016-09-29 20:15:50 +02:00
Carles Fernandez
f7618bb189 Fix Rx control and add some flags 2016-09-29 19:46:27 +02:00
Carles Fernandez
0a74ad17be Add control thread to TTFF test 2016-09-29 19:06:17 +02:00
Carles Fernandez
44239e69c3 Start work with TTFF test 2016-09-29 18:31:22 +02:00
Carles Fernandez
b7e06dc6a2 Refactor QA code 2016-09-29 12:26:48 +02:00
Carles Fernandez
8aafb23c30 Updating to Googletest 1.8.0 2016-09-23 21:59:00 +02:00
Carles Fernandez
24e62c4e4e Make use of volk_gnsssdr_malloc, volk_gnsssdr_free
instead of volk_malloc, volk_free (which are missing from the volk
version distributed by ubuntu 14.04). Fix the include guard in
volk_gnsssdr_malloc.h 
Thanks to @hoernchen
2016-08-18 14:17:02 +02:00
Javier Arribas
2c327b0de4 GPU / CPU unit test performance improvements 2016-06-17 16:29:07 +02:00
Javier Arribas
c8d7a607f8 Adding CPU and GPU multicorrelators unit tests 2016-06-17 12:48:31 +02:00
Carles Fernandez
394048f5e7 Add test of FFT execution times for different lengths 2016-05-26 19:30:14 +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
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
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
831cc75153 Remove tabs from the source code 2016-05-02 23:46:30 +02:00
Carles Fernandez
ed8d647935 fixing binary format in RTCM messages 2016-05-02 01:24:23 +02:00
Carles Fernandez
ad16c5ab35 some test fixes 2016-05-01 12:39:40 +02:00
Carles Fernandez
c14fed8b64 Samll fixes in tests. Dump flags set to false 2016-05-01 09:19:30 +02:00
Carles Fernandez
313892c1c4 fixing test 2016-04-30 18:16:31 +02:00
Carles Fernandez
4fd4c24747 Print RTCM messages in binary format 2016-04-30 15:20:56 +02:00
Carles Fernandez
db30910cf5 Re-enabling OpelCL acquisition test 2016-04-30 11:33:52 +02:00
Carles Fernandez
ef095aee66 Re-enabling acquisition tests
Examples of usage of the new message passing system
2016-04-29 18:45:30 +02:00
Carles Fernandez
4882398c56 fixing wrong commit 2016-04-26 19:00:41 +02:00
Carles Fernandez
59e2e61cae Merge branch 'next' of git+ssh://github.com/gnss-sdr/gnss-sdr into next 2016-04-26 18:54:32 +02:00
Javier Arribas
dcbe96f783 migrating galileo e1 pcps gsoc2013 test to new message system 2016-04-25 20:42:43 +02:00
Javier Arribas
273cc945c2 simplifiying unit test gnuradio message rx class 2016-04-25 20:20:41 +02:00
Javier Arribas
e99bae8ad4 Unit test BlockFactory migrated to the new configuration scheme 2016-04-25 16:20:14 +02:00
Javier Arribas
481d368eb1 Unit test flowgrap migrated to the new configuration scheme 2016-04-25 16:16:31 +02:00
Javier Arribas
b8aa202348 Fix controthread test to use new configuration scheme 2016-04-25 16:03:57 +02:00
Javier Arribas
76f9ea0e07 Re-enabling more tests and bug fixes 2016-04-25 15:53:01 +02:00
Carles Fernandez
5b30b3f8c6 adding missing include 2016-04-25 15:38:31 +02:00
Javier Arribas
7d62ef367a Acquisition unit test migrated to new message system 2016-04-25 15:31:30 +02:00
Javier Arribas
86658c2391 Migration of acquisition test to new message system 2016-04-25 15:20:42 +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
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
6ba8cea5f4 removed unused queue from PCPS acquisition constructors 2016-04-13 16:45:17 +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
Carles Fernandez
b8f984292a Update tests with the new tracking blocks, removing old ones 2016-04-08 11:46:39 +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
1b7bc5af0c The USRP Hardware Driver (UHD) is now optional.
Used if found.
2016-02-02 23:32:48 +01:00
Carles Fernandez
ccb62f2279 fix warning in gcc 4.8 2016-01-22 00:04:28 +01:00
Carles Fernandez
fc01c85203 Removing unused parameter (removes a warning) 2016-01-11 10:44:57 +01:00
Carles Fernandez
bc0e4f188b Cleaning includes 2016-01-10 14:30:04 +01:00
Carles Fernandez
c5ab28510b fixing test 2015-12-27 11:23:09 +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
354a19ad64 Removing unneeded parameter 2015-12-24 00:37:47 +01:00
Carles Fernandez
ad228cb500 More work on the Rtcm class
Added message type 1029, added automatic sending of messages when
printing, removing unnecessary reset of data fields, reordering of
tests, new tests added, the TCP server shuts down in the class
destructor if running
2015-12-23 22:18:43 +01:00
Carles Fernandez
5bc26b3840 Fixing crash when shutting down the server 2015-12-23 00:56:21 +01:00
Carles Fernandez
e1c6137597 Redesign of the TCP server
Now the TCP server serves RTCM messages to multiple clients
concurrently, and without loosing messages.
2015-12-22 18:45:07 +01:00
Carles Fernandez
cf75c669c8 adding a TPC client and server 2015-12-15 15:04:58 +01:00
Carles Fernandez
49523f7f9d Adding generation of MSM2, MSM3, MSM4, MSM5, MSM6 and MSM7 2015-12-09 13:33:28 +01:00
Carles Fernandez
6422683652 fix msg number for Galileo MSM1 messages 2015-12-05 13:32:45 +01:00
Carles Fernandez
4958874269 fixing order in MSM signal data 2015-12-05 11:27:15 +01:00
Carles Fernandez
d8a0275c72 Now the Rtcm class prints MSM1 messages 2015-12-04 13:06:05 +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
74d42250d8 Merge branch 'contrib' of https://github.com/odrisci/gnss-sdr into
odrisci-contrib

# Conflicts:
#	src/algorithms/tracking/gnuradio_blocks/gps_l1_ca_dll_pll_tracking_cc.cc
#	src/algorithms/tracking/libs/tracking_discriminators.cc
2015-11-30 10:18:09 +01:00
Carles Fernandez
ed89b70241 working on the RTCM class. Advances in MSM messages 2015-11-29 01:10:10 +01:00
Cillian O'Driscoll
26b18c19ee Added a generic tracking_loop_filter class
This implements a generic loop filter. Based on the analog PLL filters
from Kaplan and Hegarty, with a bilinear (Tustin's) transform from
s-plane to z-plane ( 1/s -> T/2 ( 1 + z^-1 )/( 1 - z^-1 ) )

Also added tests. Note the "truth" outputs
were derived from an Octave implementation of the loop filter and
Octave's builtin filter function
2015-11-26 15:12:26 +00:00
Carles Fernandez
19c9875c4a Fixing wrong merge 2015-11-24 00:55:42 +01:00
Carles Fernandez
0e8663a1fc Merge branch 'next' of git+ssh://github.com/carlesfernandez/gnss-sdr
into next

# Conflicts:
#	src/core/system_parameters/rtcm.cc
#	src/core/system_parameters/rtcm.h
#	src/tests/formats/rtcm_test.cc
2015-11-24 00:44:19 +01:00
Carles Fernandez
855d707865 Now the Rtcm class prints and reads Messages of type 1045 (Galileo
ephemeris)
2015-11-24 00:31:53 +01:00
Carles Fernandez
bf08e27583 recovering from an accident 2015-11-23 01:47:21 +01:00
Carles Fernandez
c0f1d7241f Now the Rtcm class can generate and read MT1019 (GPS ephemeris) 2015-11-23 00:56:29 +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
60dd9b4f28 working on the RTCM printer 2015-11-21 13:01:50 +01:00
Carles Fernandez
e4206d38f6 Try to use OpenSSL if GnuTLS with openssl compatibility enabled is not
found.
2015-10-27 20:18:48 +01:00
Cillian O'Driscoll
48ae3f1e83 Added unit tests for unpack_2bit_samples 2015-10-14 09:34:33 +01:00
Carles Fernandez
43c3aa75f1 Simplifying googletest building 2015-08-24 15:59:49 +02:00
Carles Fernandez
4ab078c704 Googletest now lives at GitHub 2015-08-24 13:17:48 +02:00
Carles Fernandez
cbc51bcf8c More flowgraph tests 2015-07-20 22:11:15 +02:00
Carles Fernandez
0dcdf00d19 Fixing linking problems 2015-07-16 15:46:01 +02:00
Carles Fernandez
14e1d94c91 Fixing linking problems 2015-07-16 14:55:52 +02:00
Carles Fernandez
e119824164 fixing test 2015-07-12 10:38:24 +02:00
Carles Fernandez
48b010c15f 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.
2015-06-12 17:58:50 +02:00
Javier
b8d3f293f1 GPS L2C bug fixes. Added skeleton for a Mixed (multi-frequency and
multi-system) observables block.
2015-06-05 18:46:00 +02:00
Carles Fernandez
b2d5a90b63 fix typo 2015-05-22 18:37:24 +02:00
Carles Fernandez
ba18838876 fix building if gtest has been installed as a package 2015-05-22 18:36:12 +02:00
Carles Fernandez
46a59712f2 initializing member in the constructor 2015-05-19 22:23:22 +02:00
Carles Fernandez
23fb47b1d0 Initializing non-static data members 2015-05-15 19:38:51 +02:00
Carles Fernandez
6ecd6ebe52 fixing coverity issues 2015-05-15 11:47:34 +02:00
Carles Fernandez
d95a28cea7 fixing coverity issues 2015-05-15 10:55:46 +02:00
Carles Fernandez
4e2c95d5f5 fixing coverity issues 2015-05-15 04:41:32 +02:00
Carles Fernandez
4850944e00 fixing coverity issues 2015-05-15 03:02:45 +02:00
Carles Fernandez
b8ed6fc7f1 fixing coverity issues 2015-05-14 13:06:19 +02:00
Carles Fernandez
79192a0bbd fixing coverity issues 2015-05-13 23:50:21 +02:00
Carles Fernandez
d1a1815083 fixing coverity issues 2015-05-13 16:40:46 +02:00
Carles Fernandez
f6153c75c0 fixing test by updating notation 2015-05-12 13:13:51 +02:00
Carles Fernandez
9fa8efba5b Reducing the length of the test 2015-05-10 13:20:52 +02:00
Carles Fernandez
1536ab7be0 More fixes to make old and new configuration notations compatible 2015-05-08 16:06:30 +02:00
Carles Fernandez
6d3f1cc35a remove warning 2015-05-07 22:40:57 +02:00
Carles Fernandez
04b6507267 Merge branch 'next' into multisignals
# Conflicts:
#	src/core/receiver/gnss_block_factory.cc
2015-05-06 18:10:11 +02:00
Javier
37a346f3f6 Merge branch 'next' into arribas_next
Conflicts:
	src/algorithms/tracking/gnuradio_blocks/gps_l1_ca_dll_pll_tracking_cc.cc
2015-05-06 16:49:11 +02:00
Javier
d8d5daa5d8 GPS L2C M acquisition and tracking ready. Old configuration file format.
Bug fix on GPS L1 DLL PLL that prevented the output of gnss_synchro
during the acqusition to tracking transition.
2015-05-06 16:33:51 +02:00
Javier
4c5efd1e8b GPS L1 C/A + GPS L2C M dual frequency offline acquisition and tracking
READY. Issues on PRN numbering are being investigated...
2015-05-05 18:30:57 +02:00
Carles Fernandez
90ae04ee19 Faster local carrier generation 2015-05-05 16:14:46 +02:00
Carles Fernandez
b4cfef1a44 Faster resampler 2015-05-05 13:00:24 +02:00
Carles Fernandez
b7c1469616 20% of performance improvement 2015-05-03 10:50:57 +02:00
Carles Fernandez
7cbc0a6efa changing integer absolute value function 'abs' when argument is of
floating point type by std::abs
2015-05-01 09:28:45 +02:00
Javier
60b7fe8e08 Added GPS L2M Tracking and its unit test. Still experimental! 2015-04-30 17:48:21 +02:00
Javier
6618c220d0 Added L2C_M simple PCPS acquisition adapter and its associated unit test 2015-04-29 14:19:17 +02:00
Carles Fernandez
85c35ea0a5 Fixing test 2015-02-27 15:58:07 +01:00
Carles Fernandez
1cfdd23037 some cleaning 2015-02-15 14:53:45 +01:00
Carles Fernandez
3e5332ff57 Fixing Gtest detection 2015-02-15 14:49:17 +01:00
Carles Fernandez
4b3a58162e fixing tests 2015-02-14 11:24:53 +01:00
Carles Fernandez
70bf07a336 fixing the test 2015-02-14 11:10:57 +01:00
Carles Fernandez
7b779bc703 working on tests 2015-02-13 22:06:07 +01:00
Carles Fernandez
4e86f81efb working on tests 2015-02-13 20:48:03 +01:00
Carles Fernandez
d84eaea507 Working on tests 2015-02-13 02:38:23 +01:00
Carles Fernandez
8f407f9bf1 working on tests 2015-02-10 19:30:15 +01:00
Carles Fernandez
ff0f3aeb36 Add missing header 2015-02-07 13:56:03 +01:00
Carles Fernandez
d58bb85ff8 working on tests 2015-02-06 21:34:35 +01:00
Carles Fernandez
e7a3ebb5cf Working on tests 2015-02-06 20:49:50 +01:00
Carles Fernandez
baac16410b Improvements to the fir_filter test 2015-02-06 18:35:02 +01:00
Carles Fernandez
88789b0717 Adding fir_filter tests for different data types 2015-02-06 01:09:53 +01:00
Carles Fernandez
b9e7d8a446 adding a fir_filter for std::complex<signed char> (aka cbyte). It
converts the data type to floats, filters, and converts back to cbyte.
2015-02-03 00:58:21 +01:00
Carles Fernandez
f978f8e3e7 fixing includes 2015-01-09 13:47:52 +01:00
Carles Fernandez
6620e7d43c Updating copyright year 2015-01-08 19:49:59 +01:00
Carles Fernandez
284f8bb370 adding missing queue 2014-12-24 11:27:51 +01:00
Carles Fernandez
35a72de883 Build minimal tests only if building with ENABLE_PACKAGING=ON. 2014-12-24 11:26:36 +01:00
Carles Fernandez
af855148b9 Fix number of channels 2014-12-24 11:22:01 +01:00
Carles Fernandez
9b95919ddb Improving thread management 2014-12-21 22:46:57 +01:00
Carles Fernandez
a9bcc6a155 adding 'make check' target 2014-12-19 23:19:50 +01:00
Carles Fernandez
393375f8f0 finding sources of libgtest-dev package 2014-12-07 22:09:24 +01:00
Carles Fernandez
fae3aa4f19 fixing detection and use of libgtest-dev 2014-12-07 20:42:52 +01:00
Carles Fernandez
8130121979 add detection of libgtest-dev package 2014-12-07 11:16:33 +01:00
Carles Fernandez
5291c64254 adding a newline at the end of the file 2014-12-05 19:23:32 +01:00
Carles Fernandez
e572c8ebc1 fixing warnings 2014-11-22 10:59:30 +01:00
Carles Fernandez
059c23595c some linking fixes 2014-11-09 15:31:35 +01:00
Carles Fernandez
8afa1be6cf Adding volk_gnsssdr 2014-11-07 18:23:59 +01:00
Carles Fernandez
74cb7ff362 Changing building system: 'cmake && make && sudo make install' 2014-11-04 21:28:01 +01:00
Carles Fernandez
045c432920 Some changes to make it work with Yosemite 2014-10-18 12:39:58 +02:00
Carles Fernandez
bb62dae014 Changing C-styled cast by C++ static_cast<>() 2014-09-12 13:34:43 +02:00
Carles Fernandez
35f9f30441 Some fixes and code cleaning 2014-09-12 10:56:04 +02:00
Carles Fernandez
4db2c6e060 Fixing test 2014-09-10 21:26:43 +02:00
Carles Fernandez
47f9929aa8 Better VOLK usage 2014-09-09 22:51:47 +02:00
Carles Fernandez
e0280584a9 Fixing warnings 2014-09-08 15:43:47 +02:00
Carles Fernandez
7d0ac88f93 Fixing broken tests due to changes in the configuration names 2014-09-06 03:42:22 +02:00
Carles Fernandez
dfd9be34a9 Merge branch 'galileo_e5a' of https://github.com/marc-sales/gnss-sdr
into next

Conflicts:
	src/core/receiver/gnss_block_factory.cc
	src/core/receiver/gnss_flowgraph.cc
2014-09-05 18:51:08 +02:00
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
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
marc-sales
7d6ec42f24 coherent 2or3 ms adding noncoherently I+Q acquisition,
dll+pll tracking still diverges
2014-07-07 21:06:26 +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
marc-sales
dbad4b5742 E5a signal generator and minor bug fixes. 2014-06-17 19:13:24 +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
a8f85dbbfc replacing raw pointers by smart pointers 2014-04-26 00:01:33 +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
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
46fb0ea214 Replacing some raw pointers by smart pointers 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
5bde2595af cleaning flowgraph 2014-04-23 01:03:54 +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
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
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
Carles Fernandez
6eabb93de7 fixing typo
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@445 64b25241-fba3-4117-9849-534c7e92360d
2013-11-15 17:47:16 +00:00
Carles Fernandez
3595d60f99 Working on the tests. Workaround to build with Xcode. Improving documentation, README and cmake files readability
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@444 64b25241-fba3-4117-9849-534c7e92360d
2013-11-15 17:45:24 +00:00
Carles Fernandez
669910f6af Improving the way cmake detects GNU Radio. Switching from FindGnuradioXXX() to ConfigGnuradio.cmake. Fixed a typo in README. Tested in Mac OS X 10.9 and Ubuntu 13.10 64 bits, should work on other versions as well.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@442 64b25241-fba3-4117-9849-534c7e92360d
2013-11-13 21:07:33 +00:00
Carles Fernandez
1a623a155f include SBAS_L1_Telemetry_Decoder in the block factory, and the corresponding queues
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@437 64b25241-fba3-4117-9849-534c7e92360d
2013-11-09 23:11:46 +00:00
Carles Fernandez
a8619337be Now GNSS-SDR also builds on Mac OS X 10.9 Mavericks using clang++ and libc++. Updated cmake scripts, some modification of code not accepted by clang. Updated README with instructions for Mavericks. Fixed file length computation in 64-bit architectures.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@435 64b25241-fba3-4117-9849-534c7e92360d
2013-11-09 10:51:11 +00:00
Carles Fernandez
2972272b3e Fixes compilation issues on Mac OS X. Now it builds successfully against gnuradio installed by Macports and using gcc 4.8. Upgrade version of Gtest. Some fixes and updates in documentation and code cleaning.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@423 64b25241-fba3-4117-9849-534c7e92360d
2013-10-18 18:26:06 +00:00
Luis Esteve
025a24bb20 Last commit from the GSoC 2013 project "Improve the acquisition sensitivity of a GNSS receiver" by Marc Molina.
Added OpenCL Acquisition blocks and tests. 

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@420 64b25241-fba3-4117-9849-534c7e92360d
2013-10-01 20:32:04 +00:00
Luis Esteve
52aa4cac1a Fixing some warnings
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@412 64b25241-fba3-4117-9849-534c7e92360d
2013-08-28 17:44:49 +00:00
Luis Esteve
2f6c75be76 Adding new algorithms of adquisition:
gps_l1_ca_pcps_multithread_acquisition
     gps_l1_ca_pcps_tong_acquisition
     galileo_e1_pcps_cccwsr_ambiguous_acquisition
     galileo_e1_pcps_tong_ambiguous_acquisition
     galileo_e1_pcps_8ms_ambiguous_acquisition

and test for all the algorithms.


git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@411 64b25241-fba3-4117-9849-534c7e92360d
2013-08-28 17:17:57 +00:00
Javier Arribas
b0a323095d Towards a Galileo INAV Navigation decoder: First version of the Galileo_E1_Telemetry_Decoder block. In this version only the preamble detection and page part synchro is functional.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@389 64b25241-fba3-4117-9849-534c7e92360d
2013-07-15 17:07:10 +00:00
Carles Fernandez
a604f45afb some small changes required by Pybombs
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@376 64b25241-fba3-4117-9849-534c7e92360d
2013-07-06 10:50:55 +00:00
Carles Fernandez
5b13435332 small fixes to cmake scripts
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@374 64b25241-fba3-4117-9849-534c7e92360d
2013-07-06 02:15:09 +00:00
Javier Arribas
58b280afb6 Switch to GNU Radio 3.7.x API
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@368 64b25241-fba3-4117-9849-534c7e92360d
2013-07-04 13:47:40 +00:00
Luis Esteve
4d19e3d517 Fixed bug in Acquisition Tests
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@362 64b25241-fba3-4117-9849-534c7e92360d
2013-05-31 11:30:40 +00:00
Javier Arribas
cfeae47a29 Acquisition assistance is now working!
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@353 64b25241-fba3-4117-9849-534c7e92360d
2013-04-02 14:02:55 +00:00
Javier Arribas
d7b014e373 Experimental GPS assistence using Secure User Plane Protocol (SUPL) initial tests. Not usable yet!
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@348 64b25241-fba3-4117-9849-534c7e92360d
2013-03-15 18:05:37 +00:00
Javier Arribas
12003ffa94 GNSS-SDR now uses CMAKE as the only build system. Goodbye BJAM!
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@347 64b25241-fba3-4117-9849-534c7e92360d
2013-03-15 18:03:01 +00:00
Javier Arribas
8b2d21c1c9 Major changes:
- Gps telemetry decoder and PVT now uses independent queues for ephemeris, iono, utc_model and almanac. The old gps_navigation_queue is now deprecated and it is removed from the implementation. This affect almost all the PVT and Rinex printer classes.
- Rinex printer class updated to use the new ephemeris, iono, utc_model objects
Bug fixes and correction:
- The pseudorange generation now is based on the computed TOW for each received symbol. The History_Shift computation become simplier in this way. This modification is also a solution for a bug where the pseudoranges became temporally invalid when the TOW is updated (that happen every 6 secons!) 

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@343 64b25241-fba3-4117-9849-534c7e92360d
2013-03-14 12:52:32 +00:00
Javier Arribas
175a143c61 Thowards A-GNSS-SDR: New classes to store GPS SV orbital, clock, and ionosphere parameters. Work in progress...
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@342 64b25241-fba3-4117-9849-534c7e92360d
2013-03-11 18:29:33 +00:00
Carles Fernandez
2b5d6e45f5 Adapting tests to the new GNU Radio 3.7 API. The component gr-analog, required by some tests, is now found by CMake. Some code cleaning
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@340 64b25241-fba3-4117-9849-534c7e92360d
2013-02-17 09:54:41 +00:00
Carles Fernandez
6628e5e2d8 Now gflags and google-glog are downloaded, configured, build and linked automatically when doing "make". Since gflags is a prerequisite for the proper functioning of glog, glog is always built locally when gflags is missing.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@305 64b25241-fba3-4117-9849-534c7e92360d
2013-01-01 11:24:42 +00:00
Carles Fernandez
74668e14dd Glog is now downloaded, configured, built and linked automatically if it is not found in the host system.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@304 64b25241-fba3-4117-9849-534c7e92360d
2012-12-29 21:07:43 +00:00
Carles Fernandez
a032dfaefd Enabling CTest
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@301 64b25241-fba3-4117-9849-534c7e92360d
2012-12-28 15:40:03 +00:00
Carles Fernandez
7ebebd041e If the GTEST_DIR variable is not set, CMake will automatically download, configure and build Googletest 1.6.0 when building run_tests. Download includes MD5 checksum. The source code will be left under the thirdparty/ folder. All the download and build files will remain under the build/ directory. Since Googletest does not need installation, all the process can be done without root privileges, simply doing 'make'.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@297 64b25241-fba3-4117-9849-534c7e92360d
2012-12-26 11:19:57 +00:00
Carles Fernandez
f33a0db34e Enabling run_tests build. If the variable GTEST_DIR exists, it builds the executable run_tests. 'make install' will copy the executable at the install/ folder.
Improved doxygen detection. Now 'make doc' will build the documentation at the docs/ folder if doxygen is available.

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@296 64b25241-fba3-4117-9849-534c7e92360d
2012-12-25 10:28:29 +00:00
Carles Fernandez
30c6045f11 Working on GTest
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@295 64b25241-fba3-4117-9849-534c7e92360d
2012-12-24 13:29:23 +00:00
Javier Arribas
080305cee8 New ultra-fast All-In-One Carrier wipe-off and Early-Prompt-Late correlator using Intel AVX SSE3 intrinsics.
Try it using the GPS_L1_CA_DLL_PLL_Optim_Tracking implementatioin for tracking operation!




git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@283 64b25241-fba3-4117-9849-534c7e92360d
2012-11-25 19:37:31 +00:00
Javier Arribas
0760fa0f3e - New NCO library for carrier signal generation: Provides a fixed point optimized wrapper for GNU Radio fxp CORDIC and SSE2 floating point implementation ( sse_mathfunc.h implementation). The library is available as nco_lib.h
- Updated Unit Test to benchmark all the current NCO implementations (./run_tests --gtest_filter=Cordic_Test.StandardCIsFasterThanCordic)

-Gps_L1_Ca_Dll_Pll_Optim_Tracking algorithm updated with new NCO library for carrier wipeoff and some other optimizations.



git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@281 64b25241-fba3-4117-9849-534c7e92360d
2012-11-22 17:43:24 +00:00
Carles Fernandez
422189b026 code cleaning
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@268 64b25241-fba3-4117-9849-534c7e92360d
2012-10-28 14:11:42 +00:00
Carles Fernandez
fb0b2b8b33 Code cleaning
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@261 64b25241-fba3-4117-9849-534c7e92360d
2012-10-28 08:43:48 +00:00
Carles Fernandez
994de02032 Fix sign in Doppler acquisition tests
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@260 64b25241-fba3-4117-9849-534c7e92360d
2012-10-28 08:26:13 +00:00
Carles Fernandez
1aea9db69f Changed the "CN_estimators" library name by the more informative "lock_detectors". The CN0 estimators for GPS L1 C/A and Galileo E1 have been unified
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@254 64b25241-fba3-4117-9849-534c7e92360d
2012-10-21 09:54:37 +00:00
David Pubill
c241b7b1d6 - Added TCP connector for Galileo E1 simulink tracking
- Added simulink-based Galileo_E1_DLL_PLL_VEML_Tracking

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@250 64b25241-fba3-4117-9849-534c7e92360d
2012-10-19 13:38:25 +00:00
Luis Esteve
f0a0f94007 Added documentation to the code
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@245 64b25241-fba3-4117-9849-534c7e92360d
2012-09-12 15:03:38 +00:00
Javier Arribas
02ab6ce7d7 New GPS L1 CA tracking module GpsL1CaDllPllOptimTracking optimized for speed:
- The local code replica is pre-initialized and resampled to the nominal PRN code sample rate (no code Doppler correction)

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@242 64b25241-fba3-4117-9849-534c7e92360d
2012-09-04 15:57:30 +00:00
Luis Esteve
01c80dac80 Fixed bug in gnss_flowgraph.cc.
Galileo satellites added to available_GNSS_signals_

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@239 64b25241-fba3-4117-9849-534c7e92360d
2012-09-03 11:58:28 +00:00
Javier Arribas
598512529f Added NMEA 2.1 protocol for PVT dump.
This is an experimental release that only supports FILE dump operations.



git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@235 64b25241-fba3-4117-9849-534c7e92360d
2012-08-28 17:14:18 +00:00
Luis Esteve
45d7220dae First version of Galileo E1 DLL PLL Very Early Minus Late Tracking. Added some functions in Matlab to analyze the results.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@234 64b25241-fba3-4117-9849-534c7e92360d
2012-08-28 13:38:33 +00:00
Carles Fernandez
706e0372b9 Added variable initializations that remove warnings when compiling in release mode [-Wuninitialized]
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@225 64b25241-fba3-4117-9849-534c7e92360d
2012-08-04 08:31:37 +00:00
Carles Fernandez
f2551edcd7 Added variable initializations that remove warnings when compiling in release mode [-Wuninitialized]
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@224 64b25241-fba3-4117-9849-534c7e92360d
2012-08-04 08:14:51 +00:00
Luis Esteve
eeb006a1ec Bug fixed.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@223 64b25241-fba3-4117-9849-534c7e92360d
2012-08-03 14:16:45 +00:00
Luis Esteve
681bd60a58 Files to test an experiment performed by Luis Esteve in the framework of the Google Summer of Code (GSoC) 2012, with the collaboration of Javier Arribas and Carles Fernández, related to the extension of GNSS-SDR to Galileo. The objective is perform a positive acquisition of in-orbit Galileo signals in the E1 band.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@222 64b25241-fba3-4117-9849-534c7e92360d
2012-08-02 11:46:37 +00:00
Javier Arribas
2252797386 Post-processing of Baseband signals captured using IQ Interleaved short integers are now supported using the new data type adapter Ishort_To_Complex
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@221 64b25241-fba3-4117-9849-534c7e92360d
2012-08-01 14:17:40 +00:00
Javier Arribas
bc87ea4472 Added support for the Realtek RTL2832U OsmoSDR signal source. The Rtlsdr_Signal_Source adapter compilation is optional. See GNSS-SDR README for more information.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@220 64b25241-fba3-4117-9849-534c7e92360d
2012-08-01 13:11:02 +00:00
Javier Arribas
b849b20a8c Added optional support for Sparkfun SiGe GN3S USB GPS RF sampler:
- Added a pre-compiled custom GN3S firmware.
- Added a fully-compliant GNU Radio source block for GN3S USB dongle. It can be used also from GNU Radio companion and from Python applications.
- Added a new GN3S_Signal_Source block. It is possible to disable the GN3S signal source compilation. See README.

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@217 64b25241-fba3-4117-9849-534c7e92360d
2012-07-30 15:46:07 +00:00
Luis Esteve
721004b838 Changing nouns of variables of freq_xlating_fir_filter. Improving configuration files.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@216 64b25241-fba3-4117-9849-534c7e92360d
2012-07-18 15:47:59 +00:00
Luis Esteve
6f7b4f5aea Added freq_xlating_fir_filter class, this class implements a FIR filter and a composite frequency translation that shifts center_frequency down to zero Hz.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@215 64b25241-fba3-4117-9849-534c7e92360d
2012-07-18 13:29:18 +00:00
Carles Fernandez
5ff5e8e7bd Better exception handling for File_Signal_Source
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@214 64b25241-fba3-4117-9849-534c7e92360d
2012-07-15 11:08:10 +00:00
Luis Esteve
c9a06f702a Major update:
1) Galileo E1 Acquisition adapter block added (Gnuradio block modification to use the same block with the 2 systems with 2 adapters)
2) Tests and signal samples for Galileo E1 Acquisition signal block
3) Library for Galileo E1 signal processing
4) Galileo_E1.h with constant variables for this system

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@209 64b25241-fba3-4117-9849-534c7e92360d
2012-07-12 21:17:37 +00:00
Carles Fernandez
f6892a8bf3 It seems that definitions such as
const bits_slice INTEGRITY_STATUS_FLAG = {{23,1}};

used in GPS_L1_CA.h are not allowed in the C++11 standard since they do not correspond to any valid constructor. This is accepted by the current version of gcc (probably due to backward compatibility with C and earlier versions of C++), but it *could* not be accepted in future versions. This can be fixed by putting the struct into a std::vector. I don't know if this is the best way but it seems to work well and does not implies major changes in the code.

There is another issue with the Gnss_Synchro class. Since it had a constructor and a destructor, it could not be considered a POD (Plain Old Data) structure and this has some limitations: while gcc and the C99 standard allowed an array's size to be determined at run time, this extension is not permitted in standard C++. This issue has implications when passing Gnss_Synchro through memory between signal processing blocks. In order to fix this, I have removed the Gnss_Synchro.cc implementation and now this is a header-only class where the array size can be determined at compile time


git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@204 64b25241-fba3-4117-9849-534c7e92360d
2012-07-02 12:45:20 +00:00
Luis Esteve
950765180f Restructuring the src/tests directory. Deleted old tests. Added new test cases. Added signal sample for the tests.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@198 64b25241-fba3-4117-9849-534c7e92360d
2012-06-22 14:17:28 +00:00