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

1731 Commits

Author SHA1 Message Date
Carles Fernandez
619c9f1f98 Add more code cleaning 2017-04-23 01:34:18 +02:00
Carles Fernandez
7f6075172b Remove last warning 2017-04-23 01:10:11 +02:00
Carles Fernandez
c28a9c5711 Remove more warnings 2017-04-23 01:04:48 +02:00
Carles Fernandez
7a1097a12d Convert unigned int to int to avoid warning in signed/unsigned integer 2017-04-23 00:53:19 +02:00
Carles Fernandez
c6349eccd1 Minor fixes 2017-04-23 00:36:57 +02:00
Carles Fernandez
979377a632 Deactivate PVT flag averaging 2017-04-22 23:50:21 +02:00
Carles Fernandez
fb1a058db7 Fix execution in macOS 2017-04-22 23:47:51 +02:00
Carles Fernandez
9805e0975b fix test compilation 2017-04-22 19:12:12 +02:00
Carles Fernandez
f4dac04285 merging next 2017-04-22 18:31:57 +02:00
Carles Fernandez
b362afca5b Add more cleaning of RTKLIB code 2017-04-22 18:27:11 +02:00
Carles Fernandez
03d5015390 Fix pow usage 2017-04-22 12:50:04 +02:00
Carles Fernandez
264668a69d Add position test
enabled with -DENABLE_SYSTEM_TESTING_EXTRA=ON
Computes accuracy and precision metrics
2017-04-22 12:09:48 +02:00
Carles Fernandez
417dc1daf1 Store work 2017-04-21 16:14:46 +02:00
Carles Fernandez
9c6ff1df9b Small fixes 2017-04-21 13:31:29 +02:00
Carles Fernandez
a2d2aa016e Add more constant refactoring 2017-04-21 11:57:27 +02:00
Carles Fernandez
27ab390944 Refactor of constants, remove defines
and start adapting rtklib code to our coding style
2017-04-21 11:34:23 +02:00
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
4b00d74d1a Allow large files in 32 bit builds
try to fix
https://lintian.debian.org/tags/binary-file-built-without-LFS-support.html
2017-04-14 10:28:57 +02:00
Carles Fernandez
b7fba936ef Fix dh_auto_test execution, fixes #47 2017-04-13 20:29:56 +02:00
Carles Fernandez
95ffcd3ac0 Improve portability
In some architectures (e.g. alpha, hppa, powerpcspe, m68k,  sh4, sparc64, x32) the package gr-osmosdr is not available. So when the package is build with -DENABLE_OSMOSDR=ON, it breaks on the mentioned architectures. This is expected behaviour (it breaks because a required dependency is not found), but prevents from building the package on such architectures. This commit introduces a small change: when compilation is called with

cmake -DENABLE_OSMOSDR=ON -DENABLE_PACKAGING=ON ..

then, the compilation does not break if gr-osmosdr is not found.

This commit also fixes building when UHD is present but gnuradio-uhd is not (for instance, in hurd-i386)
2017-04-12 18:06:04 +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
Javier Arribas
d76e8efe18 Applying broadcast Group Delay (TGD) to correct GPS L1 CA observables to improve positioning accuracy 2017-04-12 16:55:34 +02:00
Carles Fernandez
1ed4b506df Fix typo 2017-04-12 08:09:51 +02:00
Carles Fernandez
dc2ed129e2 Fix the list of requirements 2017-04-12 08:06:34 +02:00
Carles Fernandez
c994d04a5b Removed git from the list of requirements 2017-04-11 19:19:14 +02:00
Carles Fernandez
2da64e0685 More required manual changes 2017-04-11 19:15:38 +02:00
Carles Fernandez
f68c4d091f Manual changes of things broken by automatic conversion 2017-04-11 19:09:28 +02:00
Carles Fernandez
1191161aef Set a column width of 72 to make the file more readable in plain text
Done with http://www.formatit.com/
2017-04-11 18:59:12 +02:00
Carles Fernandez
0f796343bc Add upstream changelog as stated at Debian Policy Manual 12.7
https://www.debian.org/doc/debian-policy/ch-docs.html#s-changelogs
2017-04-07 18:56:35 +02:00
Carles Fernandez
2b442777ce Fix spelling error detected by lintian 2017-04-07 17:25:21 +02:00
Carles Fernandez
14415c1316 Fix test when building with clang 8.0.0 2017-04-07 17:02:55 +02:00
Carles Fernandez
d8fa3ff14f Replace 255 by 0xFF to apease the clang compiler
This avoids hundreds of warnings of type:

warning: implicit conversion from 'int' to 'char' changes value from 255
to -1 [-Wconstant-conversion]
mask_imag = _mm_set_epi8(255, 255, 0, 0, 255, 255, 0, 0, 255...
            ~~~~~~~~~~~~ ^~~
2017-04-01 11:34:46 +02:00
Carles Fernandez
cec063f360 Prints fake IODE and IODC in GPS L2C-only RINEX navigation files
IODE and IODC are not defined in CNAV. If set to zero, tools such as
RTKLIB are not able to compute position. With this commit, we write a
fake value that changes whenever Toe in message types 10 and 11, and Toc
in types 30-37, do not match.
2017-04-01 10:47:36 +02:00
Javier Arribas
785d0d935d Adjusting GPS L2CM TOW in telemetry decoder. Some magic number in TOW symbol has still to be further investigated 2017-03-31 12:48:48 +02:00
Javier Arribas
e0b0605545 Removing unused code, improving ref satellite selection in observables and partial correction of the gps L2 TOW offset bug 2017-03-30 19:25:46 +02:00
Javier Arribas
b745ebf0a8 GPS CNAV satellite positioning bug fixes. 2017-03-29 18:32:17 +02:00
Javier Arribas
5b83d828da Removing duplicated code 2017-03-29 11:49:23 +02:00
Javier Arribas
620a44dad9 Fix compilation error for GPU tracking module 2017-03-29 10:35:50 +02:00
Javier Arribas
ab75381e33 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into common_solver 2017-03-29 10:26:54 +02:00
Carles Fernandez
cff63b378a Adapt to gnss-sdr coding style 2017-03-28 19:32:42 +02:00
Carles Fernandez
fa4eb25920 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2017-03-28 19:09:27 +02:00
Carles Fernandez
21e61ed262 Improve file headers 2017-03-28 19:08:59 +02:00
Administrator
4477da0f75 Fix C compilation errors in c11 compilers 2017-03-28 17:40:17 +02:00
Carles Fernandez
f83b01f65f Add missing include for fmod 2017-03-25 18:11:36 +01:00
Carles Fernandez
f9b4a9cc8d Remove convolutional.h fron libswiftcnav 2017-03-25 18:10:39 +01:00
Carles Fernandez
4c5980d3a2 Avoind name clashing in modtool and other minor fixes
Version bump to 0.0.9git, fixed link in README
2017-03-25 17:53:02 +01:00
Javier Arribas
73d07b4f1a Code cleaning. Removing unused variables 2017-03-24 16:43:35 +01:00
Javier Arribas
d42696bfd3 Consolidation of all the observables and PVT algorithms in hybrid observables and hybrid PVT supporting multi-signals and multi-system operations 2017-03-24 15:25:17 +01:00
Javier Arribas
b96d1707a9 GPS L2CM telemetry decoder rewrite, borrowed from the Swift navigator open source libraries 2017-03-23 15:45:41 +01:00
Carles Fernandez
9ea8d7d759 Fix parallel building
If input_filter_gr_blocks was compiled before the volk_gnsssdr_module,
it caused a crash. This commit avoid this particular order.
2017-03-13 21:18:32 +01:00
Carles Fernandez
c12384cce4 Merge branch 'next_fpga' of https://github.com/gnss-sdr/gnss-sdr into
next

# Conflicts:
#	README.md
2017-03-13 21:05:38 +01: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
8769e6e74d Fix building in Ubuntu 15.04 2017-02-27 15:22:47 +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
Javier Arribas
d5656e65a8 Adding experimental input filter Pulse Blanking algorithm implementation 2017-02-21 11:35:18 +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
Carles Fernandez
774cca7aff Merge branch 'next_fpga' of https://github.com/gnss-sdr/gnss-sdr into tests-in-fpga 2017-02-15 18:09:13 +01:00
Javier Arribas
d6e5c2c329 Improving robustness of the GPS L1 telemetry decoder. This change prevents the random position fix losses due to an incorrect TOW update. Some log mesages cleaning 2017-02-15 10:56:41 +01:00
Carles Fernandez
004d724175 Fix glog usage 2017-02-13 21:57:58 +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
10a12c155e Code cleaning 2017-02-10 10:34:19 +01:00
Carles Fernandez
5264622895 Fix detection of big endian 2017-02-10 10:33:12 +01:00
Carles Fernandez
ca0352b36b Improve initialization 2017-02-10 09:57:16 +01:00
Carles Fernandez
5e125c52d7 Code cleaning 2017-02-06 19:48:52 +01:00
Carles Fernandez
dbe08ade8c Code cleaning 2017-02-06 19:24:17 +01:00
Carles Fernandez
5571e14f56 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2017-02-06 17:56:03 +01:00
Javier Arribas
8c2f1f992f Adding consistency checks to the PVT solutions 2017-02-06 17:51:11 +01:00
Carles Fernandez
385d153ee0 Remove unused includes
plus other minor updates
2017-02-06 16:36:21 +01:00
Carles Fernandez
24fb4d75f1 Bump version to 0.0.9 2017-02-05 20:47:57 +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
15ff1627bc Provide open access link for the ION GNSS+ 2016 paper 2017-02-03 13:54:31 +01:00
Javier Arribas
fc7ff7ba0b Upgrading Galileo PVT and Hybrid PVT chains with the latest bug fixes for GPS 2017-02-03 13:00:50 +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
94514bbe19 Merge branch 'rinex_fix' of https://github.com/gnss-sdr/gnss-sdr into rinex_fix 2017-02-02 20:40:37 +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
d491718768 Merge branch 'rinex_fix' of https://github.com/gnss-sdr/gnss-sdr into rinex_fix 2017-02-02 20:29:21 +01:00
Carles Fernandez
beb7bc9ae1 Enable extended correlation time in 16sc implementation 2017-02-02 20:29:07 +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
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