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

1626 Commits

Author SHA1 Message Date
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
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
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
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
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
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
b34a82a949 Adding code for telemetry decoder algorithms 2017-08-31 09:55:35 -06:00
Carles Fernandez
7ae4a794f6 Avoid signed overflow 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
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
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
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
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
d0809978d4 Add header with authors and license 2017-08-23 13:53:42 -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
1864f78d9a Change the if frequency to the FDMA channel to be searched 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
f9845ae3a2 Change the if frequency to the FDMA channel to be searched 2017-08-23 13:13:15 -03:00
Gastd
41306ee044 Add code for C/A signal generation for glonass 2017-08-23 13:11:17 -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
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
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
88177d772e Update signal generator for glonass 2017-08-23 13:09:28 -03:00
Gastd
070c42164b Add Glonass signal for tests 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
80d232158e Fix wipeoff bug 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
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
Gastd
26b58fa759 Change the if frequency to the FDMA channel to be searched 2017-08-23 13:08:46 -03:00
Gastd
4a74e30890 Add FDMA protocol to pcps algorithm 2017-08-23 13:05:33 -03:00
Gastd
e3cba491c1 Change the if frequency to the FDMA channel to be searched 2017-08-23 13:00:54 -03:00
Gastd
2369c98e12 fix ifndef include 2017-08-23 13:00:54 -03:00
Gastd
e78f80d459 Add chip shift to glonass ca code 2017-08-23 13:00:54 -03:00
Gastd
5ad65ab0e1 Add pcps acquisition adapter for glonass l1 ca signal 2017-08-23 13:00:54 -03:00
Gastd
f7092b68b6 Add Glonass_L1_CA.h with Glonass L1 CA parameters 2017-08-23 13:00:54 -03:00
Gastd
a399e2b0d0 Add code for C/A signal generation for glonass 2017-08-23 13:00:54 -03:00
Gastd
afede9c6cd Add glonass frequency channel variable as private member 2017-08-23 00:52:45 -03:00
Gastd
87d0f95d9c Add author tag 2017-08-23 00:52:45 -03:00
Gastd
8997f72eeb Add Glonass C Aid track blocks 2017-08-23 00:52:45 -03:00
Gastd
d95419d670 Add Glonass C Aid track adapter 2017-08-23 00:52:45 -03:00
Gastd
00352d8d0f clean code and fix dump file 2017-08-23 00:52:45 -03:00
Gastd
e9a6038a28 Add header with authors and license 2017-08-23 00:52:45 -03:00
Gastd
c256378707 Update info 2017-08-23 00:52:45 -03:00
Gastd
b69f203967 Add gnuradio block for glonass tracking 2017-08-23 00:52:45 -03:00
Gastd
22da2ad606 Add adapter for Glonass L1 C/A tracking 2017-08-23 00:52:45 -03:00
Gastd
911c5da12c Update signal generator for glonass 2017-08-23 00:52:45 -03:00
Gastd
5b4ffb9d0b Add Glonass signal for tests 2017-08-23 00:52:45 -03:00
Gastd
2dbab56c6c Reset acquisition 2017-08-23 00:52:45 -03:00
Gastd
4be07c78c7 Add chip delay in Glonass L1 CA Code 2017-08-23 00:52:45 -03:00
Gastd
ce68bbf069 Add glonass signal acquisition 2017-08-23 00:52:45 -03:00
Gastd
feddc615dd Fix wipeoff bug 2017-08-23 00:52:45 -03:00
Gastd
6307ac2880 Add FDMA protocol to pcps algorithm 2017-08-23 00:52:45 -03:00
Gastd
89b1838b3b Add chip shift to glonass ca code 2017-08-23 00:52:08 -03:00
Gastd
60d28e98c2 Add code for C/A signal generation for glonass 2017-08-23 00:52:08 -03:00
Gastd
53e7e75392 Change the if frequency to the FDMA channel to be searched 2017-08-23 00:52:08 -03:00
Gastd
2091ac354a Add FDMA protocol to pcps algorithm 2017-08-23 00:47:09 -03:00
Gastd
6d18c137bc Add chip shift to glonass ca code 2017-08-23 00:47:09 -03:00
Gastd
09d23e737e Add code for C/A signal generation for glonass 2017-08-23 00:47:09 -03:00
Gastd
b9c53c038f Change the if frequency to the FDMA channel to be searched 2017-08-23 00:34:16 -03:00
Gastd
613b8bdf19 fix ifndef include 2017-08-23 00:34:16 -03:00
Gastd
8d4f2e0f85 Add chip shift to glonass ca code 2017-08-23 00:34:16 -03:00
Gastd
4f9a6d0e88 Add pcps acquisition adapter for glonass l1 ca signal 2017-08-23 00:34:16 -03:00
Gastd
a02cf31b1f Add Glonass_L1_CA.h with Glonass L1 CA parameters 2017-08-23 00:34:16 -03:00
Gastd
4d8b45b0f5 Add code for C/A signal generation for glonass 2017-08-23 00:34:16 -03:00
Antonio Ramos
e1dc9f5aac Improving real-time performances of input filters
Pulse blanking and Notch filters improved
2017-08-21 13:11:18 +02:00
Antonio Ramos
1e753e5f54 Adding Single state Notch Filter
New Notch_Filter_Lite input filter block
2017-08-21 13:08:33 +02:00
Carles Fernandez
265caeda33 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2017-08-21 12:06:03 +02:00
Damian Miralles
f4c221609c avx2: Adds support for AVX2 intrinsic to some kernels
Adds AVX2 intrinsic to several kernels ranging from multiply and add to
more detailed operations such as convert. New peotokernels also may take
advantage of the fused multiply add (fma)
2017-08-21 12:05:39 +02:00
Carles Fernandez
122ec19626 Make use of the inline keyword where appropriate 2017-08-21 11:45:12 +02:00
Carles Fernandez
6e65705b47 Fix initialization 2017-08-19 20:26:30 +02:00
Carles Fernandez
eecfd10875 Replace C-style casts by C++ casts 2017-08-19 20:05:52 +02:00
Carles Fernandez
64ab909a0d Replace C-style casts by C++ casts 2017-08-19 12:10:47 +02:00
Carles Fernandez
e7246d4565 Replace C-style casts by C++ casts 2017-08-19 11:27:22 +02:00
Carles Fernandez
0a42fe8ab5 Replace some C-style casts by C++ casts 2017-08-19 09:16:10 +02:00
Carles Fernandez
7ac3f282fa Replace C-style cast by C++ casts 2017-08-19 02:33:54 +02:00
Carles Fernandez
a8c5ca81fd Remove blank line 2017-08-18 14:24:42 +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
481c6c44c6 Pass parameters by reference instead of by value 2017-08-17 17:21:45 +02:00
Carles Fernandez
a23733e716 Remove unused private member 2017-08-17 17:14:31 +02:00
Carles Fernandez
2b18ae14fe Replace iterators by const iterators 2017-08-17 11:03:02 +02:00
Carles Fernandez
4653a927c4 Small fix 2017-08-16 20:40:50 +02:00
Carles Fernandez
dc4d3790ed Enlarge number of channels for PVT 2017-08-16 18:10:37 +02:00
Carles Fernandez
2ca252c4d4 Add more control when accessing Pvt_Solution members 2017-08-16 17:42:55 +02:00
Carles Fernandez
6a2fe514d0 Revert "Declare more data members private"
This reverts commit 73b6613a3d.
2017-08-16 17:33:29 +02:00
Carles Fernandez
6532e0c57d Small fix 2017-08-16 13:45:17 +02:00