1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-29 00:13:14 +00:00
Commit Graph

2639 Commits

Author SHA1 Message Date
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
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
4e49330ad4 Remove annoying warning in macOS (deprecated-declarations) 2017-08-26 00:22:12 +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
4f292bbe8e Fix examples with old configuration notation. Fixes #64" 2017-08-25 12:37:41 +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
Carles Fernandez
16a65a4e2b Fix building when compilers have a C++ standard below C++11 2017-08-23 19:04:11 +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
7a50c67de8 Update Observables and PVT examples 2017-08-19 09:44:07 +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