1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-07-01 01:13:15 +00:00
Commit Graph

307 Commits

Author SHA1 Message Date
Antonio Ramos
06dbe4cf4e Merge branch 'unify_tracking' into observables_and_display_color 2018-03-20 15:14:27 +01:00
Antonio Ramos
f577bf3cea Fix GPS L1 CA unit test 2018-03-20 14:44:34 +01:00
Carles Fernandez
fa89da48e6 Add KF test, some KF implementation fixes, use flags in tests 2018-03-15 18:56:29 +01:00
Antonio Ramos
be5139e5f7 Merge branch 'next' into debug 2018-03-06 16:19:52 +01:00
Gastd
952925b3e9 Fix test 2018-03-05 11:52:56 -03:00
Javier Arribas
7c406bb6eb Merging fpga with next 2018-03-05 11:03:59 +01:00
Carles Fernandez
07b25ebb06 Apply clang-format to the whole source tree 2018-03-04 02:04:27 +01:00
Carles Fernandez
34f24562cf Apply automated code formatting
Documented at .clang-format
See http://clang.llvm.org/docs/ClangFormat.html and http://clang.llvm.org/docs/ClangFormatStyleOptions.html
2018-03-03 02:03:39 +01:00
Javier Arribas
c2fc4b9854 Updating GPS L1 FPGA tracking adapters 2018-03-02 17:40:13 +01:00
Carles Fernandez
3edbb9e084 Fix building when OpenCL is enabled 2018-03-02 14:38:42 +01:00
Antonio Ramos
eed6ed1f5e Remove set_max_noutput_items 2018-03-01 14:25:44 +01:00
Carles Fernandez
24f6003ba0 Remove iostream from header files
and in redundant places such as in unit tests
2018-02-25 22:49:06 +01:00
Carles Fernandez
59e49a5eba Fix configuration and building when matio is not present 2018-02-23 23:46:16 +01:00
Carles Fernandez
b26e63e753 Add acquisition tests to make check 2018-02-23 23:44:57 +01:00
Carles Fernandez
e5fd943303 Add -dll_bw_hz and -pll_bw_hz commandline flags
API of Galileo_E5a_DLL_PLL_Tracking has been changed for consistency with other blocks
2018-02-18 19:28:21 +01:00
Carles Fernandez
e388b8987b Shorten the tests by default 2018-02-10 14:20:22 +01:00
Carles Fernandez
891d6b80df Rational_Resampler renamed to Mmse_Resampler
Following its renaming in GNU Radio 3.8 (see https://github.com/gnuradio/gnuradio/issues/1428)
2018-02-03 10:49:03 +01:00
Antonio Ramos
9c292302d9 Minor change 2018-01-30 17:02:59 +01:00
Antonio Ramos
f8e5b0e705 Set matio min ver. 2018-01-30 16:48:58 +01:00
Antonio Ramos
42dc14b2bb Merge branch 'next' into new_acq_grid 2018-01-30 15:36:05 +01:00
Carles Fernandez
3865143909 Replace <ctime> library by <chrono> 2018-01-26 14:48:44 +01:00
Carles Fernandez
77ab00698c Add copyright header 2018-01-26 14:21:24 +01:00
Antonio Ramos
f6aa86f60c Adapt tests to .mat dump files 2018-01-26 13:34:02 +01:00
Carles Fernandez
d33f5e1772 Fix test 2018-01-24 19:22:32 +01:00
Carles Fernandez
9b28aa9e6b Fix test 2018-01-24 19:08:08 +01:00
Carles Fernandez
5296c5e81f Fix warning 2018-01-24 18:25:06 +01:00
Carles Fernandez
2685dd0dfa Fix typo 2018-01-24 18:21:45 +01:00
Carles Fernandez
1cf8f93a52 Fix warning of unused variables 2018-01-24 18:19:15 +01:00
Carles Fernandez
9ff66b3377 Fix tests 2018-01-24 18:06:03 +01:00
Carles Fernandez
c9790a6549 Fix typos 2018-01-24 17:38:57 +01:00
Damian Miralles
aa2464cc28 glonass bug fix: Adds more reliable GPST 2 UTC conversion
Adds logic to check for exact epoch when performing leap second
correction and also fixes unit test in code for GLONASS
2017-12-26 10:29:09 -07:00
Damian Miralles
d75857db91 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass_dec 2017-11-20 08:31:32 -07:00
Carles Fernandez
d20902d688 Add mechanisms for inverted spectrum 2017-11-17 09:21:03 +01:00
Carles Fernandez
e95f1b62f5 Improve usage of gtest macros 2017-11-13 22:13:58 +01:00
Carles Fernandez
90533189d3 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-10-31 07:34:13 +01:00
Carles Fernandez
cccb77783a Avoid comparison between signed and unsigned integer warning 2017-10-29 12:55:10 +01:00
Carles Fernandez
ee1285218e Add GPS L2 acqusitition grid plot
and other small fixes
2017-10-29 12:26:06 +01:00
Carles Fernandez
396415b6f2 Fixes in testing code 2017-10-29 00:44:38 +02:00
Carles Fernandez
4267150445 Add Galileo acquisition grid
and other fixes in tests
2017-10-28 20:17:51 +02:00
Carles Fernandez
41b5365244 Add acquisition grid plot 2017-10-28 18:15:59 +02:00
Carles Fernandez
218c23000b Small fixes 2017-10-24 14:47:05 +02:00
Carles Fernandez
2c3ada26f2 Add constellation diagram plot 2017-10-24 14:23:59 +02:00
Carles Fernandez
ac99ba5b75 Fix exception catching 2017-10-24 11:38:37 +02:00
Carles Fernandez
8509b7254a Add opaque legend 2017-10-24 08:45:13 +02:00
Carles Fernandez
d1ed8a963c Add plot of correlators\' output 2017-10-23 19:25:41 +02:00
Unknown
9a74120e7c Added Notch Filter Lite tests
Unit tests for Notch Lite input filter
2017-10-17 11:44:41 +02:00
Unknown
a1d432f9e8 Added Notch Filter tests
Unit test fot Notch input filter
2017-10-17 09:38:16 +02:00
Unknown
d8481d927b Added Pulse Blanking unit tests
New unit tests for the pulse blanking input filter
2017-10-16 16:36:51 +02:00
Carles Fernandez
35620b8c57 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-10-04 01:27:03 +02:00
Carles Fernandez
e352978777 Implement the non-blocking option for complex shorts
Apply GNU-style indentation
Add Cillian to files copyright
Delete multithread_acquisition block
2017-10-03 13:47:55 +02:00
Carles Fernandez
0857892ded Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into odrisci-non_blocking_acq-test 2017-09-16 01:52:46 +02:00
Carles Fernandez
00ba4ff96e Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-09-16 01:45:53 +02:00
Carles Fernandez
94dfef74c1 Add cpu_multicorrelator_real_codes_test
and minor cosmetics
2017-09-16 01:14:15 +02:00
Carles Fernandez
3cf1fdfd92 Test waits for the block message to emit a message 2017-09-15 16:12:52 +02:00
Cillian O'Driscoll
e87522880e Added ability to generate real valued codes
Only done for GPS L1 C/A and Galileo E1 OS for now. Also added a
cpu_multicorrelator_real_codes class that performs code correlation
using real-valued local codes
2017-09-11 15:21:05 +01:00
Carles Fernandez
047d9af6a3 Merge branch 'glonass_dec' of https://github.com/dmiralles2009/gnss-sdr into dmiralles2009-glonass_dec 2017-09-10 10:51:17 +02:00
Carles Fernandez
0ac2f7bd74 The global parameter name GNSS-SDR.internal_fs_hz has been replaced by
GNSS-SDR.internal_fs_sps
2017-09-02 11:36:19 +02:00
Carles Fernandez
c474ea31d5 Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into glonass 2017-09-02 11:27:18 +02:00
Carles Fernandez
dc18980194 The global parameter name GNSS-SDR.internal_fs_hz has been replaced by
GNSS-SDR.internal_fs_sps

The old name was misleading, since the units are samples per second and
not Hertz. 

Backward compatibility is kept, so this change does not break any
existing configuration.
2017-09-02 11:24:44 +02:00
Damian Miralles
e1d8a7b23a unit-test: Testing RTCM MS1020 Message generation
Tests MS1020 message and fixes several bugs that show up while
debugging the code. Major changes were introduced due to the bug
correction process
2017-08-31 09:55:35 -06:00
Damian Miralles
eb33715cb9 unit-test: Adds and fixes unit test for system-parameters block
Adding unit test for system-parameters block, testing string decoding
logic for GLONASS GNAV messages. Bug fixes the code after several errors
were detected while debugging
2017-08-31 09:55:35 -06:00
Damian Miralles
bc8d0bbe64 Adds unit test for RINEX and RTCM messages printer
Adds set of unit test to check functionality of GLONASS processing for
RINEX and RTCM messages. It also fixes a couple of bug fixes with
formatting in existing code.
2017-08-31 09:55:35 -06:00
Carles Fernandez
12aaa25d50 Do not use LOG(FATAL) since the glog library could have been stripped
off
2017-08-31 09:55:35 -06:00
Carles Fernandez
5530352e8a Fix bug in NMEA messages. Fixes #45
Add a new test for the NMEA printer
2017-08-31 09:55:35 -06:00
Carles Fernandez
8bbe4edc64 Replace <ctime> library by <chrono>
and also replace C-style casts by C++ casts. Added/removed some blank
lines here and there to match coding style of other tests.
2017-08-31 09:55:35 -06:00
Carles Fernandez
1e59501cb5 Fix redefinition of variable 2017-08-31 09:55:35 -06:00
Carles Fernandez
fc9740b4dc Do not use LOG(FATAL) since the glog library could have been stripped
off
2017-08-25 19:17:12 +02:00
Carles Fernandez
ea84c1ec27 Fix redefinition of variable 2017-08-25 11:58:05 +02:00
Carles Fernandez
58e92343c7 Fix bug in NMEA messages. Fixes #45
Add a new test for the NMEA printer
2017-08-25 11:42:02 +02:00
Carles Fernandez
38858836a0 Replace <ctime> library by <chrono>
and also replace C-style casts by C++ casts. Added/removed some blank
lines here and there to match coding style of other tests.
2017-08-24 18:09:04 +02:00
Carles Fernandez
a3b81a884b Fix redefinition of variable 2017-08-24 18:03:23 +02:00
Gastd
21dcf7216d Update test configuration 2017-08-23 13:56:02 -03:00
Gastd
edc7ce8ccc Add unit test for new tracking blocks 2017-08-23 13:56:02 -03:00
Gastd
26cf61b045 Set noise_flag and dump to false 2017-08-23 13:44:27 -03:00
Gastd
0ebc8af42b Update tests 2017-08-23 13:44:27 -03:00
Gastd
a178376ad1 Update test 2017-08-23 13:38:47 -03:00
Gastd
88fa602505 Add unit-test for glonass pcps acquisition 2017-08-23 13:30:05 -03:00
Gastd
2984b6c976 Update test configuration 2017-08-23 13:09:28 -03:00
Gastd
4c83f59cfc Add unit test for new tracking blocks 2017-08-23 13:09:28 -03:00
Gastd
4557837814 Set noise_flag and dump to false 2017-08-23 13:09:28 -03:00
Gastd
195c836922 Update tests 2017-08-23 13:09:28 -03:00
Gastd
3550a4dfb7 Update test 2017-08-23 13:09:28 -03:00
Gastd
e02e8f8df4 Update test 2017-08-23 13:09:28 -03:00
Gastd
936c5d5bea Add unit-test for glonass pcps acquisition 2017-08-23 13:09:28 -03:00
Carles Fernandez
eecfd10875 Replace C-style casts by C++ casts 2017-08-19 20:05:52 +02:00
Carles Fernandez
d12858e579 Replace C-style casts by C++ casts 2017-08-19 12:45:19 +02:00
Carles Fernandez
4807c55184 Fix GCC warnings 2017-08-18 13:42:27 +02:00
Carles Fernandez
a168b31fb1 Fix GCC warning 2017-08-18 13:35:02 +02:00
Carles Fernandez
45ba8bb10c Fix GCC warnings 2017-08-18 13:21:08 +02:00
Carles Fernandez
2467ed5af7 Avoid gcc warning 2017-08-18 13:07:49 +02:00
Carles Fernandez
61f8df3586 Replace some C-style cast by static_cast<>()
See https://stackoverflow.com/questions/1609163/what-is-the-difference-between-static-cast-and-c-style-casting
2017-08-18 12:45:47 +02:00
Carles Fernandez
e2f02a50f0 Use const container calls when result is immediately converted to a const iterator 2017-08-15 22:15:21 +02:00
Carles Fernandez
85cc7802be Fix const correctness when catching exceptions
See https://stackoverflow.com/questions/7581654/about-catching-exception-good-practices
Unneeded includes unistd.h removed
Close dump files in destructor
2017-08-14 13:59:00 +02:00
Carles Fernandez
77eb09c2a7 Remove uneeded stdio.h 2017-08-13 10:01:10 +02:00
Carles Fernandez
59164c33bd Remove unneded cstdlib include 2017-08-12 15:52:23 +02:00
Carles Fernandez
e8f401911f Fix test 2017-08-12 14:25:53 +02:00
Carles Fernandez
02ea8acbfd Always initialize elapsed_seconds
It was causing warnings in GCC. Some code style applied.
2017-08-11 13:11:38 +02:00
Carles Fernandez
18cd7daa09 Eliminate ctime library. Replaced by chrono or boost::date_time 2017-08-11 05:18:38 +02:00
Carles Fernandez
ed5191fc54 Clean headers. C++ libraries preferred over C libraries 2017-08-10 15:34:38 +02:00
Javier Arribas
365ff3a18b Observable unit test updated and upgraded to test both code and carrier phase observables. It requires the latest version of gnss-sim, please update the simulator 2017-08-03 17:58:11 +02:00
Javier Arribas
ceef915de7 Improving observables binary dump 2017-07-28 18:24:36 +02:00
Carles Fernandez
196d84aca3 Fix telemetry test 2017-07-12 21:54:47 +02:00
Carles Fernandez
a298013a23 Fix bug reading tracking dump file 2017-07-12 21:24:47 +02:00
Carles Fernandez
367d65a536 Fix defect 2017-07-12 21:01:46 +02:00
Carles Fernandez
d1828721cf Fix bugs and defects detected by Coverity Scan 2017-07-12 20:12:33 +02:00
Carles Fernandez
7bc57587d8 Fix bugs and defects detected by coverity scan 2017-07-12 20:02:34 +02:00
Carles Fernandez
d7e6b5a941 Add include required by make check 2017-07-11 12:50:20 +02:00
Carles Fernandez
f84fe9e31f Avoid underscores in Test Cases and Test Names
According to
    https://github.com/google/googletest/blob/master/googletest/docs/FAQ.md#why-should-not-test-case-names-and-test-names-contain-underscore
2017-07-11 12:22:05 +02:00
Carles Fernandez
d89be37c4a Fix tests 2017-07-11 11:56:54 +02:00
Carles Fernandez
39253893d4 Add missing include 2017-07-11 08:59:54 +02:00
Carles Fernandez
d469961f09 Fix test 2017-07-11 00:31:40 +02:00
Carles Fernandez
51cd1d0c29 Add unit tests for Data Type Adapter blocks 2017-07-10 23:59:18 +02:00
Carles Fernandez
0c03d36093 Fix test 2017-07-07 12:38:24 +02:00
Carles Fernandez
130de7acac Avoid underscores in Test Cases and Test Names
According to
https://github.com/google/googletest/blob/master/googletest/docs/FAQ.md#why-should-not-test-case-names-and-test-names-contain-underscore
2017-06-25 23:59:47 +02:00
Carles Fernandez
40f02e30c2 Avoid underscores in Test Cases and Test Names
According to
https://github.com/google/googletest/blob/master/googletest/docs/FAQ.md#why-should-not-test-case-names-and-test-names-contain-underscore
2017-06-25 22:53:11 +02:00
Carles Fernandez
9bfef0e05a Fix CMake scripts to use Ninja https://ninja-build.org/
cmake -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -GNinja .. && ninja
2017-06-21 08:54:47 +02:00
Carles Fernandez
9863c680f1 Merge branch 'next_fpga' of https://github.com/gnss-sdr/gnss-sdr into next 2017-06-13 11:14:35 +02:00
Carles Fernandez
d80e436fc2 Add missing include (for O_WRONLY) 2017-06-12 17:47:20 +02:00
mmajoral
9a7bd7ffb4 adopted code style + did some code refactoring 2017-06-08 17:29:45 +02:00
mmajoral
e3b2319568 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next_fpga 2017-06-08 16:18:16 +02:00
Carles Fernandez
8aa7140f19 Avoid the use of rand() 2017-06-07 17:28:11 +02:00
mmajoral
2a0b874a02 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next_fpga 2017-05-24 12:26:27 +02:00
mmajoral
adde064ff4 removed non used configuration parameter 2017-05-24 11:11:58 +02:00
mmajoral
0966ea9dca code refactoring 2017-05-23 18:12:22 +02:00
mmajoral
cbe20c0920 refactoring code 2017-05-18 17:10:28 +02:00
Carles Fernandez
0253f4ba05 Merge remote-tracking branch 'upstream/common_solver' into next
This commit Integrates RTKLIB positioning libraries in a universal PVT
block implementation called RTKLIB_PVT. This results in an improved
positioning accuracy and precision with a wide range of options
(including Precise Point Positioning and ionospheric/troposphreic
models).

Not all the RTKLIB features have been ported. Some of them will be
progressively added. The ported options and how to configure them have
been documented in the website, see
http://gnss-sdr.org/docs/sp-blocks/pvt/

This commit also introduces a multi-band, multi system Observables block
implementation.

Relevant architectural changes that reduce latency and makes
multi-system, multi band signal handling easier.

Redundant blocks have been deleted. Old configurations are automatically
redirected to the new blocks for Observables and PVT, so the commit does
not break any existing configuration. The user should just notice a
relevant improvement in positioning performance.

# Conflicts:
#	src/core/receiver/gnss_flowgraph.cc
2017-05-10 22:16:18 +02:00
mmajoral
de2043ca00 cleaned the acquisition code that runs in the Zynq SoC, cleaned some tracking files that run in the Zynq SoC as well. 2017-05-08 17:03:27 +02:00
mmajoral
9195740d8a acquisition gps unit test for the FPGA. The code is currently being cleaned 2017-05-05 16:14:27 +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
ef5cb645a7 Code cleaning: remove tabulators, remove multiple blank lines 2017-03-13 20:54:25 +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
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
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
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
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
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
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
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
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
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
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