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
Gastd
296942ff23
Solve conflicts
2017-08-23 14:12:55 -03:00
Gastd
a4843403d7
Add required function
2017-08-23 14:09:09 -03:00
Carles Fernandez
16a65a4e2b
Fix building when compilers have a C++ standard below C++11
2017-08-23 19:04:11 +02:00
Gastd
bcaeec37b9
Remove unexpected bracket
2017-08-23 13:58:12 -03: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
d0809978d4
Add header with authors and license
2017-08-23 13:53:42 -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
32b9919fc5
Add telemetry rate
2017-08-23 13:35:35 -03:00
Gastd
239d15bfc7
Add glonass signal acquisition
2017-08-23 13:34:37 -03:00
Gastd
88fa602505
Add unit-test for glonass pcps acquisition
2017-08-23 13:30:05 -03:00
Gastd
2c495ec014
Fix wipeoff bug
2017-08-23 13:15:42 -03:00
Gastd
72ff71450b
Add FDMA protocol to pcps algorithm
2017-08-23 13:15:42 -03:00
Gastd
b0a6483254
Add chip shift to glonass ca code
2017-08-23 13:15:42 -03:00
Gastd
fc40e1bdc7
Add code for C/A signal generation for glonass
2017-08-23 13:15:42 -03:00
Gastd
5d9742416d
fix glonass signal string
2017-08-23 13:15:42 -03:00
Gastd
f918a00590
Add glonass svn in signals list
2017-08-23 13:15:42 -03:00
Gastd
1864f78d9a
Change the if frequency to the FDMA channel to be searched
2017-08-23 13:15:42 -03:00
Gastd
8f8bdb14dd
Add glonass svn in signals list
2017-08-23 13:15:42 -03:00
Gastd
acf2e04bef
fix another conflict
2017-08-23 13:15:42 -03:00
Gastd
88a0976f96
Add FDMA protocol to pcps algorithm
2017-08-23 13:15:42 -03:00
Gastd
eec6f07f1d
Update glonass prn table
2017-08-23 13:15:09 -03:00
Gastd
fcea248654
Add glonass svn in signals list
2017-08-23 13:13:15 -03:00
Gastd
f9845ae3a2
Change the if frequency to the FDMA channel to be searched
2017-08-23 13:13:15 -03:00
Gastd
b8e7fc0cc9
Add Glonass_L1_CA.h with Glonass L1 CA parameters
2017-08-23 13:12:06 -03:00
Gastd
41306ee044
Add code for C/A signal generation for glonass
2017-08-23 13:11:17 -03:00
Gastd
339aad9beb
Add glonass svn in signals list
2017-08-23 13:10:04 -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
c51a4ca17b
Add glonass frequency channel variable as private member
2017-08-23 13:09:28 -03:00
Gastd
48a5fa969b
Add author tag
2017-08-23 13:09:28 -03:00
Gastd
a1343654f0
Add Glonass C Aid tracking block to the block factory
2017-08-23 13:09:28 -03:00
Gastd
bbec0acf28
Add Glonass C Aid track blocks
2017-08-23 13:09:28 -03:00
Gastd
c8488eff56
Add Glonass C Aid track adapter
2017-08-23 13:09:28 -03:00
Gastd
17e38a28fa
clean code and fix dump file
2017-08-23 13:09:28 -03:00
Gastd
071c2e2cc0
Add header with authors and license
2017-08-23 13:09:28 -03:00
Gastd
c3ca053664
Update info
2017-08-23 13:09:28 -03:00
Gastd
cb87b75aa6
Add Glonass Tracking block to block factory
2017-08-23 13:09:28 -03:00
Gastd
9d6bea831e
Add glonass system in satellite signal
2017-08-23 13:09:28 -03:00
Gastd
970c32529a
Add gnuradio block for glonass tracking
2017-08-23 13:09:28 -03:00
Gastd
b7c3221ca5
Add adapter for Glonass L1 C/A tracking
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
88177d772e
Update signal generator for glonass
2017-08-23 13:09:28 -03:00
Gastd
e15dace0d3
Add plot function for glonass acquisition
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
070c42164b
Add Glonass signal for tests
2017-08-23 13:09:28 -03:00
Gastd
7bb3174e88
Add telemetry rate
2017-08-23 13:09:28 -03:00
Gastd
3719da9853
Reset acquisition
2017-08-23 13:09:28 -03:00
Gastd
cd8527d99e
Add chip delay in Glonass L1 CA Code
2017-08-23 13:09:28 -03:00
Gastd
52140c85f2
Add glonass signal acquisition
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
Gastd
80d232158e
Fix wipeoff bug
2017-08-23 13:09:28 -03:00
Gastd
1859f591e7
fix another conflict
2017-08-23 13:09:28 -03:00
Gastd
6525c57e8e
Add FDMA protocol to pcps algorithm
2017-08-23 13:09:28 -03:00
Gastd
fc4ba6a114
Update glonass prn table
2017-08-23 13:09:28 -03:00
Gastd
c281ae769a
Add chip shift to glonass ca code
2017-08-23 13:08:46 -03:00
Gastd
4fe9f37578
Add code for C/A signal generation for glonass
2017-08-23 13:08:46 -03:00