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

1797 Commits

Author SHA1 Message Date
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
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
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
Carles Fernandez
b0cd2ee015 Use const container calls when result is immediately converted to a
const iterator
2017-08-16 13:45:02 +02:00
Carles Fernandez
73b6613a3d Declare more data members private 2017-08-16 13:44:31 +02:00
Carles Fernandez
6eca73d9ce Declare more data members private 2017-08-16 13:42:46 +02:00
Carles Fernandez
c1bbdd74d4 Declare all Pvt_Solution data members private 2017-08-16 12:45:00 +02:00
Carles Fernandez
6c19437520 Pass map of observables by reference 2017-08-16 01:01:59 +02:00
Carles Fernandez
07113fd89d Use the override special identifier when overriding a virtual function 2017-08-16 00:58:10 +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
87baa04ef9 Remove unrequired headers 2017-08-15 14:21:05 +02:00
Carles Fernandez
99f5c69afc Catch all exceptions 2017-08-15 12:47:58 +02:00
Carles Fernandez
f8c7f1422b Remove unrequired includes 2017-08-15 03:21:43 +02:00
Carles Fernandez
209c554896 Remove unrequired and redundant includes 2017-08-15 03:16:41 +02:00
Carles Fernandez
8a2d21cc40 Use random library instead of rand() 2017-08-15 02:50:11 +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
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
eb53c36594 ·Add missing include 2017-08-11 05:50:06 +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
Carles Fernandez
7bb3581f4b Improve buffer handling. Remove warnings raised by gcc 7.1 2017-08-06 10:32:12 +02:00
Carles Fernandez
a7fbde50e6 Improve buffer handling. Remove warnings raised by gcc 7.1 2017-08-06 10:26:56 +02:00
Carles Fernandez
727f4d7d0d Remove gcc warning and apply coding style 2017-08-05 12:47:52 +02:00
Javier Arribas
d4c9d378c9 Adjusting observable block default buffer history 2017-08-03 17:52:42 +02:00
Javier Arribas
1bcbe87676 Fix code style 2017-08-02 14:43:38 +02:00
Javier Arribas
2f1eff026d Fix code style 2017-08-02 14:32:16 +02:00
Javier Arribas
1574e277d7 Temporary bug fix related to the GPS L1 C/A symbol TOW assignation. Position accuracy improvement confirmed. In-deep review is being done 2017-08-01 17:03:31 +02:00
Carles Fernandez
94a4a0fdcf Improve destructors 2017-07-29 00:25:43 +02:00
Javier Arribas
ceef915de7 Improving observables binary dump 2017-07-28 18:24:36 +02:00
Carles Fernandez
095e049558 Apply coding style 2017-07-25 16:51:44 +02:00
Carles Fernandez
8258a343af Apply coding style to new destructors 2017-07-25 16:50:22 +02:00
Carles Fernandez
edd675ade9 Merging 2017-07-25 16:28:56 +02:00
Carles Fernandez
648956ea65 Make code more readable 2017-07-25 16:26:23 +02:00
Javier Arribas
4642408066 Adding exception handlings to tracking destructor operations 2017-07-25 16:12:10 +02:00
Carles Fernandez
1dda344e46 Fix -Wmisleading-indentation warning 2017-07-23 23:40:40 +02:00
Antonio Ramos
8f1fcb382a Improved Pulse Blanking Filter
Number of signal segments for estimating the noise power is passed now as a parameter in the configuration file
2017-07-12 09:12:56 +02:00
Antonio Ramos
cbe54da10f Beta version Pulse Blanking Filter
First version of the pulse blanking input filter
2017-07-10 12:53:26 +02:00
Antonio Ramos
0b8e3c9399 New noise floor power estimation in notch filter
In this version, the noise floor power is estimated via a VOLK Kernel
2017-07-10 09:48:38 +02:00
Antonio Ramos
119c8c1966 Notch filter solved problems
Segmentation fault due to pointers in the notch filter gnu radio block solved
2017-07-07 11:48:54 +02:00
Antonio Ramos
d67d9b270e Improved multistate notch filter
Better managing of the system memory
2017-06-23 11:34:02 +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
Antonio Ramos
7fba751a49 Beta version of notch input filter
Beta version of general_work method implemented
2017-06-20 18:56:26 +02:00
Antonio Ramos
cf516566d6 New lines in notch filter files
Adapter is ready and gnuradio block in progress
2017-06-19 15:51:57 +02:00
Carles Fernandez
3cec11ed0e Merge pull request #55 from odrisci/fix_54
[WIP] fix for #54
2017-06-17 10:29:30 +02:00
Cillian O'Driscoll
c1d798ae37 [WIP] fix for #54
two_bit_packed_file_signal_source: ensure all blocks have the right item size for both real and complex
outputs
2017-06-16 22:37:54 +01:00
Carles Fernandez
e7cacc228e Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next 2017-06-16 21:25:44 +02:00
Carles Fernandez
61b41bf3a8 Add PRN in binary data written by Tracking blocks if dump=true
Matlab scripts updated
2017-06-16 21:24:14 +02:00
Antonio Ramos
70dc68b984 Several changes in notch input filter adapter
Re-definition of the adapter
2017-06-16 13:55:15 +02:00
Antonio Ramos
3ed545ac3f Minor changes in notch filter files 2017-06-15 10:00:20 +02:00
Carles Fernandez
7b4f65476c Remove/add blank lines 2017-06-13 11:25:37 +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
37998c11a4 Add more consistancy in Telemetry messages 2017-06-12 19:22:52 +02:00
Carles Fernandez
0b3a8a081d Add consistency on messages from different tracking blocks 2017-06-12 17:49:08 +02:00
Antonio Ramos
2731be3939 Adding some lines to notch_filter.h
Coding the class NotchFilter
2017-06-09 14:12:55 +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
ed041c00b8 Fix out-of-bound read 2017-06-07 20:12:49 +02:00
Carles Fernandez
25508cf833 Fix null pointer dereference 2017-06-07 19:42:38 +02:00
Carles Fernandez
dfa11ab364 Fix out-of-bound access 2017-06-07 19:41:32 +02:00
Carles Fernandez
ac9ceb7c53 Fix random generator usage 2017-06-07 17:51:16 +02:00
Carles Fernandez
21bf5291f9 Fix defects detected by coverity scan 2017-06-07 16:39:27 +02:00
Carles Fernandez
e1c0227bb9 Avoid the use of rand() 2017-06-07 16:37:47 +02:00
Carles Fernandez
0b2b0fceac Fix defects detected by coverity scan 2017-06-07 15:02:14 +02:00
Carles Fernandez
2253b29bf1 Fix defects detected by coverity scan 2017-06-07 14:51:26 +02:00
Carles Fernandez
efc6082722 Fix defects detected by coverity scan 2017-06-07 12:11:16 +02:00
Carles Fernandez
0047595373 Fix defects detected by coverity scan 2017-06-06 18:27:54 +02:00
Carles Fernandez
5231c9e94b Fix some defects detected by coverity scan 2017-06-06 17:49:40 +02:00
Carles Fernandez
14b242eafa Initialization of class member in the constructor 2017-06-06 15:46:34 +02:00
Carles Fernandez
1f356ffcdf Fix computation of sample stamp 2017-06-06 15:45:43 +02:00
Carles Fernandez
d8b0830b46 Fix wrong comparison 2017-06-06 15:29:32 +02:00
Carles Fernandez
646a0b0fd4 Remove unused class members 2017-06-06 15:22:23 +02:00
Carles Fernandez
caaaebc420 Sort input files 2017-06-06 12:32:24 +02:00
Antonio Ramos
405d9dea5c Modifying notch filter files
Little changes in the files
2017-06-05 17:00:33 +02:00
Javier
f69cc2491c Adding UHD device filter by serial number option 2017-05-31 11:45:26 +02:00
mmajoral
b89f718f20 updated checklists and removed a debug printout 2017-05-31 10:08:34 +02:00
mmajoral
a273a4be2b Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next_fpga 2017-05-30 15:21:17 +02:00
mmajoral
cc40f5c25c bug fix: removed call to set_local_code() from the init() function. This prevents the function set_local_code() from being called twice, with an invalid PRN during the first call 2017-05-30 14:57:33 +02:00
Antonio Ramos
75a0019896 Adding notch filter files
Creation of empty files for notch input filter
2017-05-28 18:08:03 +02:00
Carles Fernandez
9f7e9f9a86 Expose Earth tide correction to user configuration 2017-05-24 15:43:32 +02:00
mmajoral
08c777968a Revert "Revert "removed non used parameter Flag_preamble""
This reverts commit f668f415d6.
2017-05-24 15:12:52 +02:00
mmajoral
f668f415d6 Revert "removed non used parameter Flag_preamble"
This reverts commit 2f9885c5bd.
2017-05-24 15:11:27 +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
2f9885c5bd removed non used parameter Flag_preamble 2017-05-24 12:20:04 +02:00
Carles Fernandez
20592f29a9 Expose reject_GPS_IIA parameter to user configuration 2017-05-24 12:14:52 +02:00
mmajoral
75056ba8af removed non used variable 2017-05-24 10:40:00 +02:00
mmajoral
90ac5938dc all the class elements are initialized in the constructor 2017-05-24 10:03:58 +02:00
Carles Fernandez
6e179decde Expose RAIM algorithm to user configuration 2017-05-24 09:55:45 +02:00
mmajoral
0966ea9dca code refactoring 2017-05-23 18:12:22 +02:00
Carles Fernandez
35c2b0248a Expose more RTKLIB configuration parameters 2017-05-23 09:44:48 +02:00
Carles Fernandez
44bca3cb6f Print matrices in logs (using the flag --v=5 ) 2017-05-19 10:59:51 +02:00
mmajoral
cbe20c0920 refactoring code 2017-05-18 17:10:28 +02:00
Javier Arribas
81a1712082 Removing the GNURadio sample forecast requirements from telemetry decoders, thus to reduce the positioning delay and alleviate the GNURadio buffering requirements 2017-05-17 12:48:57 +02:00
Javier Arribas
641b2cd53b Temporary bug fix in observables (fixes some glitches in GPS L1 CA position) 2017-05-16 18:56:05 +02:00
Carles Fernandez
16561a5f14 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2017-05-16 18:47:04 +02:00
Javier Arribas
e1873a408d Removing the sample forecast requirements on Galileo E1 telemetry decoder 2017-05-16 18:26:29 +02:00
Carles Fernandez
4c7a176d96 Avoid name clashing 2017-05-15 18:13:26 +02:00
Carles Fernandez
b780abf563 Free rtk struct in the destructor 2017-05-15 14:38:01 +02:00
Carles Fernandez
f07259e31f Fix rtk initialization 2017-05-15 13:01:48 +02:00
Carles Fernandez
f3a41d4569 Fix indentation 2017-05-14 19:59:55 +02:00
Carles Fernandez
5aec42ddef Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2017-05-14 19:00:34 +02:00
Carles Fernandez
96f3599a29 Stylishing code 2017-05-13 21:08:42 +02:00
Carles Fernandez
84c13a5e2a Fix more warnings in gcc 2017-05-13 20:52:48 +02:00
Carles Fernandez
1b25d14b4c Work on initializations 2017-05-13 20:25:38 +02:00
Carles Fernandez
1b4cfad57d Activate compilation of RTCM decoding functions 2017-05-13 20:01:08 +02:00
Carles Fernandez
495813c969 Fix more warnings 2017-05-13 19:35:20 +02:00
Carles Fernandez
cc392fdde2 Fix more warnings 2017-05-13 19:17:09 +02:00
Carles Fernandez
2d273ba131 Fix more warnings in gcc 2017-05-13 13:13:11 +02:00
Carles Fernandez
30e634d408 Fix more warnings 2017-05-13 12:07:16 +02:00
Carles Fernandez
8f9aba298f Remove warnings in gcc 2017-05-13 10:41:35 +02:00
Carles Fernandez
44ba718de4 Fix compilation in gcc 2017-05-12 19:40:51 +02:00
Carles Fernandez
c804fb8d6f Add work on rtklib functions 2017-05-12 19:22:57 +02:00
Javier Arribas
7a2a15b37d Adding the path of Galileo E5 observations to RTKLIB solver. Some bug fixes. Work with Galileo in progress 2017-05-12 17:58:04 +02:00
Carles Fernandez
9da436ec87 add more work on rtklib functions 2017-05-12 17:47:09 +02:00
Carles Fernandez
5d9ba16293 Merge branch 'rtklib_rtcm' of https://github.com/carlesfernandez/gnss-sdr into common_solver 2017-05-12 12:19:10 +02:00
Carles Fernandez
833192e183 Add more work on rtklib files 2017-05-12 12:17:42 +02:00
Carles Fernandez
f0c8fc7089 Add RTCM decoding functions 2017-05-12 08:55:59 +02:00
Javier Arribas
b2531cb926 Bug fixes in Galileo E5a telemetry decoding. Code cleaning in Galileo E5a tracking 2017-05-11 12:53:58 +02:00
Carles Fernandez
e82799d687 Code indentation 2017-05-11 06:15:06 +02:00
Carles Fernandez
314b80e8ac Fix compilation in macOS 2017-05-11 06:11:38 +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
3463d5437e Deactivate compilation of acquisition_lib until fix 2017-05-10 21:01:23 +02:00
Carles Fernandez
111ad3b221 Remove Hybrid_PVT implementation, it is replaced by RTKLIB_PVT 2017-05-10 16:42:22 +02:00
Carles Fernandez
e61b65760a Remove unrequired linking to armadillo 2017-05-10 15:57:31 +02:00
Carles Fernandez
2abd9b248b Fix bitset bug 2017-05-10 15:56:20 +02:00
Carles Fernandez
4e435bc28a Fix initialization with older gcc 2017-05-10 11:26:17 +02:00
Carles Fernandez
97bb5906aa Replace fabs by std::fabs 2017-05-10 11:13:02 +02:00
Carles Fernandez
facd63f423 Connect RTKLIB trace to Glog verbose logging system
A given logging level can now be activated with the flag --v=level
2017-05-10 10:58:35 +02:00
Carles Fernandez
76c3f7b3b5 Remove blank lines 2017-05-09 11:47:37 +02:00
Carles Fernandez
74f08ede2f Remove some warnings 2017-05-08 23:03:42 +02:00