1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-09-28 23:10:51 +00:00
Commit Graph

2109 Commits

Author SHA1 Message Date
Javier Arribas
e7143f932a Add includes for gnuradio-iio in block factory 2017-10-31 12:36:35 +01:00
Carles Fernandez
ffde1309b9 Fix compilation error 2017-10-31 11:23:41 +01:00
Carles Fernandez
3ad5a99d0a Use const iterators instead of iterators 2017-10-31 07:24:23 +01:00
Carles Fernandez
16c0d5a2c8 Small fix 2017-10-31 07:23:43 +01:00
Carles Fernandez
cc3ed4c672 Apply project's coding style 2017-10-30 22:31:20 +01:00
Carles Fernandez
fd2a32e0eb Merge branch 'fmcomms2' of https://github.com/academiasIT/gnss-sdr into academiasIT-fmcomms2 2017-10-30 21:45:48 +01:00
rmunozl
31b4228d8b add better explanation in README.md and improve format of some files 2017-10-30 15:17:53 +00:00
Carles Fernandez
cccb77783a Avoid comparison between signed and unsigned integer warning 2017-10-29 12:55:10 +01:00
Carles Fernandez
ee1285218e Add GPS L2 acqusitition grid plot
and other small fixes
2017-10-29 12:26:06 +01:00
lmne
23fa911dd5 Add support to fmcomms2 SDR hardware 2017-10-29 02:51:22 -03:00
Carles Fernandez
396415b6f2 Fixes in testing code 2017-10-29 00:44:38 +02:00
Carles Fernandez
4267150445 Add Galileo acquisition grid
and other fixes in tests
2017-10-28 20:17:51 +02:00
Carles Fernandez
41b5365244 Add acquisition grid plot 2017-10-28 18:15:59 +02:00
Carles Fernandez
218c23000b Small fixes 2017-10-24 14:47:05 +02:00
Carles Fernandez
2c3ada26f2 Add constellation diagram plot 2017-10-24 14:23:59 +02:00
Carles Fernandez
ac99ba5b75 Fix exception catching 2017-10-24 11:38:37 +02:00
Carles Fernandez
8509b7254a Add opaque legend 2017-10-24 08:45:13 +02:00
Carles Fernandez
d1ed8a963c Add plot of correlators\' output 2017-10-23 19:25:41 +02:00
Carles Fernandez
d86158a94a Adjust font size in pdf files 2017-10-22 23:04:39 +02:00
Carles Fernandez
32dde63348 Save figures in pdf format 2017-10-22 22:33:27 +02:00
Carles Fernandez
d73825ebef Add 3d plot to position test 2017-10-22 19:39:16 +02:00
Carles Fernandez
4d7f93fd43 Add plot of precision results 2017-10-22 18:05:02 +02:00
Carles Fernandez
0164d6725d Simplify gnuplot interface usage in tests 2017-10-22 09:14:25 +02:00
Carles Fernandez
785d6185c3 Print both plots 2017-10-22 08:29:35 +02:00
Carles Fernandez
b6573b00e6 Fix persist for Mac 2017-10-22 08:28:59 +02:00
Carles Fernandez
5b23e29beb Fix error 2017-10-22 08:23:19 +02:00
Carles Fernandez
19b280e089 Add persist to gnuplot terminal 2017-10-22 08:20:51 +02:00
Carles Fernandez
e006b66f51 Fix postscript generation 2017-10-21 16:33:26 +02:00
Carles Fernandez
c4ba566c42 Keep windows open in Linux 2017-10-21 13:39:41 +02:00
Carles Fernandez
d0bd3987e1 Fix warnings 2017-10-21 13:38:25 +02:00
Carles Fernandez
ff4938702e Add Gnuplot-based plot results for FFT MeasureExecutionTime test 2017-10-21 13:05:51 +02:00
Carles Fernandez
1ac986e207 Test FFT with random numbers instead of all zeros 2017-10-20 12:58:44 +02:00
Carles Fernandez
6f5f8e8948 Catch exception 2017-10-19 20:52:32 +02:00
Carles Fernandez
21fbe61243 Remove more unrequired includes and reorder them 2017-10-19 20:51:30 +02:00
Carles Fernandez
e944aad824 Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next 2017-10-19 19:26:40 +02:00
Carles Fernandez
54a0070a33 Remove unrequired and repeated includes 2017-10-19 19:26:08 +02:00
Unknown
c114d38975 Notch filters FFT improved
FFT migrated from Armadillo to GNU Radio
2017-10-18 12:36:12 +02:00
Unknown
52a072b2fe Merge branch 'testing' into next
New unit tests for arithmetic (FFT) and input filters
2017-10-18 11:21:22 +02:00
Unknown
d5590eefe4 Added FFT speed test
Unit test comparing GNU Radio and Armadillo FFT implementations
2017-10-18 11:04:17 +02:00
Carles Fernandez
511675a97e Apply project's coding style 2017-10-18 09:08:13 +02:00
Unknown
2c739a26bf Added Armadillo VS GNU Radio FFT speed test
Unit test comparing the two FFT implementations
2017-10-17 14:17:11 +02:00
Unknown
9a74120e7c Added Notch Filter Lite tests
Unit tests for Notch Lite input filter
2017-10-17 11:44:41 +02:00
Unknown
117329c1fc Avoiding copying input buffers
Improving performances of Notch and Notch Lite input filters
2017-10-17 11:29:30 +02:00
Unknown
0aa178b3ab Merge branch 'next' into testing 2017-10-17 11:10:00 +02:00
Unknown
93cd6a1713 Avoiding copying input buffers
Improving performances of Notch and Notch Lite input filters
2017-10-17 10:40:45 +02:00
Unknown
a1d432f9e8 Added Notch Filter tests
Unit test fot Notch input filter
2017-10-17 09:38:16 +02:00
Carles Fernandez
66a585bfeb Replace C-style casts by C++-style casts 2017-10-16 20:35:06 +02:00
Carles Fernandez
8ef49734db Avoid writing in the input buffer
This was uncovered when replacing C-style casts to C++-style casts.

Apply project's indentation style
2017-10-16 20:17:32 +02:00
Unknown
d8481d927b Added Pulse Blanking unit tests
New unit tests for the pulse blanking input filter
2017-10-16 16:36:51 +02:00
Carles Fernandez
732597860f Fix building 2017-10-16 11:39:22 +02:00
Carles Fernandez
b42ddeb524 Merge branch 'next' of https://github.com/antonioramosdet/gnss-sdr into antonioramosdet-next 2017-10-16 10:14:58 +02:00
Carles Fernandez
acfd4cc0c9 Replace C-style casts by C++ casts
Apply code styling
Fix a GCC warning (unused variable)
2017-10-14 12:30:03 +02:00
Unknown
0f45e7d211 Block Factory filter instantiation tests
Added test cases for Pulse_Blanking, Notch and Notch_Lite filters
2017-10-13 16:21:26 +02:00
Carles Fernandez
76e6adf3ad Include some files that were not getting installed 2017-10-13 11:35:12 +02:00
Carles Fernandez
0be23787d7 Use __VOLK_ASM and __VOLK_VOLATILE keywords 2017-10-13 11:32:00 +02:00
Carles Fernandez
c94a0dcd61 Added __VOLK_ASM and __VOLK_VOLATILE 2017-10-13 11:27:15 +02:00
Carles Fernandez
9b1ae85904 Fix identical code for different branches 2017-10-13 11:26:39 +02:00
Carles Fernandez
bda1f15594 Fix compilation problem with Xcode 9
The following error appeared when working with the latest macOS Xcode 9
SDK:

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

Added:

#ifdef __APPLE__
#define _DARWIN_C_SOURCE
#endif

(solution found at https://github.com/arvidn/libtorrent/issues/2364 )
2017-10-13 11:18:19 +02:00
Unknown
4dd128f633 Merge remote-tracking branch 'gnss-sdr/next' into next 2017-10-13 11:14:36 +02:00
Carles Fernandez
173b6c7d8a Pass Gnns_Satellite object by reference instead of by value 2017-10-12 19:15:44 +02:00
Carles Fernandez
cf39e77396 Pass Gnss_Satellite object by reference instead of by value 2017-10-12 18:15:35 +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
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
94dfef74c1 Add cpu_multicorrelator_real_codes_test
and minor cosmetics
2017-09-16 01:14:15 +02:00
Carles Fernandez
3cf1fdfd92 Test waits for the block message to emit a message 2017-09-15 16:12:52 +02:00
Carles Fernandez
ba1a143094 Minor fixes
Avoid C-syle casts
Always terminate case with break
Consume ninput_items[0] if case=1
2017-09-15 16:09:02 +02:00
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
3f557eeb41 Warn the user about the change in parameter name 2017-09-03 23:56:41 +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
Carles Fernandez
47e41d5b28 Avoid signed overflow 2017-08-26 10:07:18 +02:00
Carles Fernandez
005917ac56 Remove warning 2017-08-26 00:06:18 +02:00
Carles Fernandez
00cc726c12 Remove warning 2017-08-25 23:51:11 +02:00
Carles Fernandez
04d0debfca Remove warning 2017-08-25 23:42:36 +02:00
Carles Fernandez
1a463e9c52 Remove warning 2017-08-25 23:38:44 +02:00
Carles Fernandez
d1429001fc Update per_support files 2017-08-25 22:44:49 +02:00
Carles Fernandez
18c48b30f5 Update per_support files 2017-08-25 22:16:06 +02:00
Carles Fernandez
fc9740b4dc Do not use LOG(FATAL) since the glog library could have been stripped
off
2017-08-25 19:17:12 +02:00
Carles Fernandez
ea84c1ec27 Fix redefinition of variable 2017-08-25 11:58:05 +02:00
Carles Fernandez
58e92343c7 Fix bug in NMEA messages. Fixes #45
Add a new test for the NMEA printer
2017-08-25 11:42:02 +02:00
Antonio Ramos
9df36dcd83 Minor changes
Changing some variable names
2017-08-24 19:22:58 +02:00
Antonio Ramos
3536bce55c Improved Notch Filter Lite
Updated version of the filter
2017-08-24 19:22:58 +02:00
Carles Fernandez
16a65a4e2b Fix building when compilers have a C++ standard below C++11 2017-08-23 19:04:11 +02: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
d12858e579 Replace C-style casts by C++ casts 2017-08-19 12:45:19 +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
fe17181af3 Replace some C-style cast by static_cast<>() 2017-08-18 19:15:45 +02:00
Carles Fernandez
a8c5ca81fd Remove blank line 2017-08-18 14:24:42 +02:00
Carles Fernandez
187ae683c9 Fix GCC warning 2017-08-18 13:56:49 +02:00
Carles Fernandez
4807c55184 Fix GCC warnings 2017-08-18 13:42:27 +02:00
Carles Fernandez
a168b31fb1 Fix GCC warning 2017-08-18 13:35:02 +02:00
Carles Fernandez
45ba8bb10c Fix GCC warnings 2017-08-18 13:21:08 +02:00
Carles Fernandez
ff89df1ea1 Fix GCC warning 2017-08-18 13:11:12 +02:00
Carles Fernandez
2467ed5af7 Avoid gcc warning 2017-08-18 13:07:49 +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
f71933e938 Use const iterator 2017-08-17 17:23:08 +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
ef1e4a4cd8 Update iterator when doint insert in a list 2017-08-17 11:31:22 +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
f0e6d6cbfa Fix possible memory leaks 2017-08-15 00:04:51 +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
174bba55fc Remove blank 2017-08-13 17:32:01 +02:00
Carles Fernandez
d6fec67489 Replace use of strlen and strncpy by C++ counterparts 2017-08-13 10:57:54 +02:00
Carles Fernandez
77eb09c2a7 Remove uneeded stdio.h 2017-08-13 10:01:10 +02:00
Carles Fernandez
5f181ef915 Replace stdio.h by fstream 2017-08-13 10:00:01 +02:00
Carles Fernandez
59164c33bd Remove unneded cstdlib include 2017-08-12 15:52:23 +02:00
Carles Fernandez
e8f401911f Fix test 2017-08-12 14:25:53 +02:00
Carles Fernandez
9b8b0eb726 Fix building of extra tests in Debian 9 2017-08-12 13:22:54 +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
365ff3a18b Observable unit test updated and upgraded to test both code and carrier phase observables. It requires the latest version of gnss-sim, please update the simulator 2017-08-03 17:58:11 +02:00
Javier Arribas
d4c9d378c9 Adjusting observable block default buffer history 2017-08-03 17:52:42 +02:00