1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-16 06:44:57 +00:00
Commit Graph

979 Commits

Author SHA1 Message Date
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
b7fba936ef Fix dh_auto_test execution, fixes #47 2017-04-13 20:29:56 +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
Carles Fernandez
14415c1316 Fix test when building with clang 8.0.0 2017-04-07 17:02:55 +02:00
Carles Fernandez
ef5cb645a7 Code cleaning: remove tabulators, remove multiple blank lines 2017-03-13 20:54:25 +01:00
mmajoral
507bc86cc9 Merge branch 'next_fpga' of https://github.com/gnss-sdr/gnss-sdr into next_fpga 2017-03-13 10:02:57 +01:00
mmajoral
c6eda22bab 1 - Check for any exception in tracking_dump_reader.cc and tracking_true_obs_reader.cc when manipulating files, not just a specific exception, for compatibility with the Linux OS running in the Zynq board. 2 - gps_l1_ca_dll_pll_tracking_test.cc uses the c_aid_tracking class instead of the tracking one. 3 - Implemented the code that runs the unit test of the GPS tracking algorithm using the HW accelerator in the FPGA 2017-03-13 09:59:16 +01:00
Carles Fernandez
bc59f7e900 Account for the case in which GPSTk is not installed on target 2017-02-25 21:13:16 +01:00
Carles Fernandez
8927543028 Add option to install tests executables system-wide
-DENABLE_INSTALL_TESTS=ON enables the installation of the tests
executables when doing "sudo make install". If this option is activated,
such executables will not be copied to the gnss-sdr/install folder.
2017-02-17 01:02:07 +01:00
Carles Fernandez
2111b5bddd Fix installation of auxiliary file for tests 2017-02-16 21:04:38 +01:00
Carles Fernandez
ccacac7047 Activate generation of signal 2017-02-16 21:04:10 +01:00
Carles Fernandez
e8d6c4c556 Fix execution permitions of gnss_sim when installed on target 2017-02-16 20:53:04 +01:00
Carles Fernandez
e94c0cd838 Fix installation of gnss-sim in more environments 2017-02-16 20:03:03 +01:00
Carles Fernandez
6bcb9dea35 Fix installation of gnss-sim and auxiliary files 2017-02-16 19:59:46 +01:00
Carles Fernandez
cfba2ddffb Fix execution of unit tests on a device
When -DENABLE_FPGA=ON, run_tests and all the required aux files are
installed on the filesystem
2017-02-16 19:41:11 +01:00
Carles Fernandez
3286ddecde Fix path of auxiliary files 2017-02-16 18:54:37 +01:00
Carles Fernandez
015e195c2a Install FPGA tests on target when cross-compiling 2017-02-15 22:10:06 +01:00
mmajoral
d22f4f5f2b Started implementing the code that uses the FPGA HW accelerators and the unit tests. For now the code contains a cloned version of the tracking tests using short complex data types plus a few new class variable definitions 2017-02-13 17:20:49 +01:00
Carles Fernandez
0eaea3d563 Fix typos 2017-02-05 20:14:01 +01:00
Carles Fernandez
f8adffe5c2 Fix execution of extra tests in some environments
and some code cleaning
2017-02-05 20:07:34 +01:00
Carles Fernandez
0362476864 Merging gnss-sdr/rinex_fix branch
This commit rewrites the way pseudoranges are computed, now accounting for the receiver clock offset. It also adds more work in the QA code. If extra tests are activated by -DENABLE_UNIT_TESTING_EXTRA=ON or -DENABLE_SYSTEM_TESTING_EXTRA=ON, additional raw data files, a software-defined signal generator and GPSTk 2.9 are downloaded. Many fixes and code refactoring in tracking blocks.
2017-02-03 14:04:13 +01:00
Carles Fernandez
b8ba57b9cf fix typo 2017-02-03 12:52:58 +01:00
Carles Fernandez
46353ea378 Read flags from a single file 2017-02-03 12:49:54 +01:00
Carles Fernandez
adb088e36c Fix building when Armadillo < 5.300 2017-02-03 12:04:15 +01:00
Carles Fernandez
a8f5b505b7 Fix tests
gps_ls_m_pcps_acquisition moved to extra unit tests since it requires an
external data file. Fixed a bug in
galileo_e1_pcps_ambiguous_acquisition_test
2017-02-03 09:17:53 +01:00
Carles Fernandez
2b4521d470 Delete unused file 2017-02-02 21:20:57 +01:00
Carles Fernandez
0ee4866b51 Finally right :-) 2017-02-02 20:58:50 +01:00
Carles Fernandez
9804f7f535 Fix wrong commit 2017-02-02 20:45:32 +01:00
Carles Fernandez
e078ebfd10 Add header 2017-02-02 20:37:46 +01:00
Carles Fernandez
51c6ed85a9 Fix path of raw data file 2017-02-02 20:30:56 +01:00
Carles Fernandez
6e97c5f2f9 Define all the commandline flags of the signal generator in a single
file
2017-02-02 20:07:36 +01:00
Carles Fernandez
59e3ffe167 Add header 2017-02-02 20:05:15 +01:00
Javier Arribas
37d78d3f12 Completing tracking unit test with simulator-in-the-loop 2017-02-02 18:10:24 +01:00
Javier Arribas
dc910bca4e GNSS simulator-in-the-loop completed for tracking and telemetry unit tests 2017-02-02 16:41:58 +01:00
Carles Fernandez
92f1f90935 Merge branch 'rinex_fix' of https://github.com/gnss-sdr/gnss-sdr into rinex_fix 2017-02-02 11:24:15 +01:00
Carles Fernandez
2c1ccf0672 Download and build GPSTk and the signal generator also for extra unit tests 2017-02-02 11:23:53 +01:00
Javier Arribas
fca151ad6b Adding signal processing unit testing auxiliarily libs to enable automating testing with gnss-simulator-in-the-loop 2017-02-01 19:24:25 +01:00
Carles Fernandez
ae55c151e1 Move GPSTK building files to the root of build directory for consistency 2017-02-01 16:39:00 +01:00
Carles Fernandez
5612e5732e Activate signal generation 2017-02-01 16:20:13 +01:00
Carles Fernandez
a01f00b8fd Fix usage of GPSTk 2.9 2017-02-01 16:18:45 +01:00
Carles Fernandez
e6facdcb0c GPSTk is now on GitHub. Retrieve version 2.9 2017-02-01 16:17:58 +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
Carles Fernandez
1c357ef062 Fix gcc warnings 2017-01-30 00:09:48 +01:00
Carles Fernandez
bf34702f9d Move gps_l2_m_dll_pll_tracking_test to UNIT_TESTING_EXTRA
This test requires a 8 MB file. Now that file is downloaded if
ENABLE_UNIT_TESTING_EXTRA is set to ON.
2017-01-29 19:30:48 +01:00
Carles Fernandez
c11a20520e Add new configuration option ENABLE_UNIT_TESTING_EXTRA
If set to ON, it donwload some raw signal files and add more tests to run_tests.
This allows a smaller source code tarball.
It defaults to OFF
2017-01-28 16:49:46 +01:00
Carles Fernandez
4438ffe916 Code cleaning 2017-01-28 15:31:04 +01:00
Javier Arribas
d64935406d Improving tracking+telemetry_decoder unit test 2017-01-25 18:41:42 +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
758a13c554 Add more info if test fails 2017-01-20 15:33:29 +01:00
Carles Fernandez
938db73b43 Check carrier phase evolution per satellite 2017-01-10 20:59:20 +01:00
Carles Fernandez
71c19cac99 Regroup CMake options for testing
-DENABLE_UNIT_TESTING  (defaults to ON): Builds unit tests
-DENABLE_SYSTEM_TESTING  (defaults to OFF): Builds system tests
-DENABLE_SYSTEM_TESTING_EXTRA (defaults to OFF): Builds extra tools (a
software-defined signal generator and GPSTk) and extra system tests
-DENABLE_OWN_GPSTK (defaults to OFF): forces a local download and builds
GPSTk even if it is already installed in your system.

If ENABLE_SYSTEM_TESTING_EXTRA is set to ON, then ENABLE_SYSTEM_TESTING
is also set to ON automatically.

This commit removes the option ENABLE_SW_GENERATOR
2017-01-10 18:57:38 +01:00
Carles Fernandez
23d8b7016a Add the option of dynamic testing:
obs_gps_l1_system_test --dynamic_position=./circle.cvs
2017-01-09 12:09:46 +01:00
Carles Fernandez
7df15841b4 Use GPSTk if found, let the user change that with -DENABLE_OWN_GPSTK=ON
Add diff stdev error computation for carrier phase
2016-12-30 14:36:41 +01:00
Carles Fernandez
f12e8b97f4 Better way to compute stdev 2016-12-25 13:45:06 +01:00
Carles Fernandez
19bc085e89 Change name to obs_gps_l1_system_test 2016-12-25 12:49:14 +01:00
Carles Fernandez
c3e545ecfd Compute error stdev for pseudorange diff and Doppler 2016-12-25 12:10:15 +01:00
Carles Fernandez
1eb75e0170 Add Doppler observables 2016-12-24 19:51:13 +01:00
Carles Fernandez
c2c96e5391 read and compare measurements 2016-12-24 15:58:04 +01:00
Carles Fernandez
4c8a74936c Read both RINEX obs files 2016-12-23 13:45:02 +01:00
Carles Fernandez
cd1adc33c7 Usign GPSTk to read observables 2016-12-23 08:49:49 +01:00
Carles Fernandez
2c393af75a Add RINEX validations 2016-12-22 16:58:09 +01:00
Carles Fernandez
7f9d3c385d Simple example of GPSTk usage 2016-12-22 01:35:31 +01:00
Carles Fernandez
cdf7fcfa99 Add GPSTk as an optional analysis tool 2016-12-21 18:52:45 +01:00
Carles Fernandez
2744a26344 Configure RINEX version via configuration
This supersedes the value passed by the --RINEX_version flag. Useful for system testing
2016-12-21 15:43:00 +01:00
Carles Fernandez
211b7b34c0 Embed the whole system in a test 2016-12-21 14:21:52 +01:00
Carles Fernandez
dda1833646 Add example of gnss-sim usage 2016-12-20 21:43:19 +01:00
Carles Fernandez
61cf9a59f2 Fix bad usage of set 2016-12-20 03:29:40 +01:00
Carles Fernandez
5279c2410e Fix building with openembedded 2016-12-20 03:02:43 +01:00
Carles Fernandez
4a02a1d294 Allow building with OpenEmbedded 2016-12-20 02:35:52 +01:00
Carles Fernandez
e02b17d7a1 Clean script 2016-11-28 00:18:02 +01:00
Carles Fernandez
38e4551cf1 Ensure that gtest is built before building run_tests 2016-11-27 13:44:43 +01:00
Carles Fernandez
9a3d5950ba Add work on Galileo observables RINEX printer 2016-11-03 10:49:10 +01:00
Carles Fernandez
d4a14c3f2d RINEX obs files GPS dual-band: Fill obs with 0s if signal is not present 2016-11-01 14:02:23 +01:00
Carles Fernandez
ece71a53fb Improve log of dual-band GPS observations in RINEX files 2016-11-01 13:01:35 +01:00
Carles Fernandez
74a23c5575 Add the ability to print multiband Galileo observables in RINEX files 2016-11-01 11:00:44 +01:00
Carles Fernandez
ee5a889383 Add test for dual band Galileo Rinex observation file 2016-10-31 22:49:15 +01:00
Carles Fernandez
f0bef19fdb Add multi-band capability to the Galileo observables RINEX printer 2016-10-31 22:32:58 +01:00
Carles Fernandez
0425fd3cf2 Fix name of CMake variable 2016-10-27 08:23:25 +02:00
Carles Fernandez
bbd1c2fe7c Add test of stopping the receiver by a external program 2016-10-16 10:40:07 +02:00
Carles Fernandez
c5c4dd17e5 Catch exceptions raised by gtest 2016-10-14 00:26:05 +02:00
Carles Fernandez
a7bd728595 Fix some problems detected by Coverity Scan 2016-10-13 12:48:05 +02:00
Carles Fernandez
664d6ecfa8 Remove dead code 2016-10-13 10:06:53 +02:00
Carles Fernandez
35c10681b9 Change folder name to be more consistent with the website
See http://gnss-sdr.org/docs/
2016-10-10 19:36:41 +02:00
Carles Fernandez
93a63bf367 Fix sampling rate issue when TTFF is reading conf from file
and some code cleaning
2016-10-10 19:23:54 +02:00
Carles Fernandez
a4eb6634e6 Cleaning 2016-10-10 16:17:55 +02:00
Carles Fernandez
1dfb0e3087 Fix crash 2016-10-10 15:22:42 +02:00
Carles Fernandez
98b3145ab1 Fix crash 2016-10-10 11:22:08 +02:00
Carles Fernandez
001896fbd7 Fix crash 2016-10-10 11:19:58 +02:00
Carles Fernandez
257d2de18e Adding a configuration file flag to TTFF test
Now the conf file can be passed as a parameter:
ttff --config_file_ttff=myconf.conf
2016-10-10 11:02:39 +02:00
Carles Fernandez
6f2aabe0b6 Improve double comparison
<and allow the USRP some time to set up between tests
2016-10-03 18:34:53 +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
a9c77b22ff Print TTFF report in a file 2016-10-03 12:48:02 +02:00
Carles Fernandez
9b4965bfdb Improve TTFF report 2016-10-03 12:20:46 +02:00
Carles Fernandez
3583952a5c Closing queues and improving TTFF report 2016-10-03 11:42:54 +02:00
Carles Fernandez
896ae47439 Trigger a building test 2016-10-02 23:32:45 +02:00
Carles Fernandez
8a50cccd18 Fix 2016-10-02 22:09:23 +02:00
Carles Fernandez
e976b8cd0c Fix 2016-10-02 21:55:58 +02:00
Carles Fernandez
a9e881c8bd Fix 2016-10-02 21:47:10 +02:00
Carles Fernandez
e89b54c682 Add AGNSS configuration to TTFF test 2016-10-02 21:41:37 +02:00
Carles Fernandez
b3eab47604 Add hot start TTFF 2016-10-02 21:24:46 +02:00
Carles Fernandez
f61c6fddd8 Fix 2016-10-02 21:19:09 +02:00
Carles Fernandez
ba73218747 Improve TTFF report 2016-10-02 21:14:58 +02:00
Carles Fernandez
7624c461f2 Clean TTFF test 2016-10-02 13:45:23 +02:00
Carles Fernandez
cd0cec131b Use current time as seed for random generator 2016-10-02 12:57:01 +02:00
Carles Fernandez
3e716df88b Use Test Fixtures in the TTFF Test 2016-10-02 12:48:12 +02:00
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
David Pubill
984b782660 Added a new tracking algorithm that uses TCP sockets to move the work of a processing block to a remote machine executing MATLAB Simulink.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@185 64b25241-fba3-4117-9849-534c7e92360d
2012-03-16 10:55:58 +00:00
Javier Arribas
1cb02b5df2 New signal source for real-time operation with Universal Hardware Driver (UHD) devices. RF Real-time milestone reached!!
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@180 64b25241-fba3-4117-9849-534c7e92360d
2012-03-02 18:50:21 +00:00
Luis Esteve
756e6fe4e3 Bug fixed in compilation of fir_filter_test.cc on Mac
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@178 64b25241-fba3-4117-9849-534c7e92360d
2012-02-27 10:21:06 +00:00
Luis Esteve
e3cf6883fa Fixed a bug in src/tests/test_main.cc
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@177 64b25241-fba3-4117-9849-534c7e92360d
2012-02-24 16:12:45 +00:00
Luis Esteve
c0aca3b5d0 Major changes:
- Fir_Filter implementation for InputFilter block in SignalConditioner
- Tests for InputFilter and Resampler
- Fixed some bugs

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@176 64b25241-fba3-4117-9849-534c7e92360d
2012-02-24 16:06:14 +00:00
Luis Esteve
d665fe9fdb Updated direct_resampler_conditioner_cc_test
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@173 64b25241-fba3-4117-9849-534c7e92360d
2012-02-19 18:48:20 +00:00
Luis Esteve
d5655f27df Major changes. Signal Conditioner holds now blocks to change data type, filter and resample input data.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@172 64b25241-fba3-4117-9849-534c7e92360d
2012-02-19 17:45:51 +00:00
Luis Esteve
eecf597d4e Fixed some bugs
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@168 64b25241-fba3-4117-9849-534c7e92360d
2012-02-18 17:05:22 +00:00
Luis Esteve
c5d142a258 Deleting old direct_resampler
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@167 64b25241-fba3-4117-9849-534c7e92360d
2012-02-18 16:52:15 +00:00
Javier Arribas
b7bb79a058 Code cleaning: deleted old dependences with Gregory GPS-SDR files
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@160 64b25241-fba3-4117-9849-534c7e92360d
2012-02-16 16:13:45 +00:00
Luis Esteve
ac3fbe2819 Cleaning tests
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@159 64b25241-fba3-4117-9849-534c7e92360d
2012-02-13 11:13:37 +00:00
Luis Esteve
69db06356a Changes in src/test/test_main.cc
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@158 64b25241-fba3-4117-9849-534c7e92360d
2012-02-13 11:02:53 +00:00
Luis Esteve
6fb0a2e16e New test for gnuradio block direct_resampler_conditioner_cc
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@157 64b25241-fba3-4117-9849-534c7e92360d
2012-02-13 11:01:36 +00:00
Carles Fernandez
ceef16081f Added fixed point nco test. It is faster than std C++ in debug mode, but in release performs the same.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@153 64b25241-fba3-4117-9849-534c7e92360d
2012-02-01 18:53:52 +00:00
Javier Arribas
dd01b83bc3 GNSS SDR now uses the unified Gnss_Synchro class to exchange signal synchronization data between Acquisition, Tracking and Telemetry decoder blocks.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@147 64b25241-fba3-4117-9849-534c7e92360d
2012-01-27 18:01:17 +00:00
Luis Esteve
ec57e48f4e Major changes in flowgraph, configuration file and channel. Added gnss_signal class.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@146 64b25241-fba3-4117-9849-534c7e92360d
2012-01-27 11:58:55 +00:00
Carles Fernandez
5170a9bc24 Cleaning compilation warnings
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@144 64b25241-fba3-4117-9849-534c7e92360d
2012-01-25 03:25:39 +00:00
Carles Fernandez
3b5189075b Cleaning tests
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@143 64b25241-fba3-4117-9849-534c7e92360d
2012-01-25 03:16:08 +00:00
Carles Fernandez
0d598a7188 Added implementation of plain cordic class in tracking/libs. Added a corresponding test. The implementation is slower than standard sin and cos implementations, so it is not used in the receiver. The test will fail otherwise, indicating that this should be used instead of standard functions.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@142 64b25241-fba3-4117-9849-534c7e92360d
2012-01-25 01:57:28 +00:00
Carles Fernandez
059b05fcf2 Fixing compilation and linking of googletest
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@139 64b25241-fba3-4117-9849-534c7e92360d
2012-01-23 14:47:06 +00:00
Carles Fernandez
3bff16b5d1 Code cleaning.
Test infrastructure reactivated. Now a run_tests executable is created and runs some tests.

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@138 64b25241-fba3-4117-9849-534c7e92360d
2012-01-23 00:52:05 +00:00
Carles Fernandez
228fa3b797 moving things to trunk
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@72 64b25241-fba3-4117-9849-534c7e92360d
2011-10-01 18:45:20 +00:00