1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 04:00:34 +00:00
Commit Graph

1632 Commits

Author SHA1 Message Date
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
7ee864168d Remove unused variable 2017-02-02 12:04:49 +01:00
Carles Fernandez
72fff7857c Fix cshort version of GPS_L1_CA_DLL_PLL_C_Aid_Tracking 2017-02-02 12:03:51 +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
2ad6f6d6e5 Merge branch 'rinex_fix' of https://github.com/gnss-sdr/gnss-sdr into rinex_fix 2017-02-01 16:23:05 +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
Javier Arribas
feb481a7c5 Fine adjustment of the telemetry decoder TOW for the GPS L1 CA 2017-01-31 17:56:16 +01:00
Carles Fernandez
886e3d24d0 Merge branch 'rinex_fix' of https://github.com/gnss-sdr/gnss-sdr into
rinex_fix

# Conflicts:
#	src/algorithms/PVT/gnuradio_blocks/gps_l1_ca_pvt_cc.cc
#	src/algorithms/PVT/libs/gps_l1_ca_ls_pvt.cc
2017-01-30 20:26:50 +01:00
Javier Arribas
888bc17dbe More improvements in the PVT algorithm for better observables estimations 2017-01-30 19:03:18 +01:00
Javier Arribas
2b49f670a7 GPS Satellite broadcast ephemeris time is now referenced to TOC instead of TOE 2017-01-30 10:57:18 +01:00
Carles Fernandez
1c357ef062 Fix gcc warnings 2017-01-30 00:09:48 +01:00
Carles Fernandez
f6be75ecf7 Fix L2C tracking 2017-01-29 20:51:58 +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
d2c7bb62a1 Adding Bancroft's algorithm implementation for PVT initialization 2017-01-27 19:21:51 +01:00
Javier Arribas
3a11452a9e Bug fixes and Code refactoring in telemetry decoder 2017-01-26 16:09:49 +01:00
Javier Arribas
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
663fb27da8 MSVC build updates
cmake: removed stdint, inttypes, stdbool compat headers
These files are present in MSVC 2013 and up.
Presumably we do not build with versions lower.
2017-01-20 20:54:53 +01:00
Carles Fernandez
939eac6daf Follow GNU coding style for braces 2017-01-20 16:11:57 +01:00
Carles Fernandez
d14ef2b05c Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next 2017-01-20 15:35:06 +01:00
Carles Fernandez
7f58f96897 Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next 2017-01-20 15:34:01 +01:00
Carles Fernandez
758a13c554 Add more info if test fails 2017-01-20 15:33:29 +01:00
Carles Fernandez
cc6b89a3b8 python3: prefer set instead of list to match existing code 2017-01-20 01:36:17 +01:00
Carles Fernandez
d9a315fd52 Make it work with python3 2017-01-16 20:03:06 +01:00
Carles Fernandez
7305c033d9 Update copyright year in help intro message 2017-01-14 15:50:15 +01:00
Carles Fernandez
3e18d54a74 Catch exceptions when stopping the rtcm server
Defect detected by Coverity scan
2017-01-14 15:43:34 +01:00
Carles Fernandez
8eb01075f4 Restore ostream format 2017-01-11 23:26:42 +01:00
Javier Arribas
235aa77357 Bug fix in LS PVT solver in troposphere corrections causing erratic position fixes in high altitude GNSS receiver operations (>15 km) 2017-01-11 17:31:22 +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
54fecdfa7f Add page numbers in reference 2017-01-10 18:40:40 +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
750c4a6297 Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into siggen 2016-12-27 21:06:13 +01:00
Carles Fernandez
c3fd3ab581 Fix build with static libs 2016-12-26 14:05:25 +01:00
Carles Fernandez
91f3d3085f Strip volk_gnsssdr-config-info if ENABLE_STRIP is ON 2016-12-26 13:31:12 +01:00
Carles Fernandez
f808a52e5a Fix wrong merge 2016-12-26 12:32:19 +01:00
Carles Fernandez
302f673f7e Update list of dependencies 2016-12-26 11:44:08 +01:00
Carles Fernandez
98e2b58f02 Fix duplicate symbols 2016-12-26 01:16:24 +01:00
Carles Fernandez
6bac6ece4d Relax version of required python-mako 2016-12-25 20:40:29 +01:00
Carles Fernandez
9664b65720 Merge branch 'mako' of https://github.com/carlesfernandez/gnss-sdr into
no-cheetah

# Conflicts:
#	src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/CMakeLists.txt
2016-12-25 19:10:02 +01:00
Carles Fernandez
ec51b6cca9 Switch from cheetah to mako and six 2016-12-25 15:44:45 +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
Javier
88000d7f23 Removing more debug prints in LS PVT 2016-12-14 11:19:08 +01:00
Javier
90cff8b893 Removing debug print in LS PVT 2016-12-14 11:04:32 +01:00
Carles Fernandez
e5000e4dca Add four new Galileo satellites: FM7, FM12, FM13, FM14
launched by Ariane 5ES on Nov. 17, 2016
2016-11-30 22:30:13 +01:00
Carles Fernandez
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
3fd7639b6d Initialize all class members 2016-11-05 08:49:57 +01:00
Carles Fernandez
2e1e7aaec7 Fix doc 2016-11-04 09:26:19 +01:00
Carles Fernandez
19d212065b Add generation of RTCM messages for more receiver configurations 2016-11-04 09:19:31 +01:00
Carles Fernandez
05f8b78751 Change blocks name from L2_M to L2C 2016-11-03 19:33:04 +01:00
Carles Fernandez
e918da7785 Change name of L2C observables block 2016-11-03 19:03:17 +01:00
Carles Fernandez
6ed6234170 Improve variable naming, some code cleaning 2016-11-03 16:58:54 +01:00
Carles Fernandez
035cc8c52a Make indentation clearer 2016-11-03 16:47:34 +01:00
Carles Fernandez
09f9e667c5 Add RTCM printer to some receiver configurations 2016-11-03 15:30:24 +01:00
Carles Fernandez
97ffee0b0c Use more descriptive names for variables 2016-11-03 14:52:30 +01:00
Carles Fernandez
1c975313b7 Use L2C observables for positioning 2016-11-03 14:33:20 +01:00
Carles Fernandez
866bb1537f Add Galileo E5a observables block 2016-11-03 12:18:56 +01:00
Carles Fernandez
779ab48feb Add observables block for GPS L2C 2016-11-03 12:02:25 +01:00
Carles Fernandez
ed6ce7226b Fix satellite ID in RINEX observation data for GPS 2016-11-03 11:33:55 +01:00
Carles Fernandez
9a3d5950ba Add work on Galileo observables RINEX printer 2016-11-03 10:49:10 +01:00
Carles Fernandez
abc2139ca6 Add work on the generation of RINEX files for more receiver configs 2016-11-03 08:20:31 +01:00
Carles Fernandez
ea8e605fb5 Add work on the hybrid receiver 2016-11-03 00:07:05 +01:00
Carles Fernandez
fe6b2387f4 Add moving average parameter in observables 2016-11-02 17:35:40 +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
0e10be6534 Clean code 2016-10-30 10:20:34 +01:00
Carles Fernandez
2ddc78992f Add ability to print GPS L2-only observables 2016-10-29 17:59:48 +02:00
Carles Fernandez
9a6dfc65d7 Fix reference to ICD 2016-10-29 17:21:13 +02:00
Carles Fernandez
2f145e8f19 Add ability to log GPS dual freq (L1/L2C) observations 2016-10-29 17:15:04 +02:00
Carles Fernandez
5e24e3d486 Fixes CNAV message files 2016-10-29 12:41:51 +02:00
Carles Fernandez
25a57d5b88 Work on Rinex printer 2016-10-29 11:42:17 +02:00
Carles Fernandez
071dec2ebb Remove unrequired variable 2016-10-27 08:28:37 +02:00
Carles Fernandez
e746945a18 Remove unrequired variable 2016-10-27 08:26:25 +02:00
Carles Fernandez
0425fd3cf2 Fix name of CMake variable 2016-10-27 08:23:25 +02:00
Carles Fernandez
85012b3d74 Improve handling of ORC library if present
This also allows to build a snap package
2016-10-23 11:12:13 +02:00
Carles Fernandez
25556238d7 Reordering list of Galileo satellites
* means "Testing" status, ** means "Not available". Added satellite name
in comments
2016-10-22 14:21:10 +02:00
Carles Fernandez
2fe809d039 Update links of Galileo ICD to version 1.2 2016-10-22 13:46:22 +02:00
Carles Fernandez
3d315af286 Fix erros in Galileo message decoding
Thanks to Patricia Lopez Torres from Fundacion Ayesa for spotting the
errors.
2016-10-22 13:19:17 +02:00
Carles Fernandez
67105d62b7 Avoid macro redefinitions 2016-10-16 13:01:53 +02:00
Carles Fernandez
def78e3098 Define prefetch macros even if volk ones were already included 2016-10-16 12:11:41 +02:00
Carles Fernandez
3cce2e8340 Make prefetching more portable
See https://github.com/gnuradio/volk/issues/97 and
https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html#Other-Builtins
2016-10-16 11:31:42 +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
6412bbc8d3 Change variable names to something more meaningful 2016-10-16 10:00:39 +02:00
Carles Fernandez
a30bf16abf Some minor fixes for packaging
See https://github.com/gnuradio/volk/pull/100
2016-10-16 08:13:18 +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
1913f0d4fa Exit program if it cannot create SysV message queues 2016-10-13 12:02:55 +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
b1721489e5 Kill the SysV queue listener when stopping the control thread 2016-10-03 18:51:00 +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
67a4066738 Fix typo 2016-10-03 17:45:06 +02:00
Carles Fernandez
08f0a36075 Improve queue management gnss-sdr and in TTFF tests.
Always destroy queues when exiting
2016-10-03 17:43:06 +02:00
Carles Fernandez
047ced2b20 Improve queue management 2016-10-03 13:43:20 +02:00
Carles Fernandez
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
7eff6df4dd Create converter_ in the constructor 2016-10-02 02:03:59 +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
3a10f3c26b Inform about TTFF 2016-10-02 01:55:48 +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