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

801 Commits

Author SHA1 Message Date
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
dfe8dbbea4 Remove unrequired include and other minor fixes 2018-01-29 19:22:49 +01:00
Carles Fernandez
749771ac3b Remove unrequired includes 2018-01-26 15:12:55 +01:00
Carles Fernandez
301a35b2e2 Move Glonass Tracking tests from extra to regular unit tests 2018-01-26 15:07:53 +01:00
Carles Fernandez
1b65cd9f8a Fix header 2018-01-26 14:52:57 +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
Carles Fernandez
36ae812e17 Remove blank line 2018-01-26 14:09:33 +01:00
Carles Fernandez
2a20976b0c Remove big sample file and move GlonassL1CaPcpsAcquisitionTest to extra unit tests 2018-01-26 13:40:52 +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
e8c363814e Merge branch 'glonass' of https://github.com/gnss-sdr/gnss-sdr
Grab latest code addition to ease up pull request
2017-12-27 19:16:19 -07: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
Carles Fernandez
7ac5e7c833 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-12-02 13:48:45 +01:00
Carles Fernandez
0a1e1e88c1 Minor fixes 2017-11-30 21:48:57 +01:00
Unknown
bb098efcc8 Minor changes obs sys test 2017-11-29 16:59:20 +01:00
Carles Fernandez
46d64af778 Matio is not optional 2017-11-26 18:59:00 +01: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
16a5f100cb Remove blanks 2017-11-20 11:21:23 +01:00
Carles Fernandez
1d51f7aae3 Merge remote-tracking branch 'cf/matio' into next
This commit adds the possibility to get .mat files with intermediate processing results (output of correlators, observables, etc.). Activate it with dump=true

This has been implemented in Tracking Blocks and Observables blocks
2017-11-20 11:17:27 +01:00
Carles Fernandez
72be91ad1f Fix some defects detected by Coverity Scan 2017-11-20 11:02:17 +01:00
Carles Fernandez
0fd605e2ef Test fixes 2017-11-18 10:10:23 +01:00
Carles Fernandez
fcaf4cfa50 Fix test in Ubuntu 16.04 2017-11-18 10:05:14 +01:00
Carles Fernandez
2f05ba4726 Warn user about lack of hdf5 2017-11-18 01:06:57 +01:00
Carles Fernandez
8926821fa3 Fix building if hdf5 is not found 2017-11-17 23:17:08 +01:00
Carles Fernandez
d4aa35316d Add matio 2017-11-17 21:54:02 +01:00
Carles Fernandez
00e37a83a6 Fix building in Linux 2017-11-17 21:20:56 +01:00
Carles Fernandez
929125cce5 Add matio library and add test case for it 2017-11-17 14:47:50 +01:00
Carles Fernandez
d20902d688 Add mechanisms for inverted spectrum 2017-11-17 09:21:03 +01:00
Damian Miralles
5eab353132 bugfixes: Add RTCM header creation for GLONASS satellites
Added code to enable RTCM header generation when in GLONASS. Also fixes
bug to allow combined observations from GPS and GLONASS. Fix some code
compilation warnings and unit tests.
2017-11-13 22:50:16 -07:00
Carles Fernandez
e95f1b62f5 Improve usage of gtest macros 2017-11-13 22:13:58 +01:00
Carles Fernandez
46a96775e4 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-11-11 11:02:21 +01:00
Carles Fernandez
05247ea4be Remove repeated line 2017-11-11 10:27:02 +01:00
Carles Fernandez
9496e66f3d Merge branch 'obs_sys_test' of https://github.com/antonioramosdet/gnss-sdr into antonioramosdet-obs_sys_test 2017-11-11 10:09:46 +01:00
Unknown
218844cce5 Minor changes in RINEX printer version setting 2017-11-10 15:07:06 +01:00
Unknown
baf2afdd3e Added GnuPlot to observables system test 2017-11-10 14:37:32 +01:00
Carles Fernandez
6e878920d5 Avoid working with optional testing executables from old builds
If the testing flags are switched ON and then OFF, optional executables
are deleted from the install folder. If the flag is switched to ON
again, executables are rebuild and copied to the install folder.
2017-11-10 12:34:20 +01:00
Unknown
b838d5d34c Improved pseudorange error computation 2017-11-10 12:04:21 +01:00
Carles Fernandez
f55f3d34a6 Print test results in file in a more elegant way 2017-11-10 10:46:53 +01:00
Unknown
994233b9f7 Change test name 2017-11-10 09:25:18 +01:00
Unknown
6798f45df6 Added L1, E1, L5, E5 obs system test 2017-11-09 16:11:04 +01:00
Unknown
805e5b8020 Merge remote-tracking branch 'gnss-sdr/next' into system_test_space 2017-11-06 12:56:49 +01:00
Carles Fernandez
7f452c34d2 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-11-04 21:19:21 +01:00
Carles Fernandez
401889da35 Update GPSTk to 2.10
Add more control of installed versions
2017-11-04 19:22:40 +01:00
Unknown
dcedbf25d7 Improving gps_l1_obs_space_system_test
Improved checking algorithm
2017-10-31 17:01:56 +01:00
Unknown
0531c0a0ed Observables system test GNSS-SDR space
Added a new observables system test
2017-10-31 15:40:51 +01:00
Carles Fernandez
7a2ef17927 Merge branch 'glonass_dec' of https://github.com/dmiralles2009/gnss-sdr into dmiralles2009-glonass_dec 2017-10-31 07:41:00 +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
Damian Miralles
6e223c4277 bugfix: changing flooring operation for tow update 2017-10-26 20:46:16 -06:00
Damian Miralles
791dfbd6d3 bugfix: Adjusting time of week (TOW) computation for GLONASS
Fixing the time of week computation for GLONASS by treating N_T as a
day offset from January 1. It also adds more units test for TOW checks
2017-10-26 18:43:18 -06:00
Damian Miralles
c9fba22307 bugreport: Time managment with boost posix time
Need to fix bug in time duration with posix time and deal with day
offsets in the code. Something seems off with day duration for long
periods of time.
2017-10-24 08:51:38 -06: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
Carles Fernandez
d86158a94a Adjust font size in pdf files 2017-10-22 23:04:39 +02:00
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
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
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