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

610 Commits

Author SHA1 Message Date
Carles Fernandez
05a1806c8f
Merge branch 'fpga' of https://github.com/mmajoral/gnss-sdr into merge-marc 2018-08-11 12:56:52 +02:00
Carles Fernandez
f6af31b81f
Add more extensive use of cstdint typenames 2018-08-11 11:44:23 +02:00
Carles Fernandez
4404516289
Add more extensive use of cstdint typenames 2018-08-11 11:42:07 +02:00
Carles Fernandez
6b1611b3a9
Replace unsigned long int by uint64_t and long int by int64_t. Fixes #199 2018-08-10 20:34:03 +02:00
Marc Majoral
f14ad930d5 declared the 64-bit variables as long long ints instead of long ints in the FPGA related files.
Variables declared as long ints are interpreted as 32-bit variables in the ARM architecture and 64-bit variables in the X86-64 architecture.
2018-08-10 16:42:53 +02:00
Marc Majoral
b1524a3afe implemented 64-bit global sample counter
started programming the FPGA tracking unit tests
2018-08-10 13:12:06 +02:00
Javier Arribas
2517e7bb31 Replacing software sample counter with hardware sample counter if FPGA is enabled. Fix a compilation bug when ENABLE_FPGA is selected 2018-08-10 11:53:40 +02:00
Marc Majoral
3b154c57c2 fixed some cmakefiles to allow for the correct compilation of the gnss-sdr with the FPGA option and the unit test extra options at the same time. 2018-08-10 10:04:47 +02:00
Carles Fernandez
2cc2e93d10
Fix make_two_steps option 2018-08-09 12:47:20 +02:00
Marc Majoral
557d25d3ea Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-08-08 18:23:38 +02:00
Carles Fernandez
18173bcbff
Fix warning 2018-08-08 18:20:30 +02:00
Carles Fernandez
69803b55da
Remove stream_to_vector in generic acquisition block 2018-08-08 15:02:29 +02:00
Marc Majoral
ee132f445f Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-08-08 14:25:12 +02:00
Javier Arribas
37834c2029 GPS acquisition adapter fix to be coherent with the stream to vector size of acquisition engine 2018-08-07 20:17:54 +02:00
Marc Majoral
b1a7031e52 solved some bugs in GPS L5
removed check for sign in multicorrelator results: this is not necessary anymore
did some other minor maintenances
2018-08-07 18:56:54 +02:00
Marc Majoral
daedfc3e01 adapted the FPGA tracking class according to the latest changes in the next branch 2018-08-02 17:32:59 +02:00
Marc Majoral
7e246dea29 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-08-01 18:59:40 +02:00
Marc Majoral
bb33faea21 improved existing code
started the GPS L2 FPGA class implementation (not finished yet)
implemented the GPS L5 FPGA class (not tested yet)
implemented the Galileo E5 FPGA class (not tested yet)

The code is still "dirty": it is yet to be cleaned of debug comments/code and any possible redundant code and not used variables.
2018-08-01 15:55:40 +02:00
Carles Fernandez
5a908fcf7d
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glamountain-kf 2018-07-20 12:59:46 +02:00
Javier Arribas
f9e4bdfa59 Fix stream_to_vector incoherence in pcps acquisition and add support for GPS L2C, L5I, Galileo E1 and E5a in tracking pull-in test 2018-07-19 16:26:51 +02:00
Carles Fernandez
ee90b739b5
Add coherent integration for GPS L2C, L5 and Galileo E1 2018-07-15 04:12:20 +02:00
Carles Fernandez
994a4b32d8
Fix Glonass acquisition test 2018-07-13 15:16:48 +02:00
Carles Fernandez
0352108a79
Accept non-integer number of samples per code period 2018-07-13 14:23:14 +02:00
Carles Fernandez
92a6676b9e
Enable second refinement stage in a thinner grid for coherent and/or non-coherent acquisitions 2018-07-13 11:50:31 +02:00
Javier Arribas
b779f5cb3d Fix incoherence between the number of samples per code in GPS L2 acquisition 2018-07-13 10:32:24 +02:00
Carles Fernandez
1b7b2da603
Reset grid after successful acquisition or reaching max number of dwells 2018-07-12 20:32:05 +02:00
Carles Fernandez
9881857fa5 Fix Acquisition for L2C and E1B 2018-07-11 14:51:34 +02:00
Carles Fernandez
0bc894a91f
Header fix 2018-07-10 18:41:24 +02:00
Carles Fernandez
d9b9df3718
Fix warning, improve code consistency 2018-07-10 17:43:05 +02:00
Carles Fernandez
85f70fe1a3 Fix coherent acquisition 2018-07-10 16:25:16 +02:00
Carles Fernandez
394f6088aa
Add work on noncoherent acquisition 2018-07-10 08:47:04 +02:00
Carles Fernandez
e1c26ec858
Add work on noncoherent acquisition 2018-07-10 07:48:08 +02:00
Carles Fernandez
dad0ba32ad
Add work on noncoherent acquisition 2018-07-10 07:45:49 +02:00
Carles Fernandez
6b67037fed Add first-to-second peak statistic 2018-07-09 17:56:47 +02:00
Carles Fernandez
d76dab6248
Implement non-coherent acquisition 2018-07-08 13:26:30 +02:00
Javier Arribas
89c00560f2 Fix Acquisition fine Doppler implementation 2018-07-07 15:39:09 +02:00
Sergi Segura
bf8ffe63cf implemented the acquisition block, not working 2018-07-06 14:42:13 +02:00
Carles Fernandez
5ef6157fc1 Store acquisition results only when there is a decision 2018-07-05 21:31:38 +02:00
Carles Fernandez
bad8b25ce7 Fix warning of unused parameter 2018-07-05 21:30:33 +02:00
Carles Fernandez
50b4a3818c Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into test-fine-doppler 2018-07-05 20:29:34 +02:00
Javier Arribas
6055200440 Code cleaning 2018-07-05 20:26:37 +02:00
Carles Fernandez
c98305f556 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into test-fine-doppler 2018-07-05 20:24:41 +02:00
Javier Arribas
d9f6d41eed Fix crash of PCPS acquisition fine doppler on some systems 2018-07-05 20:19:29 +02:00
Carles Fernandez
d14d4ccdbc Add work 2018-07-05 10:51:23 +02:00
Carles Fernandez
5842da980f Remove unused variable 2018-07-04 18:24:10 +02:00
Carles Fernandez
e07578bdb4 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2018-07-04 18:12:00 +02:00
Javier Arribas
adcc04c3b6 Fix GPS L1 CA fine Doppler acquisition implementation and migrate the configuration interface 2018-07-04 16:56:47 +02:00
Carles Fernandez
e454dc7e14 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into kf 2018-07-04 13:09:28 +02:00
Carles Fernandez
3f0a7ef4fa Extend acquisition performance test to other implementations. set_state(int state) is now amandatory member for acquisition adapters 2018-07-04 13:05:44 +02:00
Gerald LaMountain
d565d65521 Update KF tracking to use acquisition doppler bin size for initial doppler state covariance 2018-07-03 13:31:53 -04:00
Carles Fernandez
895f8dc75a
Expose the blocking_on_standby parameter to the documentation. Useful for unit testing 2018-06-29 13:39:17 +02:00
Javier Arribas
b0eb9f3aac Adding a parameter to allow the acquisition engine to block the samples flow in stanby mode, very useful in unit testing (disabled by default) 2018-06-28 17:39:37 +02:00
Carles Fernandez
559a9a7c43
Fix problem caused by hdf5 when saving concurrently
Only one acquisition channel info is stored in dump file if dump is activated. New configuration parameter dump_channel, set to 0 by default.
Name of Matlab variable changed from gird to acq_grid to not overlap Matlab command.
2018-06-24 11:05:58 +02:00
Carles Fernandez
cef26aa89b
Fix annotation of acq result in dump file 2018-06-22 12:30:30 +02:00
Carles Fernandez
020603c3b8 Add more info in acquisition dumps 2018-06-21 12:23:10 +02:00
Carles Fernandez
47c9ad0160
Save results for all executions, not just the last one 2018-06-21 08:05:33 +02:00
Carles Fernandez
c0337528f5
Store results also when using the refinement stage 2018-06-20 20:48:43 +02:00
Carles Fernandez
f133392a8c
Fix bug in matio usage 2018-06-20 20:16:19 +02:00
Carles Fernandez
df667b8432 Fix constructor 2018-06-19 14:56:40 +02:00
Carles Fernandez
423176de7b Replace acq configuration struct by a class 2018-06-19 12:59:54 +02:00
Sergi Segura
cd149895f0 first evaluation beidou b1I 2018-06-15 04:19:32 +02:00
Carles Fernandez
ebd8b46e51 Remove if parameter from Acquisition and Tracking blocks 2018-06-06 17:25:03 +02:00
Carles Fernandez
424f812790
Fix clang warnings about unused private member 2018-06-03 19:11:16 +02:00
mmajoral
75cbc3fcdd Added Galileo E1 acquisition + tracking classes that use the generic acquisition and tracking classes for the FPGA HW accelerators (still to be tested). Did some minor code cleaning to the GPS files that use the FPGA HW accelerator. 2018-05-22 12:25:14 +02:00
Carles Fernandez
0d60d97c24
Use https instead of http in links when available
Update copyright year in headers
2018-05-13 22:49:11 +02:00
Carles Fernandez
7754fc66a6 Code cleaning 2018-05-09 13:09:26 +02:00
mmajoral
0b9b9f4c39 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga.
Use a generic tracking radio block class for the tracking code that uses the FPGA HW accelerators.
2018-05-09 11:11:12 +02:00
mmajoral
4fa5648aa4 Currently creating a generic tracking class for the FPGA in the same way as it is done in the SW. 2018-05-03 10:38:21 +02:00
Carles Fernandez
0494d9b5a8
Avoid claah between volk and volk_gnsssdr defines 2018-04-30 20:58:53 +02:00
Carles Fernandez
faf27fff22
Apply code formatting 2018-04-30 20:15:00 +02:00
Carles Fernandez
6d6b583169
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into mmajoral-fpga 2018-04-30 19:23:35 +02:00
mmajoral
4433c0c6be Minor code cleaning. 2018-04-30 11:59:56 +02:00
Carles Fernandez
a2eb5d5344
Improve readability, reorder includes 2018-04-29 13:26:21 +02:00
Carles Fernandez
01429132bd
Avoid clash of redefined macros with Volk 2018-04-29 02:51:50 +02:00
mmajoral
512bf3f4cf Created a generic gnuradio block acquisition class for the FPGA. 2018-04-27 20:00:50 +02:00
Carles Fernandez
31e634635c
Move general_work to the bottom of the file 2018-04-13 11:07:58 +02:00
Javier Arribas
8e59a42ae2 Merge Next with FPGA. Adding software-defined emulation of the sample counter 2018-04-06 17:03:20 +02:00
Carles Fernandez
c9925e07db Initialize missing parameter 2018-04-05 21:04:01 +02:00
Antonio Ramos
e42149c9e5 Add number of doppler bins and doppler step in two step acquisition 2018-04-05 12:42:28 +02:00
Antonio Ramos
44635a41b3 Add two step acquisition funcionality 2018-04-04 14:59:28 +02:00
Carles Fernandez
aefcb8dac1 Replace C-style cast by C++ style 2018-03-28 16:04:00 +02:00
Carles Fernandez
040204d23a Cleaning 2018-03-28 15:20:01 +02:00
Carles Fernandez
97e5d88623 Minor fixes: typos, includes 2018-03-26 15:06:14 +02:00
Carles Fernandez
6de9c728f9 Merge branch 'glonass_l2_ca' of https://github.com/dmiralles2009/gnss-sdr into dmiralles2009-glonass_l2_ca 2018-03-26 10:30:56 +02:00
Carles Fernandez
0400034d14 Fix typos detected by codespell 2018-03-25 19:47:28 +02:00
Damian Miralles
287d38dea2 GLONASS L2 CA Signal Addition
Adds GLONASS L2 C/A signal processing to GNSS-SDR based on previous
work developed for the L1 signal. All code have been added in a single
commit with the idea to illustrate the process of signal addition for
future work
2018-03-24 12:44:26 -06:00
Javier Arribas
7c406bb6eb Merging fpga with next 2018-03-05 11:03:59 +01:00
Carles Fernandez
07b25ebb06 Apply clang-format to the whole source tree 2018-03-04 02:04:27 +01:00
Carles Fernandez
34f24562cf Apply automated code formatting
Documented at .clang-format
See http://clang.llvm.org/docs/ClangFormat.html and http://clang.llvm.org/docs/ClangFormatStyleOptions.html
2018-03-03 02:03:39 +01:00
Carles Fernandez
c9ac8c78af Move OpenCL-related files to a folder 2018-03-02 15:48:38 +01:00
Javier Arribas
288dd481e7 Updating FPGA acquisition modules 2018-03-02 12:23:10 +01:00
Carles Fernandez
658e677fc3 Reorder includes: local headers first, then 3rd-party library headers, and finally standard headers 2018-02-26 03:15:53 +01:00
Carles Fernandez
5c77a394d7 Replace memset by std::fill_n 2018-02-25 13:34:13 +01:00
Carles Fernandez
946d3dae9f Replace memset by std::fill_n. This fix warnings in GCC 8.0.1 (Fedora
Rawhide). The warnings were:

 warning: 'void* memset(void*, int, size_t)' clearing an object of
non-trivial type 'struct std::complex<float>'; use assignment or
value-initialization instead [-Wclass-memaccess]
2018-02-25 13:27:27 +01:00
Carles Fernandez
4c408f5239 Fix building in ArchLinux 2018-02-23 17:57:53 +01:00
Carles Fernandez
22654d6c1a Add -doppler_max commandline flag 2018-02-18 18:37:38 +01:00
Gastd
300604eb85 Fix memory leak 2018-02-12 03:04:27 -02:00
Carles Fernandez
c945ddcacd Initialize all members in the constructor 2018-02-08 12:49:53 +01:00
Antonio Ramos
e8efffc265 Add acquire pilot and data functionality 2018-02-08 11:05:20 +01:00
Antonio Ramos
452dd24c90 Add Gal. E5a Pcps acquisition adapter 2018-02-07 18:36:42 +01:00
Carles Fernandez
413ab8c8cf Rename pcps_acquisition_cc to pcps_acquisition 2018-02-07 08:43:44 +01:00
Antonio Ramos
25634963cc Remove pcps_acq_sc
Integrate cshort into pcps_acq_cc
2018-02-06 16:55:09 +01:00
Antonio Ramos
41712e4722 Migrate pcps_acq_sc to new grid 2018-02-06 13:11:15 +01:00
Carles Fernandez
fd8fcc0f8f Remove unrequired includes 2018-02-05 07:31:34 +01:00
Antonio Ramos
f8e5b0e705 Set matio min ver. 2018-01-30 16:48:58 +01:00
Antonio Ramos
42dc14b2bb Merge branch 'next' into new_acq_grid 2018-01-30 15:36:05 +01:00
Carles Fernandez
dfe8dbbea4 Remove unrequired include and other minor fixes 2018-01-29 19:22:49 +01:00
Antonio Ramos
f6aa86f60c Adapt tests to .mat dump files 2018-01-26 13:34:02 +01:00
Carles Fernandez
5c78778a93 Add header 2018-01-24 18:32:11 +01:00
Antonio Ramos
2153e24169 Handle errors when opening acquisition dump files 2018-01-24 10:17:26 +01:00
Carles Fernandez
b301ed19c6 Merge remote-tracking branch 'upstream/next' into glonass 2018-01-24 00:52:09 +01:00
Antonio Ramos
ba38f8286d Modify dump file pcps acquisition 2018-01-23 16:56:31 +01:00
Carles Fernandez
1b5a3b6fa4 Apply coding style 2018-01-17 17:55:46 +01:00
Antonio Ramos
5ebb060ba1 Merge branch 'next' into new_fsm 2018-01-10 16:27:56 +01:00
Javier Arribas
c463456924 Adding pilot signal acquisition option for Galileo E1 2018-01-10 11:30:16 +01:00
Antonio Ramos
2749d2518b Fix sample counting 2018-01-10 11:08:06 +01:00
Antonio Ramos
188df6c5b8 Clean pcps acquisition 2018-01-09 17:55:32 +01:00
Antonio Ramos
bbf8587970 Clean code 2018-01-04 12:16:12 +01:00
Antonio Ramos
b28c244df5 Debug log lines 2018-01-03 11:40:17 +01:00
Carles Fernandez
13ef34ed81 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-12-04 18:16:41 +01:00
Javier Arribas
59c2261316 Adding GPS L5i acquisition and tracking modules 2017-12-04 17:07:54 +01:00
Damian Miralles
d75857db91 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass_dec 2017-11-20 08:31:32 -07:00
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
90533189d3 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-10-31 07:34:13 +01:00
Carles Fernandez
4267150445 Add Galileo acquisition grid
and other fixes in tests
2017-10-28 20:17:51 +02: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
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
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
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
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
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
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
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
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
ed021f043f Merge Gabriel's glonass-sdr branch 2017-08-31 09:55:35 -06:00
Carles Fernandez
fc9740b4dc Do not use LOG(FATAL) since the glog library could have been stripped
off
2017-08-25 19:17:12 +02:00
Carles Fernandez
2c71ebf479 Merge Gabriel's glonass-sdr branch 2017-08-23 22:35:22 +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
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
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
c3ca053664 Update info 2017-08-23 13:09:28 -03:00
Gastd
3719da9853 Reset acquisition 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
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
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
c256378707 Update info 2017-08-23 00:52:45 -03:00
Gastd
2dbab56c6c Reset acquisition 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
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
b9c53c038f Change the if frequency to the FDMA channel to be searched 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
Carles Fernandez
122ec19626 Make use of the inline keyword where appropriate 2017-08-21 11:45:12 +02:00
Carles Fernandez
eecfd10875 Replace C-style casts by C++ casts 2017-08-19 20:05:52 +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
07113fd89d Use the override special identifier when overriding a virtual function 2017-08-16 00:58:10 +02:00
Carles Fernandez
9bfef0e05a Fix CMake scripts to use Ninja https://ninja-build.org/
cmake -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -GNinja .. && ninja
2017-06-21 08:54:47 +02:00
Carles Fernandez
7b4f65476c Remove/add blank lines 2017-06-13 11:25:37 +02:00
mmajoral
9a7bd7ffb4 adopted code style + did some code refactoring 2017-06-08 17:29:45 +02:00
mmajoral
b89f718f20 updated checklists and removed a debug printout 2017-05-31 10:08:34 +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
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
mmajoral
90ac5938dc all the class elements are initialized in the constructor 2017-05-24 10:03:58 +02:00
mmajoral
cbe20c0920 refactoring code 2017-05-18 17:10:28 +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
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
mmajoral
de2043ca00 cleaned the acquisition code that runs in the Zynq SoC, cleaned some tracking files that run in the Zynq SoC as well. 2017-05-08 17:03:27 +02:00
mmajoral
28058000de set up the receiver to work with the FPGA 2017-05-05 17:08:49 +02:00
Javier Arribas
2ee29af3bd Adding FPGA accelerators support in gnss-sdr configuration options 2017-05-05 16:37:29 +02:00
mmajoral
eccbd0f97a acquisition gps unit test for the FPGA. The code is currently being cleaned 2017-05-05 16:15:27 +02:00
mmajoral
9195740d8a acquisition gps unit test for the FPGA. The code is currently being cleaned 2017-05-05 16:14:27 +02:00
Javier Arribas
807ca24fc2 Refactoring code. Adding new experimental tests and new common TX time observables algorithm 2017-04-12 17:04:51 +02:00
Javier Arribas
d42696bfd3 Consolidation of all the observables and PVT algorithms in hybrid observables and hybrid PVT supporting multi-signals and multi-system operations 2017-03-24 15:25:17 +01:00
Carles Fernandez
438ba45c16 Fix acquisition with rata rates higher than 16 Msps in 4ms code periods
while not requiring a very recent version of VOLK
2016-09-19 09:06:40 +02:00
Cillian O'Driscoll
8d8249247f Alternative fix for issue #31
Rather than changing the index type to uint16_t, I think it would be
better to use the volk_32f_index_max32* functions instead of the 16 bit
counterparts. This ensures backwards compatibility (the index was
previously 32 bit, even if the function name indicated that it was 16
bit) and also, for FFT acquisition we may encounter large FFTs with more
than 65 535 points
2016-09-18 19:00:57 +02:00
Carles Fernandez
24e62c4e4e Make use of volk_gnsssdr_malloc, volk_gnsssdr_free
instead of volk_malloc, volk_free (which are missing from the volk
version distributed by ubuntu 14.04). Fix the include guard in
volk_gnsssdr_malloc.h 
Thanks to @hoernchen
2016-08-18 14:17:02 +02:00
Carles Fernandez
04a16055ff Revert wrong commit 2016-08-16 21:18:24 +02:00
Carles Fernandez
838e643d51 Consume all samples in each iteration 2016-08-13 18:28:05 +02:00
Carles Fernandez
2a2344d501 Add maximum number of dwells in the Tong algorithm 2016-08-11 13:13:30 +02:00
Carles Fernandez
0aa980a9a1 Merge branch 'michaelld-fix_volk_max_API_index_uint16_t' into next
Fix issue related to the change in the VOLK API
2016-05-29 21:26:04 +02:00
Carles Fernandez
a826215778 Fix issue about the change in the VOLK API 2016-05-29 21:18:41 +02:00
Michael Dickens
99abf76dd4 Fix usage of volk_32f_index_max*, first argument, to be uint16_t* as required by the Volk API. 2016-05-27 22:51:34 -04:00
Carles Fernandez
5a73b4e047 Improve package reproducibility
Packages using CMake often use file(GLOB ...) to retrieve a list of
source files. As this is based on readdir(), the resulting file list
is unsorted. A common use case is to pass this list directly to
add_executable or add_library. But as the order is unpredictable, the
binaries are not reproducible (because the order in which the objects
are linked will vary).

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824263
2016-05-23 19:51:59 +02:00
Luis Esteve
7ea560f3f7 Fix bug un pcps_acquisition_cc::set_local_code
Assign the length of the code correctly to the FFT

Resolves: #25
2016-05-13 05:16:59 +02:00
Luis Esteve
0f599a1e6a Fix bug in Pfa assignation in GpsL1CaPcpsAcquisition 2016-05-13 05:00:00 +02:00
Luis Esteve
0671ec6b28 Add cshort implementation to GalileoE1PcpsAmbiguousAcquisition 2016-05-13 01:51:14 +02:00
Luis Esteve
2780247cda Add forgotten options to GpsL2MPcpsAcquisition 2016-05-13 00:21:27 +02:00
Luis Esteve
2e6bcdbdd2 Add cshort implementation to GpsL2MPcpsAcquisition 2016-05-13 00:07:21 +02:00
Luis Esteve
77b7ac24d2 Remove unused variables in GpsL1CaPcpsAcquisition 2016-05-12 23:37:02 +02:00
Luis Esteve
6a0cbd785d Improve documentation in GpsL2MPcpsAcquisition 2016-05-12 23:37:02 +02:00
Luis Esteve
7be4585136 Fix a minor bug in GpsL1CaPcpsAcquisition 2016-05-12 23:22:42 +02:00
Luis Esteve
fd5cd42b9a Correct minor bug in pcps acquisition blocks
Change the initialization of max_dwells in pcps acquisition adpaters
due its value is forced to be 1 in gr_block constructor if boolean
"bit_transition_flag" is set to TRUE

Resolves: #24
2016-05-11 01:39:11 +02:00
Carles Fernandez
3bd59ec83e Remove unused queue from acquisition blocks
Now replaced by GNU Radio's message passing system
2016-05-09 16:44:54 +02:00
Carles Fernandez
50c16c9129 Remove unused variables 2016-05-08 08:31:38 +02:00
Luis Esteve
bfd86f8792 Changes initialization of acquisition variables
Rename "shift_resolution_" variable in some Acquisition adapters to
"doppler_max_" according to its meaning and change "ifreq" to "if"
because the value was not properly read. Delete unused variables.

Resolves: #23
2016-05-06 19:04:55 +02:00
Carles Fernandez
831cc75153 Remove tabs from the source code 2016-05-02 23:46:30 +02:00
Carles Fernandez
59e2e61cae Merge branch 'next' of git+ssh://github.com/gnss-sdr/gnss-sdr into next 2016-04-26 18:54:32 +02:00
Javier Arribas
0a5573f666 several receiver configuration mechanism simplifications and several bug fixes. Work in progress 2016-04-21 18:54:08 +02:00
Javier Arribas
0f80ce0159 Channel internal message queue is replaced by the asynchronous GNURadio
message system. Removing the deprecated channel internal queue and its
references. Some tests that are using the old channel queue are disabled
in this version
2016-04-15 16:33:41 +02:00
Javier Arribas
6ba8cea5f4 removed unused queue from PCPS acquisition constructors 2016-04-13 16:45:17 +02:00
Carles Fernandez
fbaa3276ce minor cleaning 2016-04-10 10:58:39 +02:00
Carles Fernandez
4d072833c5 minor cleaning 2016-04-10 10:29:25 +02:00
Carles Fernandez
ad5d509250 deleting unrequired include 2016-04-08 18:26:53 +02:00
Carles Fernandez
045d384061 small fixes and cleaning 2016-04-08 15:10:46 +02:00
Javier Arribas
1c2f897655 Refactoring the gnss_synchro member initializations and minor bug fixes. 2016-04-07 18:25:45 +02:00
Javier Arribas
98bfb7d801 Removing more unused parameters warnings using
the __attribute__((unused)) pre-compiler directive
2016-04-06 16:27:47 +02:00
Carles Fernandez
1983562496 The sincos kernel now accepts an initial phase 2016-03-21 00:38:08 +01:00
Carles Fernandez
9c8fc9436e Adding and integrating sincos kernel 2016-03-20 01:45:01 +01:00
Javier Arribas
b94253cb10 Bug fix and ammend last commit message: If DISABLED
(.Acquisition_1C.use_CFAR_algorithm=false) as an option in the
acquisition configuration, it allows setting more stable thresholds in
the presence of non-gaussian front-end noise (which is the usual
behavior of front-ends....)
2016-02-25 18:59:26 +01:00
Javier Arribas
4480c12d94 Added a non CFAR PCPS acquisition algorithm based on the estimation of
the post correlation noise floor. If enabled
(.Acquisition_1C.use_CFAR_algorithm=true) as an option in the
acquisition configuration, it allows setting more stable thresholds in
the presence of non-gaussian front-end noise (which is the usual
behavior of front-ends....)
2016-02-25 18:21:30 +01:00
Carles Fernandez
d095b581ae code cleaning 2016-01-20 22:59:22 +01:00
Carles Fernandez
1f3554384d fix parallel building 2016-01-20 20:39:27 +01:00
Javier Arribas
ea35f33c83 Added native input sample interface support for 16 bits integer complex
in PCPS_Acquisition (added the _sc variant). Now the PCPS acquisiton
adapter requires no conversion when the receiver works with 16 bits
integer complex samples.
2016-01-20 18:24:03 +01:00
Carles Fernandez
2697fb6198 Cleaning includes 2016-01-10 22:21:31 +01:00
Carles Fernandez
0a1aa50c4a Cleaning includes
plus some code cleaning
2016-01-05 10:59:37 +01:00
Carles Fernandez
d0ac06d71d Cleaning includes 2016-01-04 22:56:52 +01:00
Carles Fernandez
45195917c1 fixing some gnuradio-related warnings reported by gcc, so others can be spotted easier 2015-12-02 18:25:06 +01:00
Cillian O'Driscoll
518deb501a Added IF handling to acq and tracking
Only GPS L1 CA DLL PLL tracking for now. Still experimental.
2015-11-26 15:12:26 +00:00
Cillian O'Driscoll
5b9683baad Multiple changes pcps acquisition: including linear corr.
Reduced zero_padding_factor in pcps acquisition

This was 16, I'm processing data at about 16MHz, this oversampling
factor caused memory allocation issues

Previously dump file name was not being read from the configuration

Added fix for non-zero IF in pcps_acquisition_cc

Added linear correlation to pcps acquisition.
2015-11-26 15:09:24 +00:00
Carles Fernandez
d3418ceeb5 Fix typo 2015-09-18 15:00:47 +02:00
Javier
adf73e0610 Work in progress for GPS L2C support:
- Patched GPS L2CM tracking pull-in code.
- Workaround for ViterbiDecoder bug
2015-06-12 15:49:25 +02:00
Carles Fernandez
877192ed76 ensuring that members are initialized at the constructor 2015-05-29 20:23:13 +02:00
Carles Fernandez
4fe35f760b ensure that all members are initialized at the constructor 2015-05-26 20:36:20 +02:00
Carles Fernandez
8d1879d2e8 Merge branch 'next' of git+ssh://github.com/gnss-sdr/gnss-sdr into next
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2015-05-25 18:46:55 +02:00
Carles Fernandez
75a09fc08f set a non-zero doppler step if not set 2015-05-24 20:20:04 +02:00
Carles Fernandez
ceff78fbdd initializing members in the constructor 2015-05-23 09:31:05 +02:00
Carles Fernandez
64a81d8c48 initializing members in the constructor 2015-05-19 22:45:16 +02:00
Carles Fernandez
2c88dc7a62 Initializing members in the constructor 2015-05-19 22:11:31 +02:00
Carles Fernandez
0249c4fed7 adding missing initialization 2015-05-15 20:08:15 +02:00
Carles Fernandez
3c82cd728f fixing typo 2015-05-15 19:47:41 +02:00
Carles Fernandez
23fb47b1d0 Initializing non-static data members 2015-05-15 19:38:51 +02:00
Carles Fernandez
6ecd6ebe52 fixing coverity issues 2015-05-15 11:47:34 +02:00
Carles Fernandez
4e2c95d5f5 fixing coverity issues 2015-05-15 04:41:32 +02:00
Carles Fernandez
4850944e00 fixing coverity issues 2015-05-15 03:02:45 +02:00
Carles Fernandez
d1a1815083 fixing coverity issues 2015-05-13 16:40:46 +02:00
Carles Fernandez
0fcc9a5d7a Removing garbage 2015-05-07 19:54:41 +02:00
Carles Fernandez
3ea6ae76fa working towards the new configuration 2015-05-07 16:30:01 +02:00
Carles Fernandez
04b6507267 Merge branch 'next' into multisignals
# Conflicts:
#	src/core/receiver/gnss_block_factory.cc
2015-05-06 18:10:11 +02:00
Javier
37a346f3f6 Merge branch 'next' into arribas_next
Conflicts:
	src/algorithms/tracking/gnuradio_blocks/gps_l1_ca_dll_pll_tracking_cc.cc
2015-05-06 16:49:11 +02:00
Carles Fernandez
7cbc0a6efa changing integer absolute value function 'abs' when argument is of
floating point type by std::abs
2015-05-01 09:28:45 +02:00
Javier
60b7fe8e08 Added GPS L2M Tracking and its unit test. Still experimental! 2015-04-30 17:48:21 +02:00
Javier
6618c220d0 Added L2C_M simple PCPS acquisition adapter and its associated unit test 2015-04-29 14:19:17 +02:00
Javier
12b5d798a7 GPS L2C M acquisition incremental update: Added preliminarly support of
multiple signals on the same system in GNSS-SDR architecture
2015-04-24 19:11:45 +02:00
Javier
75983a0471 Adding GPS L2C M code generators and PCPS Acquisition algorithms
skeletons
2015-04-23 16:20:06 +02:00
Carles Fernandez
a4ba3bfd9e Fixing some warnings 2015-02-28 17:08:07 +01:00
Carles Fernandez
85c35ea0a5 Fixing test 2015-02-27 15:58:07 +01:00
Carles Fernandez
8cd59646bb Some warnings removed 2015-02-27 14:55:46 +01:00
Carles Fernandez
d76b6060f5 some cleaning 2015-02-14 11:49:06 +01:00
Carles Fernandez
59a158c576 Documenting the new method 2015-02-14 11:32:22 +01:00
Carles Fernandez
296e6c47ab Adding a method to force acquisition from the first sample 2015-02-13 21:40:08 +01:00
Carles Fernandez
7a7eeb5a5c Moving blocks to libs. GpsL1CaPcpsAcquisition now accepts cshorts and
cbytes
2015-02-13 02:17:00 +01:00
Carles Fernandez
8f407f9bf1 working on tests 2015-02-10 19:30:15 +01:00
Carles Fernandez
6620e7d43c Updating copyright year 2015-01-08 19:49:59 +01:00
Carles Fernandez
9c7795dd9a Changing C-styled cast by C++ style 2014-09-12 20:23:39 +02:00
Carles Fernandez
966f5c7333 Changing cast to volk_malloc from C style to C++ 2014-09-12 14:13:23 +02:00
Carles Fernandez
6d1a76ba1d Fixing memory allocation 2014-09-10 19:23:19 +02:00
Carles Fernandez
59c503d38a Some fixes 2014-09-10 03:49:58 +02:00
Carles Fernandez
9106f147ef Better VOLK usage. Memory alignment, using dispatcher instead of
aligned/unaligned versions. Code cleaning.
2014-09-10 03:15:01 +02:00
Carles Fernandez
dfd9be34a9 Merge branch 'galileo_e5a' of https://github.com/marc-sales/gnss-sdr
into next

Conflicts:
	src/core/receiver/gnss_block_factory.cc
	src/core/receiver/gnss_flowgraph.cc
2014-09-05 18:51:08 +02:00
marc-sales
1d3d40cefd final version 2014-08-20 10:59:47 +02:00
Damian Miralles
741c091e18 Final editing of the QuickSync algorithm in the GNSS-SDR platform. Cahnges include a better layout of
the code test, bugs correction and the most significant is the modifiable option in the folding factor
if the user requires it.
2014-08-13 14:51:25 -04:00
marc-sales
3b3c809dab Unified acquisition 2014-08-05 02:01:37 +02:00
Carles Fernandez
42ae5cbd88 First commit of the acquisition method based on the QuickSync algorithm.
Code developed by Damian Miralles.
2014-07-24 01:38:58 +02:00
marc-sales
7d6ec42f24 coherent 2or3 ms adding noncoherently I+Q acquisition,
dll+pll tracking still diverges
2014-07-07 21:06:26 +02:00
Carles Fernandez
8531a758ea Includes header files at add_libraries(...), which makes IDEs such as
Xcode to display them
2014-06-28 03:55:57 +02:00
marc-sales
841ae59d6a Added two acquisition strategies. Flowgraph is changed to produce
default signal when doing sky search.
2014-06-26 00:11:44 +02:00
marc-sales
4b5526ec7e E5a Dll/Pll tracking + tracking test + Secondary code delay generator
+ PCPS acquisition of 1ms code 1ms filled with zeros (to avoid sec code
ambiguity)
2014-06-20 18:23:44 +02:00
marc-sales
dbad4b5742 E5a signal generator and minor bug fixes. 2014-06-17 19:13:24 +02:00
marc-sales
8c1adf8aad small changes, just for backup 2014-06-05 12:00:24 +02:00