Commit Graph

97 Commits

Author SHA1 Message Date
David Pubill aab40c963d Simulink tracking block updated: generation of the Simulink model from a script MATLAB and improvement of the tracking algorithm (both PLL and DLL). Added multi-threading support for MATLAB.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@208 64b25241-fba3-4117-9849-534c7e92360d
2012-07-03 12:52:12 +00:00
Carles Fernandez fb287c0de3 remove weird symbol
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@207 64b25241-fba3-4117-9849-534c7e92360d
2012-07-02 20:00:16 +00:00
Carles Fernandez ec6952d356 revert changes
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@206 64b25241-fba3-4117-9849-534c7e92360d
2012-07-02 19:58:08 +00:00
Carles Fernandez 0d8b26de30 Revert changes of bits_slices struct since it was not decoding the navigation message properly
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@205 64b25241-fba3-4117-9849-534c7e92360d
2012-07-02 19:53:52 +00:00
Carles Fernandez f6892a8bf3 It seems that definitions such as
const bits_slice INTEGRITY_STATUS_FLAG = {{23,1}};

used in GPS_L1_CA.h are not allowed in the C++11 standard since they do not correspond to any valid constructor. This is accepted by the current version of gcc (probably due to backward compatibility with C and earlier versions of C++), but it *could* not be accepted in future versions. This can be fixed by putting the struct into a std::vector. I don't know if this is the best way but it seems to work well and does not implies major changes in the code.

There is another issue with the Gnss_Synchro class. Since it had a constructor and a destructor, it could not be considered a POD (Plain Old Data) structure and this has some limitations: while gcc and the C99 standard allowed an array's size to be determined at run time, this extension is not permitted in standard C++. This issue has implications when passing Gnss_Synchro through memory between signal processing blocks. In order to fix this, I have removed the Gnss_Synchro.cc implementation and now this is a header-only class where the array size can be determined at compile time


git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@204 64b25241-fba3-4117-9849-534c7e92360d
2012-07-02 12:45:20 +00:00
Carles Fernandez 088cfbb552 small clean-up
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@202 64b25241-fba3-4117-9849-534c7e92360d
2012-07-02 12:03:16 +00:00
Carles Fernandez 8214655f54 Removed clang warning about bad-placed parentheses
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@201 64b25241-fba3-4117-9849-534c7e92360d
2012-07-02 11:56:56 +00:00
Carles Fernandez a6c230008f added documentation
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@200 64b25241-fba3-4117-9849-534c7e92360d
2012-07-02 11:54:24 +00:00
Carles Fernandez f8082227f8 fixed: Indentation according to coding style
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@199 64b25241-fba3-4117-9849-534c7e92360d
2012-07-02 11:52:35 +00:00
Luis Esteve 950765180f Restructuring the src/tests directory. Deleted old tests. Added new test cases. Added signal sample for the tests.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@198 64b25241-fba3-4117-9849-534c7e92360d
2012-06-22 14:17:28 +00:00
Carles Fernandez 0cc9a67b47 Added documentation
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@197 64b25241-fba3-4117-9849-534c7e92360d
2012-06-16 22:32:43 +00:00
Javier Arribas d467874a40 Bug correction in tracking lock detector threshold comparison algorithm.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@196 64b25241-fba3-4117-9849-534c7e92360d
2012-04-19 18:18:53 +00:00
Javier Arribas 1c0fed749d Removed some debug messages from release compilation to debug compilation (Using DLOG() instead of LOG_AT_LEVEL() ) to speed up a bit the release execution.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@194 64b25241-fba3-4117-9849-534c7e92360d
2012-04-11 18:44:56 +00:00
Javier Arribas 9d34147e0f Major update to improve the GNSS-SDR pseudorange precision and correct some PVT bugs:
- Updated all available trackings to generate the tracking_timestamp_secs taking into account the remainder code phase.
- Updated the telemetry decoder to track the number of symbol shifted from the preamble start symbol (to be used in observables).
- Updated observables to align the reference channel symbol with the corresponding symbols in the other channels and compute pseudorranges using the common transmission time algorithm.
- Updated PVT to independize the display output rate from the RINEX and KML log files. New options available in config file!
- Some minor improvements and code cleaning.

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@193 64b25241-fba3-4117-9849-534c7e92360d
2012-04-11 10:43:35 +00:00
Carles Fernandez 7081c4fe8d code cleaning
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@191 64b25241-fba3-4117-9849-534c7e92360d
2012-03-24 03:12:44 +00:00
Carles Fernandez 0d6462e52a Unnecessary include removed
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@190 64b25241-fba3-4117-9849-534c7e92360d
2012-03-24 03:01:55 +00:00
Carles Fernandez 3533a08330 Fixed bug that prevented the code to compile in Mac OS. Documentation added
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@189 64b25241-fba3-4117-9849-534c7e92360d
2012-03-24 02:53:00 +00:00
Javier Arribas ddb5b0ebba Small bug in UHD Source corrected
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@187 64b25241-fba3-4117-9849-534c7e92360d
2012-03-16 14:01:14 +00:00
David Pubill 984b782660 Added a new tracking algorithm that uses TCP sockets to move the work of a processing block to a remote machine executing MATLAB Simulink.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@185 64b25241-fba3-4117-9849-534c7e92360d
2012-03-16 10:55:58 +00:00
Javier Arribas 5f51f513a3 Correlator class librery now uses volk_profile information to select the best architecture for the SIMD enabled functions.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@184 64b25241-fba3-4117-9849-534c7e92360d
2012-03-09 15:31:32 +00:00
Carles Fernandez e3f8b0aeaa Code cleaning
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@183 64b25241-fba3-4117-9849-534c7e92360d
2012-03-04 05:28:57 +00:00
Javier Arribas 1cb02b5df2 New signal source for real-time operation with Universal Hardware Driver (UHD) devices. RF Real-time milestone reached!!
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@180 64b25241-fba3-4117-9849-534c7e92360d
2012-03-02 18:50:21 +00:00
Luis Esteve c428fe21c5 Changes in flowgraph and channel_fsm. Now the number of channels in acquisition mode can be controlled from the config file.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@179 64b25241-fba3-4117-9849-534c7e92360d
2012-03-02 17:17:51 +00:00
Luis Esteve c0aca3b5d0 Major changes:
- Fir_Filter implementation for InputFilter block in SignalConditioner
- Tests for InputFilter and Resampler
- Fixed some bugs

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@176 64b25241-fba3-4117-9849-534c7e92360d
2012-02-24 16:06:14 +00:00
Luis Esteve d5655f27df Major changes. Signal Conditioner holds now blocks to change data type, filter and resample input data.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@172 64b25241-fba3-4117-9849-534c7e92360d
2012-02-19 17:45:51 +00:00
Luis Esteve 9eac86f3f2 Added direct_resampler files
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@171 64b25241-fba3-4117-9849-534c7e92360d
2012-02-18 17:45:37 +00:00
Luis Esteve 203ccbdffb Added new folder resampler
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@170 64b25241-fba3-4117-9849-534c7e92360d
2012-02-18 17:11:50 +00:00
Luis Esteve c5d142a258 Deleting old direct_resampler
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@167 64b25241-fba3-4117-9849-534c7e92360d
2012-02-18 16:52:15 +00:00
Luis Esteve 08f1444df4 Added new folder src/algorithms/input_folder
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@166 64b25241-fba3-4117-9849-534c7e92360d
2012-02-18 16:43:29 +00:00
Luis Esteve 0504839e1b New folder data_type_adapter
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@165 64b25241-fba3-4117-9849-534c7e92360d
2012-02-18 16:39:57 +00:00
Luis Esteve ac8f9e01e6 Bug fixed in function Channel::disconnect.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@163 64b25241-fba3-4117-9849-534c7e92360d
2012-02-17 14:28:32 +00:00
Carles Fernandez 2dd2a22930 The Rinex Printer destructor now erases Rinex files if they are empty.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@162 64b25241-fba3-4117-9849-534c7e92360d
2012-02-16 19:17:06 +00:00
Javier Arribas 2406a7772a Updated tracking to use cmath round which is faster than boost::math::round
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@161 64b25241-fba3-4117-9849-534c7e92360d
2012-02-16 17:28:56 +00:00
Javier Arribas b7bb79a058 Code cleaning: deleted old dependences with Gregory GPS-SDR files
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@160 64b25241-fba3-4117-9849-534c7e92360d
2012-02-16 16:13:45 +00:00
Javier Arribas 0a62725445 - Improved speed for samples inconsistency check in tracking modules, and
- Added a total elapsed run time counter in main: now it is possible to compare the post-processing time with the signal duration. The elapsed time is reported in STD::COUT when GNSS-SDR finish the main thread.

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@156 64b25241-fba3-4117-9849-534c7e92360d
2012-02-08 19:50:16 +00:00
Javier Arribas 0046d9169c Completed the migration to Gnss_Synchro as a common object to exchange signal synchronization data between gnss-sdr GNURadio blocks
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@155 64b25241-fba3-4117-9849-534c7e92360d
2012-02-03 16:13:52 +00:00
Javier Arribas 16a1797c6d Telemetry decoder module now uses the Gnss_Synchro class to communicate the block with the observables block
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@154 64b25241-fba3-4117-9849-534c7e92360d
2012-02-03 11:50:51 +00:00
Carles Fernandez a8f6695f58 compilation warning cleaned
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@152 64b25241-fba3-4117-9849-534c7e92360d
2012-01-31 00:31:07 +00:00
Carles Fernandez c186828669 Code cleaning and documentation
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@151 64b25241-fba3-4117-9849-534c7e92360d
2012-01-31 00:03:08 +00:00
Carles Fernandez 9625070ea9 Pretty-printing of satellites is back again
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@150 64b25241-fba3-4117-9849-534c7e92360d
2012-01-30 23:14:57 +00:00
Luis Esteve cdccdac4c6 Bug fixed in channel.cc
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@149 64b25241-fba3-4117-9849-534c7e92360d
2012-01-30 14:13:34 +00:00
Javier Arribas 9f3fbeb52d Code cleaning and few optimizations in tracking modules.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@148 64b25241-fba3-4117-9849-534c7e92360d
2012-01-29 18:03:56 +00:00
Javier Arribas dd01b83bc3 GNSS SDR now uses the unified Gnss_Synchro class to exchange signal synchronization data between Acquisition, Tracking and Telemetry decoder blocks.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@147 64b25241-fba3-4117-9849-534c7e92360d
2012-01-27 18:01:17 +00:00
Luis Esteve ec57e48f4e Major changes in flowgraph, configuration file and channel. Added gnss_signal class.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@146 64b25241-fba3-4117-9849-534c7e92360d
2012-01-27 11:58:55 +00:00
Carles Fernandez 3b5189075b Cleaning tests
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@143 64b25241-fba3-4117-9849-534c7e92360d
2012-01-25 03:16:08 +00:00
Carles Fernandez 0d598a7188 Added implementation of plain cordic class in tracking/libs. Added a corresponding test. The implementation is slower than standard sin and cos implementations, so it is not used in the receiver. The test will fail otherwise, indicating that this should be used instead of standard functions.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@142 64b25241-fba3-4117-9849-534c7e92360d
2012-01-25 01:57:28 +00:00
Carles Fernandez 3bff16b5d1 Code cleaning.
Test infrastructure reactivated. Now a run_tests executable is created and runs some tests.

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@138 64b25241-fba3-4117-9849-534c7e92360d
2012-01-23 00:52:05 +00:00
Carles Fernandez 80af09f91f Acquisition, Tracking and TelemetryDecoder blocks now use Gnss_Satellite class and have access to know what parameters have to use. Algorithms are not system-related anymore.
Some code cleaning and and enhancements in the output screen messages.

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@135 64b25241-fba3-4117-9849-534c7e92360d
2012-01-20 23:28:11 +00:00
Javier Arribas b72802a51f Added experimental SIMD-accelerated correlator for tracking, using GNURadio volk libraries.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@134 64b25241-fba3-4117-9849-534c7e92360d
2012-01-20 16:37:16 +00:00
Carles Fernandez 305d9f14c1 Class Gnss_Satellite extended to tracking
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@133 64b25241-fba3-4117-9849-534c7e92360d
2012-01-19 19:30:05 +00:00