Commit Graph

110 Commits

Author SHA1 Message Date
Carles Fernandez 0a42fe8ab5 Replace some C-style casts by C++ casts 2017-08-19 09:16:10 +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 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 cbe20c0920 refactoring code 2017-05-18 17:10:28 +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
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
Carles Fernandez 2a2344d501 Add maximum number of dwells in the Tong algorithm 2016-08-11 13:13:30 +02: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 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
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
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
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 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
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
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 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 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 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 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