1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-28 16:03:15 +00:00
Commit Graph

2515 Commits

Author SHA1 Message Date
Carles Fernandez
5d85d15ad8 Merge branch 'glonass' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-11-21 18:06:33 +01:00
Carles Fernandez
9139c4053c Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-11-21 17:35:40 +01:00
Damian Miralles
4a8182af26 feature: Adding code to fix coherent integration in GLONASS L1 C/A
Debugs code to fix GLONASS coherent integration. Adds message handling
from telemetry decoding to signal tracking modules. Bug on poor track
performance stills need to be determine.
2017-11-20 14:52:37 -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
bc78416f52 Delete variables going out of scope 2017-11-20 12:17:57 +01: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
d8c924a2ca Fix warning 2017-11-20 08:22:04 +01:00
Carles Fernandez
f719b4a22a Add .mat storing capability to Observables block 2017-11-19 20:45:52 +01:00
Carles Fernandez
b50545b446 Use matio library in tracking blocks 2017-11-19 17:52:45 +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
Carles Fernandez
fe241c8b2d clean kernel 2017-11-16 20:54:04 +01:00
Carles Fernandez
eecfa6c582 Add AVX2 2017-11-16 19:51:15 +01:00
Carles Fernandez
6d216fa5a1 Add volk_gnsssdr_16ic_conjugate_16ic kernel 2017-11-16 19:45:15 +01:00
Unknown
7076bebf30 Remove unused include 2017-11-16 16:33:24 +01:00
Unknown
9ff4d8d880 Fix Galileo E5a deadlock 2017-11-16 16:33:24 +01:00
Carles Fernandez
27eece55da Add aligned kernel for AVX 2017-11-15 02:10:25 +01:00
Carles Fernandez
9c6d79e945 Fix building with Python 3.6 2017-11-15 01:23:05 +01:00
Damian Miralles
756a4b5a2e 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-14 08:09:14 +01:00
Damian Miralles
3e4e94db8e clean up: Clean up warnings during compile process
Removes unused variables from code and fix counter to include both GPS
and GLONASS observations
2017-11-14 08:09:14 +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
Damian Miralles
feae8303de clean up: Clean up warnings during compile process
Removes unused variables from code and fix counter to include both GPS
and GLONASS observations
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
Damian Miralles
1b98e7dcad position fix: First combined GPS + GLONASS position solution
First positon fix using a combination of GLONASS and GPS data in
GNSS-SDR. The position solution may need further testing but initial
results are looking quite promising.
2017-11-10 09:39:22 +01:00
Unknown
994233b9f7 Change test name 2017-11-10 09:25:18 +01:00
Damian Miralles
4b9c226891 bugfix: Fixes bugs in RINEX and RTCM generators
Remove dependency of t_b in P_1 for GLONASS GNAV Ephemeris and cleaned
RINEX line for nav messages generation
2017-11-09 20:31:53 +01:00
Unknown
6798f45df6 Added L1, E1, L5, E5 obs system test 2017-11-09 16:11:04 +01:00
Unknown
ab6415d843 Merge remote-tracking branch 'gnss-sdr/next' into system_test_space 2017-11-07 12:07:29 +01:00
Unknown
829071369d Changes in cut-off frequency and transition width parameters 2017-11-07 11:55:03 +01:00
Unknown
10bbe2a267 Avoid IF parameter ambiguity
Added a new boolean for proper instantiation and connection of the internal blocks
2017-11-07 11:54:50 +01:00
Unknown
9361ae0090 Merge remote-tracking branch 'gnss-sdr/next' into system_test_space 2017-11-07 08:56:07 +01:00
Carles Fernandez
8fa965c75c Change parameter bw to be the cut-off frequency 2017-11-06 19:27:41 +01:00
Carles Fernandez
a8ff283bac Call the Intermediate Frequency parameter "IF" for consistency with the
freq_xlating_fir_filter block
2017-11-06 19:03:01 +01:00
Unknown
805e5b8020 Merge remote-tracking branch 'gnss-sdr/next' into system_test_space 2017-11-06 12:56:49 +01:00
Unknown
8e57d0829c Merge remote-tracking branch 'gnss-sdr/next' into pulse_blanking_if 2017-11-06 12:23:23 +01:00
Unknown
03f7cf0b07 Add lowpass filtering
Lowpass filtering implementation in freq_xlating
2017-11-06 10:32:11 +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
ff2e7ecbb3 Fix building for CMake 3.6 and older
VERSION_GREATER_EQUAL was introduced in CMake 3.7
2017-11-04 20:14:13 +01:00
Carles Fernandez
401889da35 Update GPSTk to 2.10
Add more control of installed versions
2017-11-04 19:22:40 +01:00
Carles Fernandez
a148fe4425 Fix CMake warnings about RPATH in macOS 2017-11-04 12:09:56 +01:00
Carles Fernandez
532d69ef47 Avoid double writing of the results 2017-11-04 12:01:24 +01:00
Carles Fernandez
4992449b51 Remove unused includes 2017-11-04 10:59:51 +01:00
Carles Fernandez
f436cc8a5c Allow 'large' files in 32 bit builds (Lintian requirement) 2017-11-04 10:59:03 +01:00
Carles Fernandez
4f9d6afd7d Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into dmiralles2009-glonass_dec 2017-11-03 16:30:24 +01:00
Carles Fernandez
a8005b5652 Merge branch 'glonass_dec' of https://github.com/dmiralles2009/gnss-sdr into dmiralles2009-glonass_dec 2017-11-03 16:18:54 +01:00
Damian Miralles
e636bba59a position fix: First GLONASS position fix
First GLONASS L1 C/A position fix using GNSS-SDR. Fixes bug in toe
reporting for GLONASS and cleans up the code a bit. Small bug with
RINEX file still present but achievement deserves its own commit.
2017-11-01 21:05:40 -06:00
Carles Fernandez
a9be24420e Fix typo 2017-11-01 20:49:10 +01:00
Antonio Ramos
f02bd08ce9 Merge remote-tracking branch 'origin/pulse_blanking_if' into pulse_blanking_if 2017-10-31 22:36:00 +01:00
Antonio Ramos
5958d11fd1 Baseband downconverting PulseBlanking
Added an IF to baseband downconverting stage previous to the pulse blanking filter
2017-10-31 22:34:21 +01:00
Antonio Ramos
dceb15acdc Baseband downconverting PulseBlanking
Added an IF to baseband downconverting stage previous to the pulse blanking filter
2017-10-31 20:28:34 +01:00
Unknown
dcedbf25d7 Improving gps_l1_obs_space_system_test
Improved checking algorithm
2017-10-31 17:01:56 +01:00
Carles Fernandez
afb3aa14f6 Remove commented lines 2017-10-31 16:03:41 +01:00
Carles Fernandez
647a27a192 Avoid possible duplication of linked libraries
Add installation pointers for gnuradio-iio
2017-10-31 16:02:18 +01:00
Unknown
2eabafe40c Merge remote-tracking branch 'gnss-sdr/next' into system_test_space 2017-10-31 15:42:00 +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
c70f7b504a Fix RINEX version 2017-10-31 15:40:14 +01:00
Carles Fernandez
462de44be4 Fix compilation 2017-10-31 13:05:15 +01:00
Carles Fernandez
0054f1c5f8 Fix compilation 2017-10-31 12:45:09 +01:00
Javier Arribas
e7143f932a Add includes for gnuradio-iio in block factory 2017-10-31 12:36:35 +01:00
Carles Fernandez
d6ea3dac53 Merge branch 'glonass' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-10-31 11:35:26 +01:00
Carles Fernandez
15f8a86a43 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-10-31 11:24:22 +01:00
Carles Fernandez
ffde1309b9 Fix compilation error 2017-10-31 11:23:41 +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
d287901041 Add override keyword 2017-10-31 07:31:43 +01:00
Carles Fernandez
3ad5a99d0a Use const iterators instead of iterators 2017-10-31 07:24:23 +01:00
Carles Fernandez
16c0d5a2c8 Small fix 2017-10-31 07:23:43 +01:00
Carles Fernandez
cc3ed4c672 Apply project's coding style 2017-10-30 22:31:20 +01:00
Carles Fernandez
fd2a32e0eb Merge branch 'fmcomms2' of https://github.com/academiasIT/gnss-sdr into academiasIT-fmcomms2 2017-10-30 21:45:48 +01:00
rmunozl
31b4228d8b add better explanation in README.md and improve format of some files 2017-10-30 15:17:53 +00: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
lmne
23fa911dd5 Add support to fmcomms2 SDR hardware 2017-10-29 02:51:22 -03: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
Carles Fernandez
6f5f8e8948 Catch exception 2017-10-19 20:52:32 +02:00
Carles Fernandez
21fbe61243 Remove more unrequired includes and reorder them 2017-10-19 20:51:30 +02:00
Carles Fernandez
e944aad824 Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next 2017-10-19 19:26:40 +02:00
Carles Fernandez
54a0070a33 Remove unrequired and repeated includes 2017-10-19 19:26:08 +02:00
Unknown
c114d38975 Notch filters FFT improved
FFT migrated from Armadillo to GNU Radio
2017-10-18 12:36:12 +02:00
Unknown
52a072b2fe Merge branch 'testing' into next
New unit tests for arithmetic (FFT) and input filters
2017-10-18 11:21:22 +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
Carles Fernandez
511675a97e Apply project's coding style 2017-10-18 09:08:13 +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
117329c1fc Avoiding copying input buffers
Improving performances of Notch and Notch Lite input filters
2017-10-17 11:29:30 +02:00
Unknown
0aa178b3ab Merge branch 'next' into testing 2017-10-17 11:10:00 +02:00
Unknown
93cd6a1713 Avoiding copying input buffers
Improving performances of Notch and Notch Lite input filters
2017-10-17 10:40:45 +02:00
Unknown
a1d432f9e8 Added Notch Filter tests
Unit test fot Notch input filter
2017-10-17 09:38:16 +02:00
Carles Fernandez
66a585bfeb Replace C-style casts by C++-style casts 2017-10-16 20:35:06 +02:00
Carles Fernandez
8ef49734db Avoid writing in the input buffer
This was uncovered when replacing C-style casts to C++-style casts.

Apply project's indentation style
2017-10-16 20:17:32 +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
732597860f Fix building 2017-10-16 11:39:22 +02:00
Carles Fernandez
b42ddeb524 Merge branch 'next' of https://github.com/antonioramosdet/gnss-sdr into antonioramosdet-next 2017-10-16 10:14:58 +02:00
Carles Fernandez
acfd4cc0c9 Replace C-style casts by C++ casts
Apply code styling
Fix a GCC warning (unused variable)
2017-10-14 12:30:03 +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
76e6adf3ad Include some files that were not getting installed 2017-10-13 11:35:12 +02:00
Carles Fernandez
0be23787d7 Use __VOLK_ASM and __VOLK_VOLATILE keywords 2017-10-13 11:32:00 +02:00
Carles Fernandez
c94a0dcd61 Added __VOLK_ASM and __VOLK_VOLATILE 2017-10-13 11:27:15 +02:00
Carles Fernandez
9b1ae85904 Fix identical code for different branches 2017-10-13 11:26:39 +02:00
Carles Fernandez
bda1f15594 Fix compilation problem with Xcode 9
The following error appeared when working with the latest macOS Xcode 9
SDK:

error: unknown type name 'mach_port_t' mach_port_t
__libcpp_thread_get_port();

Added:

#ifdef __APPLE__
#define _DARWIN_C_SOURCE
#endif

(solution found at https://github.com/arvidn/libtorrent/issues/2364 )
2017-10-13 11:18:19 +02:00
Unknown
4dd128f633 Merge remote-tracking branch 'gnss-sdr/next' into next 2017-10-13 11:14:36 +02:00
Carles Fernandez
173b6c7d8a Pass Gnns_Satellite object by reference instead of by value 2017-10-12 19:15:44 +02:00
Carles Fernandez
f2aaf0c851 Pass GNSS_Satellite objects by reference instead of by value
Added override keyworkd
2017-10-12 18:32:49 +02:00
Carles Fernandez
9cec205132 Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into glonass 2017-10-12 18:21:21 +02:00
Carles Fernandez
cf39e77396 Pass Gnss_Satellite object by reference instead of by value 2017-10-12 18:15:35 +02:00
Carles Fernandez
8a43414933 Merge branch 'glonass_dec' of https://github.com/dmiralles2009/gnss-sdr into dmiralles2009-glonass_dec 2017-10-11 18:22:56 +02:00
Damian Miralles
93640ffd46 GLONASS bugfix: Fixes settings with rtklib obs_t and nav_t members
Adds settings in rtklib code to parse GLONASS measurements in `obs_t`
and 'nav_t' structures. It also adds the time of day field in gnav eph
to keep track as of when ephemeris are reported.
2017-10-11 08:22:45 -06:00
Damian Miralles
ea675b4baa bugfix: Fixes signal identifier for GLONASS GNAV
Signal identifier for GLONASS L1 C/A was changed internally to be `1G`
instead of the '1C' originally conceived from the navigation software.
Also, forces PRN number update from decoding interface
2017-10-10 08:40:05 -06:00
Carles Fernandez
0532017857 Add blocking parameter to Glonass acquisition 2017-10-04 01:38:00 +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
c5a690cf1e GLONASS Observables: Fixes bug in TOW updating
Fixes bug in TOW update when a new value has been computed. This adds a
new flag to keep track of TOW update given the tk component. The code
fix improves the pseudorange measurement for code
2017-10-03 15:26:02 +02:00
Damian Miralles
e5e9cc97ad bugfix: Fixes accumulation length for carrier lock detectors
Based on reference [2] of the lock_detectors file the accumulation
length for GLONASS satellite should be reduced to 10 ms instead of the
default value of 20. Because of the meander sequence of GLONASS system
the effective data bit is of length 10 ms as seen by tracking modules
2017-10-03 15:26:02 +02:00
Damian Miralles
cd0d65ecc0 bugfix: Fix computation of TOW value for GLONASS GNAV
Fixes the TOW computation mapping from GLONASS Time to UTC time and then
conversion to TOW and WN. The logic of the conversion considers time
offsets but  may need to be reviewed.
2017-10-03 15:26:02 +02:00
Damian Miralles
d8f697401e bugfix: Fixes bugs with units in GNAV Almanac decoding
Forces conversion of semicircles to radians units  in some GNAV Almanac
parameters. In addition, adds safeguards in code to avoid invalid
slot number identification.
2017-10-03 15:26:02 +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
529da490c3 bugfix: Fixes reporting for new almanac data
Adds code to update the almanac information for satellites when decoded
by reducing the flags for the update. Almanac update is now reported
when the 2 required strings are decoded.
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
e0dfd90916 GLONASS Observables: Fixes bug in TOW updating
Fixes bug in TOW update when a new value has been computed. This adds a
new flag to keep track of TOW update given the tk component. The code
fix improves the pseudorange measurement for code
2017-10-02 23:00:45 -06:00
Damian Miralles
7cc27df082 bugfix: Fixes accumulation length for carrier lock detectors
Based on reference [2] of the lock_detectors file the accumulation
length for GLONASS satellite should be reduced to 10 ms instead of the
default value of 20. Because of the meander sequence of GLONASS system
the effective data bit is of length 10 ms as seen by tracking modules
2017-09-30 12:54:08 -06:00
Damian Miralles
081a78f603 bugfix: Fix computation of TOW value for GLONASS GNAV
Fixes the TOW computation mapping from GLONASS Time to UTC time and then
conversion to TOW and WN. The logic of the conversion considers time
offsets but  may need to be reviewed.
2017-09-22 12:16:26 -06:00
Damian Miralles
c22cc63f31 Merge branch 'glonass_dec' of github.com:dmiralles2009/gnss-sdr into glonass_dec 2017-09-20 08:44:36 -06:00
Damian Miralles
2ab93f2599 bugfix: Fixes bugs with units in GNAV Almanac decoding
Forces conversion of semicircles to radians units  in some GNAV Almanac
parameters. In addition, adds safeguards in code to avoid invalid
slot number identification.
2017-09-20 08:42:01 -06: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
c1df56b7e3 bugfix: Fixes reporting for new almanac data
Adds code to update the almanac information for satellites when decoded
by reducing the flags for the update. Almanac update is now reported
when the 2 required strings are decoded.
2017-09-16 13:07:34 -06:00
Cillian O'Driscoll
b90da8e1f5 Merge remote-tracking branch 'carles/odrisci-non_blocking_acq-test' into non_blocking_acq 2017-09-16 15:08:54 +01:00
Cillian O'Driscoll
aaf4ca94e8 Fixed logic in pcps_acquisition_cc
Previously didn't actually check for positive or negative acquisition
until the call to general_work *after* the one in which the detection
statistics were generated
2017-09-16 14:57:50 +01:00
Cillian O'Driscoll
94f0df8ebe Make use of start() and stop() in pcps_acquisition_cc
This is a more natural place to start and stop threads in gnuradio
blocks
2017-09-16 14:55:56 +01: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
Carles Fernandez
ba1a143094 Minor fixes
Avoid C-syle casts
Always terminate case with break
Consume ninput_items[0] if case=1
2017-09-15 16:09:02 +02:00
Gastd
385661bf59 Add carrier frequency variable 2017-09-14 20:39:15 +02:00
Gastd
7273c227e4 Add missing headers 2017-09-14 20:39:15 +02:00
Cillian O'Driscoll
ba3d7bfcd8 Added 'blocking' option to pcps_acquisition_cc
Using C++ 11 threading routines to create a worker thread that can
perform the FFT for acquisition in a non-blocking manner. By default
'blocking' is set to true, which is identical to the previous behaviour
(with the added overhead of an extra thread). When 'blocking' is set to
false, then the main thread does not wait for the worker, thereby
letting the receiver continue even when the FFT thread is working. This
is very useful for using FFT acquisition at higher sampling rates, where
the FFT cannot be performed in real-time.

The aim is to replace the separate pcps_multithread_acquisition_cc.

TODO: implement the same thing for the pcps_acquisition_sc
2017-09-11 16:37:14 +01:00
Cillian O'Driscoll
9ec5558143 Use cpu_multicorrelator_real_codes
For galileo_e1_dll_pll_veml_tracking_cc and gps_l1_ca_dll_pll_tracking_cc

Note this gives some significant performance improvement for higher
sampling rates
2017-09-11 15:22:32 +01: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
Cillian O'Driscoll
676c1506da Updated volk_gnsssdr_module for real codes
Added 16i and 32f resamplers and 32fc_32f and 16ic_16i rotator dot product to
enable use of real (rather than complex) local code replicas
2017-09-11 15:15:27 +01:00
Carles Fernandez
667fbd58ff Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-09-10 11:24:51 +02:00
Carles Fernandez
e60c93da72 Remove extraneous parentheses warnings 2017-09-10 11:04:53 +02: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
Damian Miralles
2946d36f84 bugfix: Solves shared freq channel ambiguity and carr freq in plots
Adds code to solve the shared frequency channels for GLONASS satellites
during acq and trk, it is now decode responsability to fix the identifier
when decoding of ephemeris happens. It also adds more details in tracking
plotting and fixes silly bug that created false alarm.
2017-09-09 13:44:35 -06:00
Damian Miralles
778fa4f5f8 bugfix: Fixes bug for carrier frequency in pcps_acq for GLONASS
The code fixes the computation of the carrier frequency for pcps
acquisition of GLONASS satellites by making it relative to the IF. Also
new plotting features are added to visualize results
2017-09-07 21:59:27 -06:00
Carles Fernandez
3f557eeb41 Warn the user about the change in parameter name 2017-09-03 23:56:41 +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
a3d2c563c9 Fixing bugs and adding plotting tool for GLONASS measurements
Adds tracking results plot for GLONASS processing following code for
GPS. Also fix a couple of bugs in the code and address bugs from
acq and trk modules
2017-08-31 20:51:40 -06:00
Damian Miralles
6b8973efe2 Fixing bugs in telemetry decoder code 2017-08-31 16:51:50 -06:00
Damian Miralles
e5ffc2b46c Adding proper TOW computation for GLONASS processing 2017-08-31 09:57:30 -06:00
Damian Miralles
0caa7fff15 Fixes ineficiencies in the code, remove unused variables 2017-08-31 09:57:30 -06:00
Damian Miralles
6331ebd8b5 Fixes issues detected during merge procedure 2017-08-31 09:57:30 -06:00
Damian Miralles
4e78bcf446 Merge in GLONASS acquisition and tracking code 2017-08-31 09:57:30 -06:00
Damian Miralles
19f4da0aa6 merging: Starts merge procedure for glonass branch from upstream
Starts merging process of the acquisition and tracking code for GLONASS
processing developed by Gabriel Araujo. Fixes compile warnings and
errors introduced during rebase operation
2017-08-31 09:55:35 -06:00
Damian Miralles
bf9345ebd2 Fixes error after rebase operation from upstream/next 2017-08-31 09:55:35 -06:00
Damian Miralles
85f7e333bb bug_fix: Fixes bugs in telemetry decoding interface
Fixes several bugs with the telemetry decoder interface and clean up the
code with unused methods and members of the ephemeris object
2017-08-31 09:55:35 -06:00
Damian Miralles
305a81a413 tel_dec: Fixing GLONASS GNAV Telemetry Decoder
Fixes GLONASS L1 CA telemetry decoder and creating connections with
observables blocks before PVT computation. Fixes documentation and code
style in the block
2017-08-31 09:55:35 -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
f720ddf208 Adding RTCM messages for GLONASS support
Adds code for RTCM in GLONASS processing. The commit includes legacy
messages (MS1009-MS1012) and integrated messages for GNSS fields.
A couple of bug fixes are included and addition of ephemeris fields
is completed.
2017-08-31 09:55:35 -06:00
Damian Miralles
e58cd5450d Adding RTCM Data Fields for GLONASS processing
Adds GLONASS related data fields (DFxxx) for RTCM messages including
MS1020, MS1087 and general MSM message types
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
d34ec96ad2 bugfix: Fixing bugs with RINEX support
Fixes compilation errors. Modifies GLONASS GNAV Ephemeris object to
contain fields relative to GPS time using the boost posix time object.
Adds unit tests to check existent and recently added code
2017-08-31 09:55:35 -06:00
Damian Miralles
2d40780689 Adding RINEX support for GLONASS GNAV processing
Adds RINEX v2 and v3 support for GLONASS satellites processing including
observation and navigation data records. Also adds conversion of
ephemeris records in GNSS-SDR format to RTKLib format
2017-08-31 09:55:35 -06:00
Damian Miralles
c445ac261b Developing interface code for RINEX printer 2017-08-31 09:55:35 -06:00
Damian Miralles
fbd6b211eb Adding code for pvt computation 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
50f133e960 Fixing compilation warnings 2017-08-31 09:55:35 -06:00
Damian Miralles
b34a82a949 Adding code for telemetry decoder algorithms 2017-08-31 09:55:35 -06:00
Damian Miralles
6c8a29d3d4 writing code for crc computation in GLONASS processing 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
Damian Miralles
f8f3574090 gnav: Adding GLONASS GNAV Ephemeris, Almanac and UTC Model
Generates code for GLONASS GNAV Ephemeris, Almanac and UTC Model with
their respective decoding position indexes for string decoding and
message parsing. Starts developing of satellite position computation
based on its ephemeris and almanac information
2017-08-31 09:55:35 -06:00
Carles Fernandez
7ae4a794f6 Avoid signed overflow 2017-08-31 09:55:35 -06:00
Carles Fernandez
8bb188a8df Remove warning 2017-08-31 09:55:35 -06:00
Carles Fernandez
b9b0bf1ef8 Remove warning 2017-08-31 09:55:35 -06:00
Carles Fernandez
6a4a2db4bf Remove warning 2017-08-31 09:55:35 -06:00
Carles Fernandez
108ffc7537 Remove warning 2017-08-31 09:55:35 -06:00
Carles Fernandez
ddee13cfa6 Update per_support files 2017-08-31 09:55:35 -06:00
Carles Fernandez
fe336fef20 Update per_support files 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
d4a1dbaf08 Replace C-style casts by C++ casts 2017-08-31 09:55:35 -06:00
Carles Fernandez
ed021f043f Merge Gabriel's glonass-sdr branch 2017-08-31 09:55:35 -06:00
Carles Fernandez
fa8cb9dd5c Fix building when compilers have a C++ standard below C++11 2017-08-31 09:55:35 -06:00
Gastd
0a8d5e4ffd Solve issue glonass FDMA channel in tracking block 2017-08-31 08:57:27 -03:00
Carles Fernandez
47e41d5b28 Avoid signed overflow 2017-08-26 10:07:18 +02:00
Carles Fernandez
005917ac56 Remove warning 2017-08-26 00:06:18 +02:00
Carles Fernandez
00cc726c12 Remove warning 2017-08-25 23:51:11 +02:00
Carles Fernandez
04d0debfca Remove warning 2017-08-25 23:42:36 +02:00
Carles Fernandez
1a463e9c52 Remove warning 2017-08-25 23:38:44 +02:00
Carles Fernandez
d1429001fc Update per_support files 2017-08-25 22:44:49 +02:00
Carles Fernandez
18c48b30f5 Update per_support files 2017-08-25 22:16:06 +02: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
Antonio Ramos
9df36dcd83 Minor changes
Changing some variable names
2017-08-24 19:22:58 +02:00
Antonio Ramos
3536bce55c Improved Notch Filter Lite
Updated version of the filter
2017-08-24 19:22:58 +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
Carles Fernandez
9761803d6a Replace C-style casts by C++ casts 2017-08-23 23:06:56 +02:00
Carles Fernandez
2c71ebf479 Merge Gabriel's glonass-sdr branch 2017-08-23 22:35:22 +02:00
Carles Fernandez
29d8e081cc Merge remote-tracking branch 'gabriel/glonass-sdr' into glonass 2017-08-23 20:53:30 +02:00
Gastd
45c2351223 Remove redefinition 2017-08-23 14:13:19 -03:00