1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-10-31 23:26:22 +00:00
Commit Graph

785 Commits

Author SHA1 Message Date
Carles Fernandez
9c2cebd906
Fix flexiband driver building 2019-02-22 21:18:30 +01:00
Carles Fernandez
f01f90695e
Apply clang-format 2019-02-22 13:30:18 +01:00
Carles Fernandez
62a7e54359
Introduce readability-identifier-naming check
This commit enforces naming style for Classes and global constants:
Camel_Snake_Case for Classes
UPPER_CASE for global constants
CamelCase for abstract classes
2019-02-22 10:47:24 +01:00
Carles Fernandez
9bc771bed6
Deploy a new option -DENABLE_CLANG_TIDY to integrate clang-tidy checks and fixes into the compilation process, if found. It defaults to OFF 2019-02-21 09:59:06 +01:00
Carles Fernandez
88147d4956
Fix build with Clang (not AppleClang) on macOS 2019-02-20 22:21:53 +01:00
Carles Fernandez
a927710607
Merge branch 'monitor-decimator-name' of https://github.com/acebrianjuan/gnss-sdr into acebrianjuan-monitor-decimator-name 2019-02-18 22:36:46 +01:00
Carles Fernandez
82b7a244eb
Small fixes 2019-02-18 21:44:19 +01:00
Álvaro Cebrián Juan
e8fa2a0932 Rename the decimation factor parameter of the Monitor block configuration from output_rate_ms to decimation_factor 2019-02-18 17:51:02 +01:00
Carles Fernandez
b5c59ee6f7
Fix defects detected by Coverity Scan 2019-02-14 22:49:36 +01:00
Carles Fernandez
786118a305 Fix disconection of Monitor block 2019-02-14 16:46:16 +01:00
Carles Fernandez
719af13a33 Remove google-runtime-references check 2019-02-14 12:51:43 +01:00
Marc Majoral
fd3eb2a80e The termination process is now done correctly when using the FPGA. 2019-02-13 17:48:14 +01:00
Carles Fernandez
111c6291ec Revert "clang-tidy: apply performance-unnecessary-value-param check"
This reverts commit eae967ed1a.
2019-02-12 12:07:40 +01:00
Carles Fernandez
eae967ed1a
clang-tidy: apply performance-unnecessary-value-param check
See https://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-value-param.html
2019-02-12 01:00:36 +01:00
Carles Fernandez
73b7341904
clang-tidy: apply readability-braces-around-statements plus code formatting
See http://releases.llvm.org/7.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability-braces-around-statements.html
Code formatting applied with:
  find ../src/ -iname *.h -o -iname *.cc | xargs clang-format -i
2019-02-11 21:13:02 +01:00
Carles Fernandez
dfc963ad86 clang-tidy: apply readability-else-after-return check
See https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html
2019-02-11 15:53:50 +01:00
Carles Fernandez
75bd492d96
Change CMake target names to more meaningful ones, reflecting the code tree 2019-02-10 18:34:28 +01:00
Carles Fernandez
c46cdcb188
Better string comparison 2019-02-10 14:07:27 +01:00
Carles Fernandez
6d9563ef00
Improvement by clang-tidy 2019-02-10 13:24:25 +01:00
Carles Fernandez
96338be94e
Fix by clang-tidy 2019-02-10 12:53:22 +01:00
Carles Fernandez
ce051e040f
Improve target design 2019-02-10 01:13:02 +01:00
Carles Fernandez
e5b7eaa366
Reorder static dependencies 2019-02-07 23:07:24 +01:00
Damian Miralles
1b7d4edf51 bds_b31: Getting new changes from upstream 2019-02-05 17:25:16 -06:00
Carles Fernandez
d0b8393b66
Merge branch 'modern-cmake' of https://github.com/carlesfernandez/gnss-sdr into next 2019-02-05 01:31:56 +01:00
Carles Fernandez
dfab84b2de
Add fixes applied by clang-tidy 2019-02-05 01:31:09 +01:00
Carles Fernandez
c14e300afa
Add Boost::chrono target 2019-02-05 00:48:21 +01:00
Carles Fernandez
f509ebe49c
Update minimum Boost version to 1.54 2019-02-05 00:01:04 +01:00
Carles Fernandez
708b288e61
Clean CMake scripts 2019-02-04 22:44:45 +01:00
Carles Fernandez
f13b84c86c Add more CMake modernization 2019-02-04 18:17:35 +01:00
Carles Fernandez
9b94a4dec0 Add more imported targets to CMake scripts 2019-02-04 16:07:29 +01:00
Carles Fernandez
8ae72fe458
Update to modern CMake usage 2019-02-03 19:24:44 +01:00
Marc Majoral
ed5dc6a442 solved bug resulting from the last merging process 2019-01-30 14:45:12 +01:00
Carles Fernandez
c561d7e799
Applying code formatting rules 2019-01-28 02:29:43 +01:00
Damian Miralles
e78ba653e6 bds b3i: Adding code to process BeiDou B3I signals
Adds code to perform acq and trk in BeiDou B3I signals. Stages of
telemetry decoding, observables computation and pvt use existing
code on the platform. Some further testing is required
2019-01-25 15:43:00 -06:00
Damian Miralles
42b506d0bb bds b1i: Merging latest changes from upstream/next 2018-12-18 15:55:36 -06:00
Carles Fernandez
67f3680bf4
Remove lintian complaints 2018-12-14 14:17:04 +01:00
Carles Fernandez
58922251f7
Add telecommand_enabled parameter, it defaults to false 2018-12-11 10:36:15 +01:00
Carles Fernandez
54237770a6
Apply fixes by clang-tidy 2018-12-10 22:59:10 +01:00
Carles Fernandez
d6f3cd6dd3
Revert "Apply fixes by clang-tidy"
This reverts commit ba23d698bc.
2018-12-10 18:20:45 +01:00
Carles Fernandez
ba23d698bc Apply fixes by clang-tidy 2018-12-10 15:15:35 +01:00
Carles Fernandez
5b79f8ac50 Merge branch 'next' into smart_acq_resampler 2018-12-10 14:24:42 +01:00
Carles Fernandez
5f79053d65
Sort includes automatically with clang-format
Order:
1.- Main header
2.- Local headers
3.- Third-party library headers
4.- System headers

each category sorted lexicographically
2018-12-09 22:00:09 +01:00
Javier Arribas
63b19692e7 Completing the smart acquisition resampler 2018-12-05 16:50:32 +01:00
Carles Fernandez
b2659aa076
Merge branch 'next' into smart_acq_resampler 2018-12-04 00:05:04 +01:00
Carles Fernandez
327fec627c clang-tidy: apply readability-else-after-return fix (see https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html) 2018-12-03 22:08:19 +01:00
Carles Fernandez
1743a773b5 Improve performance by using const and std::move() to avoid unnecessary copies 2018-12-03 19:01:47 +01:00
Javier Arribas
4b80451630 Adding initial functional changes for the smart acquisition resampler 2018-12-03 17:58:18 +01:00
Carles Fernandez
0d408a6024 clang-tidy: apply modernize-use-auto fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html) 2018-12-03 16:25:11 +01:00
Carles Fernandez
96f34cabb1
clang-tidy: apply modernize-use-equals-default fix. See https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-equals-default.html 2018-12-03 11:12:10 +01:00
Carles Fernandez
0a46cb1fe1
Use nullptr 2018-12-03 10:05:47 +01:00
Carles Fernandez
24d431f74e
Fix warning (missing initializer for struct members 2018-12-03 01:43:20 +01:00
Carles Fernandez
da069c5968
Change string comparison style 2018-12-02 23:54:27 +01:00
Carles Fernandez
0a51eabdab
Improve string comparisons 2018-12-02 22:53:05 +01:00
Carles Fernandez
3bb47ff755
Improve const correctness, fix string comparisons 2018-12-02 05:29:11 +01:00
Damian Miralles
8db3f21070 bds b11: Get latest changes and add bds functions in rtk module
Merge branch 'next' into bds_b1i. Also fixes multiple bugs with the
addition of bds b1i signals into code. Major changes where fixed and
code to support RINEX and RTCM is needed
2018-11-29 09:56:54 -06:00
Damian Miralles
0507febd7f bds b1i: quick fixes to b1i code, preparing for merge 2018-11-28 14:18:35 -06:00
Carles Fernandez
87d1413447
Make cmakelint happier 2018-11-24 18:40:34 +01:00
Carles Fernandez
1d659cb1de
Add protection to malformed time entry 2018-11-24 09:41:21 +01:00
Carles Fernandez
144269a268
Minor cleaning 2018-11-24 09:40:15 +01:00
Carles Fernandez
c7486ad723
Add some control to input parameters 2018-11-23 16:38:20 +01:00
Carles Fernandez
f3e32e30e9 Fix computation of sat positions with GPS Almanac 2018-11-22 17:07:01 +01:00
Carles Fernandez
4bdb8c3bc4 Fix computation of satellite elevation when using the GPS Almanac 2018-11-22 15:19:36 +01:00
Carles Fernandez
a59ffca8a1 Fix Galileo sats position computation from Almanac data 2018-11-22 11:59:49 +01:00
Carles Fernandez
b0ba246934
Apply some style rules to CMake scripts 2018-11-22 00:35:21 +01:00
Carles Fernandez
6ae19e35c9 Fix warning (unused variable) 2018-11-21 10:59:19 +01:00
Carles Fernandez
df0021cfb0
Remove warnings 2018-11-20 22:01:48 +01:00
Carles Fernandez
f8f235f7dd
Replace time.h by ctime include 2018-11-20 21:59:11 +01:00
Carles Fernandez
05b6c03344
Fix typo 2018-11-20 21:56:35 +01:00
Carles Fernandez
571738f090 Fix reporting of Galileo almanac data 2018-11-20 16:52:51 +01:00
Carles Fernandez
d4ede85fd7 Read reference location from configuration if available 2018-11-20 12:46:38 +01:00
Carles Fernandez
37841bc89e Store AGNSS reference location and time provided by SUPL 2018-11-20 10:52:40 +01:00
Carles Fernandez
ea59abee77
Add work on warm start 2018-11-20 09:28:47 +01:00
Carles Fernandez
573092d033
Download and build PugiXML if not found 2018-11-11 12:27:01 +01:00
Carles Fernandez
0abb84b9a4
Read Galileo almanac data from XML file in the format provided at https://www.gsc-europa.eu/system-status/almanac-data
Requires PugiXML, feature only available if the library is found on the system at building time
The format detection is transparent to the user. Just configure GNSS-SDR.AGNSS_gal_almanac_xml=./2018-11-06.xml
2018-11-10 19:16:13 +01:00
Carles Fernandez
a544112a84
Fix defects detected by Coverity Scan 2018-11-08 15:34:58 +01:00
Javier
ea3db59fd7 Adding Tele Command status for reporting the Position, Speed and Course over ground and Time 2018-11-06 14:39:57 +01:00
Javier
01a1954b15 Adding the Hotstart telecommand implementation to predict visible satellites for GPS and Galileo constellations 2018-11-05 17:53:53 +01:00
Javier
5b3eb12998 Implementation of new receiver telecommands standby and coldstart 2018-10-28 11:09:01 +01:00
Carles Fernandez
b3d4ba33f3 Fix possible duplication of satellites 2018-10-25 16:48:19 +02:00
Carles Fernandez
bc058d33da Read GPS almanac file if present 2018-10-25 11:01:29 +02:00
Carles Fernandez
c4b2aa8cc4
Read Galileo almamac xml file if present 2018-10-25 00:43:25 +02:00
Javier
966d935fbc Adding the restart telecommand functionality by using external helper startup script 2018-10-23 16:54:06 +02:00
Carles Fernandez
b785fe6ba4
Replace SUPL parameter name MNS by MNC 2018-10-23 00:16:36 +02:00
Damian Miralles
8c16d945f8 beidou b1i: Merging new changes and adding bug fixes to code 2018-10-22 14:16:38 -05:00
Carles Fernandez
3b0fbc60bd Fix reading of LAC and CI parameters for SUPL assistance 2018-10-22 14:56:02 +02:00
Carles Fernandez
09e429b50a
Fix building with boost 1.68, fix control_thread_test 2018-10-21 21:08:46 +02:00
Javier
146363920d Adding missing files 2018-10-21 19:33:02 +02:00
Javier
ae7be10325 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2018-10-21 19:20:30 +02:00
Carles Fernandez
7d681a7e19
Fix typos 2018-10-21 18:27:23 +02:00
Carles Fernandez
239efe2458
Improve wording in SUPL terminal output 2018-10-21 17:55:06 +02:00
Carles Fernandez
7cad0bac74
Improve wording in SUPL terminal output 2018-10-21 14:15:41 +02:00
Carles Fernandez
0e454cb76e
More consistent naming for AGNSS configuration parameters, backward-compatible with SUPL 2018-10-21 13:58:29 +02:00
Carles Fernandez
15c4d62096
Add Glonass assistance 2018-10-20 19:30:32 +02:00
Carles Fernandez
5ea5292166
Only read XML assistance files if needed 2018-10-20 14:46:55 +02:00
Javier
525f2df466 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2018-10-19 14:54:06 +02:00
Javier
18e5339ea1 Adding a TCP telecommand squeleton to the control_thread 2018-10-19 14:54:03 +02:00
Carles Fernandez
a10b1fe0f4 Store and read CNAV UTC parameters in Assisted mode 2018-10-19 14:48:41 +02:00
Carles Fernandez
28d669e5b9 Fix bug in reporting the assistance 2018-10-18 16:14:38 +02:00
Carles Fernandez
aca2b28a4d Add Galileo UTC and iono model parameters to the assistance system 2018-10-18 15:46:48 +02:00
Carles Fernandez
7e41055359 Improve messages in terminal output 2018-10-18 09:29:21 +02:00
Carles Fernandez
37a2a899f7 Fix reading ephemeris from multiple files 2018-10-17 20:39:06 +02:00
Carles Fernandez
cc71d0e1a8 Add reading of CNAV ephemeris (L2C and L5 signals) 2018-10-17 19:17:37 +02:00
Carles Fernandez
2a69e63534 Enable Assited GNSS for Galileo signals 2018-10-17 18:22:04 +02:00
Carles Fernandez
36a4d4d4cd
More multithread protection 2018-10-05 13:54:35 +02:00
Carles Fernandez
78c0b76cb9
Avoid use of GLOB for source and header files 2018-10-04 22:35:44 +02:00
Carles Fernandez
e4303d0fac
Fix build with latest GNU Radio master (towards 3.8) 2018-08-31 13:52:35 +02:00
Álvaro Cebrián Juan
4b620c5931 Add an IP address parser to enable specifying multiple clients in the Monitor block configuration 2018-08-22 15:42:38 +02:00
Carles Fernandez
dc5ff6af03
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2018-08-21 16:43:43 +02:00
Carles Fernandez
4cf10c221a
Update SBAS PRN numbers 2018-08-21 16:43:36 +02:00
Carles Fernandez
a833abbb8a Merge branch 'kf' of https://github.com/gnss-sdr/gnss-sdr into next 2018-08-21 11:50:39 +02:00
Sergi Segura
fc98fa6afe cleaning code for gsoc 2018-08-12 23:58:16 +02:00
Carles Fernandez
05a1806c8f
Merge branch 'fpga' of https://github.com/mmajoral/gnss-sdr into merge-marc 2018-08-11 12:56:52 +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
ee132f445f Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-08-08 14:25:12 +02:00
Javier Arribas
b47d7826eb Adding an option to SDR sample counter to modulate the observable generation rate. It defaults to 20 ms interval (50 Hz) 2018-08-07 20:04:44 +02:00
Sergi Segura
e4a86173fa tracking working 2018-08-06 13:52:08 +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
Carles Fernandez
6d39e31a67
Fix bug that was causing runtime breaks 2018-07-12 20:01:18 +02:00
Carles Fernandez
7dd0f7143e
Minor code cleaning 2018-07-12 18:21:48 +02:00
Carles Fernandez
d4d0ad0042
Fix bug that could cause repeating a satellite in a different channel 2018-07-12 07:50:30 +02:00
Sergi Segura
51aa80aa46 tracking working, some satellites with loss of lock 2018-07-10 23:30:15 +02:00
Carles Fernandez
cfc19c8df9
Bugfix: satellites assigned in initialization were never added to the list 2018-07-08 13:30:49 +02:00
Sergi Segura
a9fdc3ea67 minor corrections 2018-07-06 15:55:00 +02:00
Sergi Segura
bf8ffe63cf implemented the acquisition block, not working 2018-07-06 14:42:13 +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
Álvaro Cebrián Juan
619b2ee624 Add monitor block to send data stream to a remote GUI 2018-07-03 13:25:43 +02:00
Carles Fernandez
db5145f1e7
Add possibility to override parameters in InMemoryConfiguration class 2018-06-28 09:20:38 +02:00
Carles Fernandez
0f29352aa0
Declare const member functions that do not modify the object 2018-06-17 21:53:37 +02:00
Carles Fernandez
8ff1a816bb
Make Coverity Scan happy 2018-06-17 21:52:18 +02:00
Carles Fernandez
576694c5b3
Enhance protection with concurrent channels 2018-06-15 14:35:53 +02:00
Sergi Segura
ea55861202 minor details evaluation 1 2018-06-15 04:40:50 +02:00
Sergi Segura
cd149895f0 first evaluation beidou b1I 2018-06-15 04:19:32 +02:00
Carles Fernandez
4506bed859
Smarter flowgraph for multi-system and multi-band configurations 2018-06-14 23:10:43 +02:00
Carles Fernandez
5b2040ae50
Improve channel state management in multisystem configurations 2018-06-13 21:01:40 +02:00
Javier
1931d2adb6 Revert "Avoid reassignation of satellites"
This reverts commit 84b2684337.
2018-06-06 12:26:45 +02:00
Carles Fernandez
84b2684337 Avoid reassignation of satellites 2018-06-05 16:39:07 +02:00
Carles Fernandez
11ffef0574
Avoid moving a temporary object since it prevents copy elision 2018-06-03 14:50:22 +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
98edb768fd
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2018-05-16 18:32:38 +02:00
Javier Arribas
dfeb62871f Adding optional compilation of the custom UDP packet source. Disabled by default 2018-05-16 11:36:37 +02:00
Javier Arribas
bf7a3f0090 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into udp_source 2018-05-16 10:54:27 +02:00
Carles Fernandez
1bad4d3be6
Catch exception by reference 2018-05-15 18:31:34 +02:00
Carles Fernandez
93954fbbe1
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into kf 2018-05-14 08:16:36 +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
Javier Arribas
0ef3b56e22 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into udp_source 2018-05-10 17:57:44 +02:00
Carles Fernandez
a5be528c90 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into HEAD 2018-05-07 15:08:28 +02:00
Carles Fernandez
3bc6ce4f75
Fix warnings 2018-05-05 12:50:00 +02:00
Carles Fernandez
8b390d0924
Replace boost::lexical_cast with std::to_string
Fixes in optional buildings
2018-05-01 23:32:52 +02:00
Javier Arribas
7865387df9 Adding UDP GNSS signal source block 2018-05-01 21:25:15 +02:00
Carles Fernandez
f259ef28dd
Replace boost::lexical_cast<std::string>() by std::to_string()
This fixes uncaught exceptions detected by Coverity Scan
2018-05-01 10:56:18 +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
Carles Fernandez
627848458e
Remove unused variable 2018-04-29 19:23:46 +02:00
Carles Fernandez
1573c40938
Expose some tracking parameters to the configuration
Replace GPS_L5i_DLL_PLL_Tracking by GPS_L5_DLL_PLL_Tracking since now it can also track the Q component. Old name still recognized for backward compatibility

Fix typo in flag documentation
2018-04-28 12:33:46 +02:00
Carles Fernandez
6f9fafcef0
Disconnect flowgraph when finished 2018-04-23 07:41:13 +02:00
Carles Fernandez
a584e8e51d
Add mutex to protect list of available signals
Disconnect the flowgraph when leaving
2018-04-22 19:49:13 +02:00
Carles Fernandez
2cd1bed90c
Fix headers and documentation 2018-04-20 13:20:10 +02:00
Carles Fernandez
514fde256a
Fix assignment of a channel to a given satellite with ChannelN.satellite=PRN 2018-04-20 12:50:32 +02:00
Carles Fernandez
4db5f9165f Fix bug counting channels when using Gal E5a configurations 2018-04-18 11:18:58 +02:00
Antonio Ramos
1428630e79 Add RX time counter 2018-04-13 15:27:14 +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
6345b5dd15 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into kf 2018-04-05 10:15:39 +02:00
Antonio Ramos
46bc52ce9e Sample counter now accepts any data type 2018-04-04 11:16:35 +02:00
Carles Fernandez
5656dbee89 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into kf 2018-04-03 11:52:57 +02:00
Antonio Ramos
ebb908f2e7 Merge branch 'next' into observables_and_display_color 2018-04-03 11:01:59 +02:00
Carles Fernandez
1eede79e7f Integrate unified block for DLL/PLL Tracking 2018-03-29 12:54:03 +02:00
Carles Fernandez
a6a13cc306 Fix building in Pybombs 2018-03-28 08:35:33 +02:00
Javier Arribas
ec09016750 Adding Local Oscillator generation for dual band operation using AD9361 FPGA source. Bug fix in FPGA flowgraph 2018-03-27 14:24:07 +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
mmajoral
376de5807f Added FPGA-related changes 2018-03-20 18:06:20 +01:00
Javier
70a2690a2a Adding experimental KF carrier tracking 2018-03-13 11:51:33 +02:00
Antonio Ramos
be5139e5f7 Merge branch 'next' into debug 2018-03-06 16:19:52 +01:00
Javier Arribas
7c406bb6eb Merging fpga with next 2018-03-05 11:03:59 +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
Javier Arribas
c2fc4b9854 Updating GPS L1 FPGA tracking adapters 2018-03-02 17:40:13 +01:00
Javier Arribas
dc4c7b9551 Adding AD9361 fpga signal source 2018-03-02 11:30:36 +01:00
Carles Fernandez
9d23915fee Fix make check in Ubuntu 16.04 2018-03-01 15:05:04 +01:00
Carles Fernandez
2ca458cea1 Add more flag validators 2018-02-26 21:37:53 +01:00
Antonio Ramos
4d6aaf43af Merge branch 'next' into fix_observables 2018-02-26 10:12:47 +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
Antonio Ramos
dfb5f1118c Fix unit tests 2018-02-20 15:44:45 +01:00
Antonio Ramos
0cba5951a7 Merge branch 'next' into fix_observables 2018-02-19 10:51:24 +01:00
Carles Fernandez
2b8ab9dcee Group all flags in a single file
This makes easier to document and to add new ones.
Shortened version of common files have been added:
-c for -config_file
-s for -signal_source
2018-02-18 12:23:55 +01:00
Antonio Ramos
8885333aa7 Modify sample counter 2018-02-13 19:22:23 +01:00
Antonio Ramos
452dd24c90 Add Gal. E5a Pcps acquisition adapter 2018-02-07 18:36:42 +01:00
Carles Fernandez
891d6b80df Rational_Resampler renamed to Mmse_Resampler
Following its renaming in GNU Radio 3.8 (see https://github.com/gnuradio/gnuradio/issues/1428)
2018-02-03 10:49:03 +01:00
Carles Fernandez
3988a68592 Fix compilation in GNU Radio 3.7.12.git 2018-02-01 16:39:45 +01:00
Carles Fernandez
149ceaa366 Fix compilation in GNU Radio 3.8 2018-02-01 15:15:03 +01:00
Antonio Ramos
f635b5714f Add fractional resampler 2018-01-31 10:46:41 +01:00
Carles Fernandez
2f8be49d0a Fix indentation 2018-01-26 12:49:04 +01:00
Carles Fernandez
b301ed19c6 Merge remote-tracking branch 'upstream/next' into glonass 2018-01-24 00:52:09 +01:00
Javier Arribas
84fe651f0d Adding Labsat v2 and v3 single channel signal recorder file source 2018-01-23 17:31:42 +01:00
Antonio Ramos
282c3d8659 Implement Spirent GSS6450 file signal source 2018-01-16 17:38:43 +01:00
Antonio Ramos
25127a0b27 Minor changes 2018-01-10 16:24:09 +01:00
Antonio Ramos
cfc0a4a498 Clean flowgraph 2018-01-05 12:25:33 +01:00
Antonio Ramos
bbf8587970 Clean code 2018-01-04 12:16:12 +01:00
Antonio Ramos
3eafe2047a Fix deadlock flowgraph 2018-01-02 16:56:18 +01:00
Antonio Ramos
8932e9a51b Clean acquisition interface 2017-12-22 10:39:53 +01:00
Antonio Ramos
2d8141d9b5 Migrate msg_queue boost smart pointers to gr sptr 2017-12-21 15:47:26 +01:00
Antonio Ramos
8bb0c880c0 Minor changes in DLOG lines 2017-12-21 12:12:56 +01:00
Antonio Ramos
cef7ae5f7b Add LOG lines in channel_fsm 2017-12-20 15:02:57 +01:00
Antonio Ramos
26a521907a Minor changes 2017-12-12 17:59:13 +01:00
Carles Fernandez
60d83135e2 Fix wrong merge 2017-12-04 19:22:48 +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
Antonio Ramos
d501aac371 Merge remote-tracking branch 'gnss-sdr/next' into TD_GPS_L5 2017-12-04 17:10:18 +01:00
Javier Arribas
59c2261316 Adding GPS L5i acquisition and tracking modules 2017-12-04 17:07:54 +01:00
Antonio Ramos
6395f0e5fc Add GPS L5 Channel 2017-11-30 18:16:49 +01:00
Antonio Ramos
7c8855b9ac Add GPS L5 files 2017-11-30 15:10:08 +01:00
Carles Fernandez
4f9d6afd7d Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into dmiralles2009-glonass_dec 2017-11-03 16:30:24 +01:00
Javier Arribas
e7143f932a Add includes for gnuradio-iio in block factory 2017-10-31 12:36:35 +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
lmne
23fa911dd5 Add support to fmcomms2 SDR hardware 2017-10-29 02:51:22 -03:00
Carles Fernandez
6f5f8e8948 Catch exception 2017-10-19 20:52:32 +02:00
Unknown
4dd128f633 Merge remote-tracking branch 'gnss-sdr/next' into next 2017-10-13 11:14:36 +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
Damian Miralles
cd0d65ecc0 bugfix: Fix computation of TOW value for GLONASS GNAV
Fixes the TOW computation mapping from GLONASS Time to UTC time and then
conversion to TOW and WN. The logic of the conversion considers time
offsets but  may need to be reviewed.
2017-10-03 15:26:02 +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
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
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
Damian Miralles
305a81a413 tel_dec: Fixing GLONASS GNAV Telemetry Decoder
Fixes GLONASS L1 CA telemetry decoder and creating connections with
observables blocks before PVT computation. Fixes documentation and code
style in the block
2017-08-31 09:55:35 -06:00
Gastd
88fa602505 Add unit-test for glonass pcps acquisition 2017-08-23 13:30:05 -03:00
Gastd
5d9742416d fix glonass signal string 2017-08-23 13:15:42 -03:00
Gastd
f918a00590 Add glonass svn in signals list 2017-08-23 13:15:42 -03:00
Gastd
8f8bdb14dd Add glonass svn in signals list 2017-08-23 13:15:42 -03:00
Gastd
fcea248654 Add glonass svn in signals list 2017-08-23 13:13:15 -03:00
Gastd
339aad9beb Add glonass svn in signals list 2017-08-23 13:10:04 -03:00
Gastd
a1343654f0 Add Glonass C Aid tracking block to the block factory 2017-08-23 13:09:28 -03:00
Gastd
cb87b75aa6 Add Glonass Tracking block to block factory 2017-08-23 13:09:28 -03:00
Gastd
a84bdc7d54 fix glonass signal string 2017-08-23 13:08:46 -03:00
Gastd
f72c2f6a75 Add glonass svn in signals list 2017-08-23 13:08:46 -03:00
Gastd
3990e0a7ce Add Glonass channels to PVT and Observables 2017-08-23 13:05:33 -03:00
Gastd
ffb523a8c0 Only 24 SV's available 2017-08-23 13:00:54 -03:00
Gastd
cb32755045 Add Glonass L1 C/A channel to the block factory 2017-08-23 13:00:54 -03:00
Gastd
d3c3cab980 fix glonass signal string 2017-08-23 13:00:54 -03:00
Gastd
99104bc8bc Add glonass svn in signals list 2017-08-23 13:00:54 -03: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
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
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
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
Antonio Ramos
93de803b41 GetBlock method modification
Adding Notch_Filter to the list of implementations
2017-06-19 15:40:40 +02:00
Antonio Ramos
4c52774da1 Including notch filter header to GNSSBlockFactory
Adding #include "notch_filter.h"
2017-06-09 14:11:20 +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
111ad3b221 Remove Hybrid_PVT implementation, it is replaced by RTKLIB_PVT 2017-05-10 16:42:22 +02:00
Carles Fernandez
9fef3fbfe9 Merge branch 'next_fpga' of https://github.com/gnss-sdr/gnss-sdr into next 2017-05-08 22:48:04 +02:00
Carles Fernandez
41aa5f5e7e Warn user about deprecated implementations 2017-05-08 21:17:54 +02:00
Carles Fernandez
d873df57b3 Replace old implementation names by new ones so existing configurations do not break 2017-05-08 19:56:10 +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
Javier Arribas
c3c3266fad Adding an improved receiver time reporting system 2017-05-02 12:01:18 +02:00
Carles Fernandez
731d0e04eb Tell the scheduler that PVT is a sink block 2017-04-29 19:12:27 +02:00
Carles Fernandez
f4dac04285 merging next 2017-04-22 18:31:57 +02:00
Javier Arribas
e90a9aa2bf Migration of the internal LS PVT solver to RTKLIB solver in progress. First working version for GPS L1. Removing SBAS duplicated code. 2017-04-20 16:10:12 +02:00
Carles Fernandez
95ffcd3ac0 Improve portability
In some architectures (e.g. alpha, hppa, powerpcspe, m68k,  sh4, sparc64, x32) the package gr-osmosdr is not available. So when the package is build with -DENABLE_OSMOSDR=ON, it breaks on the mentioned architectures. This is expected behaviour (it breaks because a required dependency is not found), but prevents from building the package on such architectures. This commit introduces a small change: when compilation is called with

cmake -DENABLE_OSMOSDR=ON -DENABLE_PACKAGING=ON ..

then, the compilation does not break if gr-osmosdr is not found.

This commit also fixes building when UHD is present but gnuradio-uhd is not (for instance, in hurd-i386)
2017-04-12 18:06:04 +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
Javier Arribas
b96d1707a9 GPS L2CM telemetry decoder rewrite, borrowed from the Swift navigator open source libraries 2017-03-23 15:45:41 +01:00
Javier Arribas
d5656e65a8 Adding experimental input filter Pulse Blanking algorithm implementation 2017-02-21 11:35:18 +01:00
Carles Fernandez
05f8b78751 Change blocks name from L2_M to L2C 2016-11-03 19:33:04 +01:00
Carles Fernandez
e918da7785 Change name of L2C observables block 2016-11-03 19:03:17 +01:00
Carles Fernandez
866bb1537f Add Galileo E5a observables block 2016-11-03 12:18:56 +01:00
Carles Fernandez
779ab48feb Add observables block for GPS L2C 2016-11-03 12:02:25 +01:00
Carles Fernandez
6412bbc8d3 Change variable names to something more meaningful 2016-10-16 10:00:39 +02:00
Carles Fernandez
1913f0d4fa Exit program if it cannot create SysV message queues 2016-10-13 12:02:55 +02:00
Carles Fernandez
b1721489e5 Kill the SysV queue listener when stopping the control thread 2016-10-03 18:51:00 +02:00
Carles Fernandez
67a4066738 Fix typo 2016-10-03 17:45:06 +02:00
Carles Fernandez
08f0a36075 Improve queue management gnss-sdr and in TTFF tests.
Always destroy queues when exiting
2016-10-03 17:43:06 +02:00
Carles Fernandez
047ced2b20 Improve queue management 2016-10-03 13:43:20 +02:00
Carles Fernandez
7eff6df4dd Create converter_ in the constructor 2016-10-02 02:03:59 +02:00
Carles Fernandez
b80eba91c8 Terminate run when testing TTFF 2016-10-01 18:43:58 +02:00
Carles Fernandez
32445c9864 Add a queue listener to the control thread 2016-10-01 17:32:38 +02:00
Carles Fernandez
62e1e6f81a Now the block factory automatically detects the input data type
So it is no longer required to specify Channel.input_type=cshort in the
configuration. An error raises if Acquisition and Tracking Blocks are
not configured with the same input data type.
2016-08-15 11:57:12 +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
Carles Fernandez
df47884cd7 Clean the factory
Now GetBlock does not require a queue for generating blocks that do not
use it.
2016-05-10 01:32:26 +02:00
Carles Fernandez
f1a5708891 Remove unused queue in Signal Conditioners 2016-05-09 18:53:48 +02:00
Carles Fernandez
953bc4686e Remove unused queue in input filters and data type adapters 2016-05-09 18:44:58 +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
0acb48c0b5 Remove unused queue from tracking blocks
Now replaced by GNU Radio block's message passing system
2016-05-09 11:51:42 +02:00
Carles Fernandez
7a6952f8b6 Remove unused queue
Now replaced by GNU Radio block's message passing system
2016-05-09 10:27:42 +02:00
Carles Fernandez
1cbaf99ebd Initialize all class members in the constructor 2016-05-08 08:21:25 +02:00
Carles Fernandez
818e09536b Exposing RTCM message rate to the configuration 2016-05-07 12:22:40 +02:00
Luis Esteve
af8ced3a2e Improve documentation of gnss_block_factory.cc 2016-05-06 17:01:11 +02:00
Carles Fernandez
0ea36db356 code cleaning 2016-05-04 19:15:18 +02:00
Javier Arribas
3d2e72c790 Re-enabling the GPS L1 warm start ephemeris assistance stored in XML file 2016-05-03 12:34:38 +02:00
Carles Fernandez
831cc75153 Remove tabs from the source code 2016-05-02 23:46:30 +02:00
Carles Fernandez
fbfc4a28ba Improve memory management
The blocks are now always managed by smart pointers instead of raw pointers
2016-05-02 17:26:32 +02:00
Carles Fernandez
ae8eaee724 minor cleaning 2016-05-02 01:28:37 +02:00
Carles Fernandez
0f2a08f49d 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.
2016-04-22 18:41:24 +02:00
Javier Arribas
4cee7965c4 Code cleaning and config simplifications 2016-04-22 12:04:08 +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
5cdd6b2cc9 Re-enabling the GPS L1 warm start ephemeris assistance stored in
XML file. Now GNSS-SDR is able to load auto-stored ephemeris from
previous runs to speed up the position fix.
2016-04-20 12:58:54 +02:00
Javier Arribas
31ae25cb83 Bug fix: prevent random core dumps at gnss-sdr exit process by adding 500ms delay at gnss-sdr stop process to allow all the message queues to process the remaining messages. 2016-04-18 14:38:25 +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
bd60379753 Removed unused queues in telemetry decoders 2016-04-13 17:18:29 +02:00
Javier Arribas
6b45d4019c removed unused queues in observables blocks 2016-04-13 17:02:33 +02:00