1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-14 13:54:57 +00:00
Commit Graph

631 Commits

Author SHA1 Message Date
Carles Fernandez
32dde63348 Save figures in pdf format 2017-10-22 22:33:27 +02:00
Carles Fernandez
d73825ebef Add 3d plot to position test 2017-10-22 19:39:16 +02:00
Carles Fernandez
4d7f93fd43 Add plot of precision results 2017-10-22 18:05:02 +02:00
Carles Fernandez
0164d6725d Simplify gnuplot interface usage in tests 2017-10-22 09:14:25 +02:00
Carles Fernandez
785d6185c3 Print both plots 2017-10-22 08:29:35 +02:00
Carles Fernandez
b6573b00e6 Fix persist for Mac 2017-10-22 08:28:59 +02:00
Carles Fernandez
5b23e29beb Fix error 2017-10-22 08:23:19 +02:00
Carles Fernandez
19b280e089 Add persist to gnuplot terminal 2017-10-22 08:20:51 +02:00
Carles Fernandez
e006b66f51 Fix postscript generation 2017-10-21 16:33:26 +02:00
Carles Fernandez
c4ba566c42 Keep windows open in Linux 2017-10-21 13:39:41 +02:00
Carles Fernandez
d0bd3987e1 Fix warnings 2017-10-21 13:38:25 +02:00
Carles Fernandez
ff4938702e Add Gnuplot-based plot results for FFT MeasureExecutionTime test 2017-10-21 13:05:51 +02:00
Carles Fernandez
1ac986e207 Test FFT with random numbers instead of all zeros 2017-10-20 12:58:44 +02:00
Damian Miralles
a1b9b092f5 Debugging GLONASS code to obtain position solution 2017-10-19 13:22:55 -06:00
Unknown
c114d38975 Notch filters FFT improved
FFT migrated from Armadillo to GNU Radio
2017-10-18 12:36:12 +02:00
Unknown
d5590eefe4 Added FFT speed test
Unit test comparing GNU Radio and Armadillo FFT implementations
2017-10-18 11:04:17 +02:00
Unknown
2c739a26bf Added Armadillo VS GNU Radio FFT speed test
Unit test comparing the two FFT implementations
2017-10-17 14:17:11 +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
Unknown
0f45e7d211 Block Factory filter instantiation tests
Added test cases for Pulse_Blanking, Notch and Notch_Lite filters
2017-10-13 16:21:26 +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
Damian Miralles
c4c90dcad2 feature: Remove satellite position computation from GNAV Almanac
Removes the satellite position computation from the GNAV Almanac object
since it does not seems to be a great usage at the moment. Possible
addition of the fields should be added to the RTKLib API
2017-10-03 15:26:02 +02:00
Damian Miralles
4d844cfa43 bugfix: Adds conversion from relative code to data bits
Adds conversion from relative code to data bits while decoding GLONASS
GNAV data. It also fixes bugs with CRC computation and extraction of
data from navigation message
2017-10-03 15:26:02 +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
Damian Miralles
fa235e29a4 feature: Remove satellite position computation from GNAV Almanac
Removes the satellite position computation from the GNAV Almanac object
since it does not seems to be a great usage at the moment. Possible
addition of the fields should be added to the RTKLib API
2017-09-18 15:52:09 -06:00
Damian Miralles
0c65a4eb7c bugfix: Adds conversion from relative code to data bits
Adds conversion from relative code to data bits while decoding GLONASS
GNAV data. It also fixes bugs with CRC computation and extraction of
data from navigation message
2017-09-15 22:25:37 -06: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
4e78bcf446 Merge in GLONASS acquisition and tracking code 2017-08-31 09:57:30 -06: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
3f87223f35 bugfix: Fix compile errors, code style and documentation
Fixes compilation errors after the RTCM package addition in the PVT
block. It also adds a series of class members documentation in the code
using the Doxygen standard while fixing code style errors
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
Damian Miralles
6669482e91 rtcm: Starting coding of RTCM standard
Starting to add GLONASS support for RTCM v3 messages while fixing bugs
with the RINEX parser. In addition, adding more unit tests in the code
2017-08-31 09:55:35 -06:00
Damian Miralles
8a0689fbb1 Fixing compile warnings and adding work on unit test 2017-08-31 09:55:35 -06:00
Damian Miralles
c24710c585 gnav: Adding GLONASS GNAV Navigation Message Operations
Adding code for navigation message computation for GLONASS GNAV code.
Continues to fix the almanac position computation and fixes bugs in code
due to compilation errors, coding style and Doxygen documentation
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
e484c391e6 Add file with real signals for testing 2017-08-23 13:09:28 -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
ed1e99b15b Add tracking glonass tests 2017-08-23 13:09:28 -03:00
Gastd
e82bc0c4d2 Add new file for glonasstests 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
d796a74f23 Update tests utils 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
be8bde063f Add signal sample for glonass and installation rule 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
Gastd
bfa0d50771 Add glonass acquisition tests 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
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