Carles Fernandez
187ae683c9
Fix GCC warning
2017-08-18 13:56:49 +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
ff89df1ea1
Fix GCC warning
2017-08-18 13:11:12 +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
f0e6d6cbfa
Fix possible memory leaks
2017-08-15 00:04:51 +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
9b8b0eb726
Fix building of extra tests in Debian 9
2017-08-12 13:22:54 +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
Carles Fernandez
3dd3c2f444
Enable building with Clang in Linux
2017-08-07 11:08:05 +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
4ba0dd63cb
Update PVT block name
2017-07-12 21:25:15 +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
f3d0435c37
Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next
2017-07-12 20:31:29 +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
ec83f384bf
Add minor fixes
2017-07-12 10:01:20 +02:00
Carles Fernandez
92cc773067
Add DataTypeAdapter tests to make check
2017-07-11 12:52:45 +02:00
Carles Fernandez
15a807380e
List Unpack2bitSamplesTest
2017-07-11 12:51:19 +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
e8598e2dd7
Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next
2017-07-11 00:10:37 +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
e7149acf6e
Better use of Test Case name
2017-07-03 12:43:25 +02:00
Carles Fernandez
b1f880c19a
Fix test
2017-07-03 12:42:22 +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
caae643462
Workaround for CMake < 3.2 (e.g. Ubuntu 15.04)
2017-06-22 20:17:37 +02:00
Carles Fernandez
54c4f595b2
Fix GPSTk building with Ninja
2017-06-21 15:41:04 +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
9e77789d8d
Small fix
2017-06-07 17:33:59 +02:00
Carles Fernandez
d3fbfb38db
Fix uncatched exception
2017-06-07 17:32:37 +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
Carles Fernandez
639a41c36b
Remove unused variable
2017-05-19 09:11:12 +02:00
Carles Fernandez
a7c9fd657c
Position file now admits a configuration file
...
e.g.:
../install/position_test --config_file_ptest=../conf/gnss-sdr.conf
2017-05-19 08:39:48 +02:00
mmajoral
cbe20c0920
refactoring code
2017-05-18 17:10:28 +02:00
Carles Fernandez
96f3599a29
Stylishing code
2017-05-13 21:08:42 +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
Carles Fernandez
9fef3fbfe9
Merge branch 'next_fpga' of https://github.com/gnss-sdr/gnss-sdr into next
2017-05-08 22:48:04 +02:00
Carles Fernandez
bb9346441c
Better handling of RTKLIB options
2017-05-08 21:26:12 +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
Carles Fernandez
1cb4425cde
Fix PPP configuration
2017-05-06 10:45:33 +02:00
mmajoral
eccbd0f97a
acquisition gps unit test for the FPGA. The code is currently being cleaned
2017-05-05 16:15: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
Carles Fernandez
b3025b74a6
Add pararmeters to position test
2017-05-04 18:42:35 +02:00
Carles Fernandez
9323360526
Fix TTFF test
2017-04-29 23:14:36 +02:00
Carles Fernandez
a5bfa2a938
Relax test thershold
2017-04-29 19:16:59 +02:00
Carles Fernandez
6f140b67d1
Re-enable TTFF test
2017-04-29 19:14:59 +02:00
Carles Fernandez
f4cc6addc6
Re-enable observables system test
2017-04-29 18:23:32 +02:00
Carles Fernandez
0b6affe38b
Re-enable RTCM and RINEX writing, average parameters removed
2017-04-29 09:25:05 +02:00
Carles Fernandez
efaf01c78c
Fix rate parameters
2017-04-27 15:41:59 +02:00
Carles Fernandez
07ecbd2f5e
Add computation of 2D and 3D bias to position test
2017-04-23 22:31:53 +02:00
Carles Fernandez
979377a632
Deactivate PVT flag averaging
2017-04-22 23:50:21 +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
264668a69d
Add position test
...
enabled with -DENABLE_SYSTEM_TESTING_EXTRA=ON
Computes accuracy and precision metrics
2017-04-22 12:09:48 +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
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