1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-07-03 18:33:15 +00:00
Commit Graph

292 Commits

Author SHA1 Message Date
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
Á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
Damian Miralles
1b7d4edf51 bds_b31: Getting new changes from upstream 2019-02-05 17:25:16 -06:00
Carles Fernandez
dfab84b2de
Add fixes applied by clang-tidy 2019-02-05 01:31:09 +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
54237770a6
Apply fixes by clang-tidy 2018-12-10 22:59:10 +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
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
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
05b6c03344
Fix typo 2018-11-20 21:56:35 +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
Damian Miralles
8c16d945f8 beidou b1i: Merging new changes and adding bug fixes to code 2018-10-22 14:16:38 -05:00
Carles Fernandez
36a4d4d4cd
More multithread protection 2018-10-05 13:54: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
4cf10c221a
Update SBAS PRN numbers 2018-08-21 16:43:36 +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
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
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
Carles Fernandez
cfc19c8df9
Bugfix: satellites assigned in initialization were never added to the list 2018-07-08 13:30:49 +02:00
Sergi Segura
bf8ffe63cf implemented the acquisition block, not working 2018-07-06 14:42:13 +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
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
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
0d60d97c24
Use https instead of http in links when available
Update copyright year in headers
2018-05-13 22:49:11 +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
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
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
Antonio Ramos
46bc52ce9e Sample counter now accepts any data type 2018-04-04 11:16:35 +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
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
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
Antonio Ramos
be5139e5f7 Merge branch 'next' into debug 2018-03-06 16:19:52 +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
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
8885333aa7 Modify sample counter 2018-02-13 19:22:23 +01:00
Carles Fernandez
b301ed19c6 Merge remote-tracking branch 'upstream/next' into glonass 2018-01-24 00:52:09 +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
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
6395f0e5fc Add GPS L5 Channel 2017-11-30 18:16:49 +01: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
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
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
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
ffb523a8c0 Only 24 SV's available 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
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
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
111ad3b221 Remove Hybrid_PVT implementation, it is replaced by RTKLIB_PVT 2017-05-10 16:42:22 +02:00
Carles Fernandez
41aa5f5e7e Warn user about deprecated implementations 2017-05-08 21:17:54 +02:00
Javier Arribas
2ee29af3bd Adding FPGA accelerators support in gnss-sdr configuration options 2017-05-05 16:37:29 +02:00
Javier Arribas
c3c3266fad Adding an improved receiver time reporting system 2017-05-02 12:01:18 +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
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
831cc75153 Remove tabs from the source code 2016-05-02 23:46:30 +02:00
Carles Fernandez
ae8eaee724 minor cleaning 2016-05-02 01:28:37 +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
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
7560a158f0 More telemetry global queues migration to GNURadio asynchronous messages
and
some
code cleaning
2016-04-13 16:19:15 +02:00
Javier Arribas
588864e19e Replacing GPS telemetry shared queues and maps with GNURadio
asynchronous messages (TLM -> PVT)
2016-04-12 15:28:58 +02:00
Javier Arribas
b4e8966691 Removing the unused Output_filter block from the gnss_sdr flowgraph 2016-04-06 16:12:06 +02:00
Carles Fernandez
754e4436ee Revert "Experimental extended correlation for GPS L1 CA C_Aid tracking"
This reverts commit d664dc63b3.
2016-03-15 10:01:08 +01:00
Carles Fernandez
1e9a9d1a55 reverting wrong commit 2016-03-09 15:56:07 +01:00
Javier Arribas
833ca8ab8c Provisional bug fix to avoid random channel state machine deadlock
caused by an incorrect sequence of events
2016-03-04 14:08:19 +01:00
Carles Fernandez
74d42250d8 Merge branch 'contrib' of https://github.com/odrisci/gnss-sdr into
odrisci-contrib

# Conflicts:
#	src/algorithms/tracking/gnuradio_blocks/gps_l1_ca_dll_pll_tracking_cc.cc
#	src/algorithms/tracking/libs/tracking_discriminators.cc
2015-11-30 10:18:09 +01:00
Cillian O'Driscoll
086118c4aa Improvements to gnss_flowgraph
1) Fixed a bug in gnss_signal::compare

The signal string comparison was not correct.

2) Fix for gnss_flowgraph when satellites are specified

3) Better handling of acquisition in flow graph

Now PRNs are alternated amongst channels, so we don't get 'stuck' on a
particular PRN, and we don't miss out on PRNs that are assigned to
channels that come after a channel that is always in the acquisition state.

4) Added SYS.prns to config file.

Now we can specify which PRNs are available in the configuration, rather
than re-compiling. Particularly useful for debugging, or experimenting
with files where you already know which signals are present
2015-11-26 15:11:11 +00:00
Carles Fernandez
7a63870ea6 logging correctness 2015-05-10 23:13:23 +02:00
Carles Fernandez
c99924fe5a Change of member name to avoid get_signal().get_signal() 2015-05-10 21:37:54 +02:00
Carles Fernandez
8bd795e414 minor fixes 2015-05-10 20:57:29 +02:00
Carles Fernandez
9542cbb733 Bug fixes 2015-05-10 12:35:49 +02:00
Carles Fernandez
9e534ab814 Allowing multisignal configurations 2015-05-09 01:48:16 +02:00
Carles Fernandez
1536ab7be0 More fixes to make old and new configuration notations compatible 2015-05-08 16:06:30 +02:00
Carles Fernandez
8d60aeab3d Working in the new configuration system 2015-05-08 13:11:41 +02:00
Carles Fernandez
74d437a709 Merge branch 'multisignals' of https://github.com/gnss-sdr/gnss-sdr into multisignals 2015-05-07 22:44:04 +02:00
Carles Fernandez
c24f312226 changing some logs from WARNING to INFO 2015-05-07 22:12:38 +02:00
Carles Fernandez
693aed2db4 changing 5I by 5X (Galileo E5a I&Q) 2015-05-07 21:34:37 +02:00
Carles Fernandez
595cfb614f small fixes 2015-05-07 21:25:20 +02:00
Carles Fernandez
b2bc2c78eb some cleaning 2015-05-07 20:48:33 +02:00
Carles Fernandez
8cf78f0e12 fixing things 2015-05-07 17:13:24 +02:00
Carles Fernandez
3ea6ae76fa working towards the new configuration 2015-05-07 16:30:01 +02:00
Javier
37a346f3f6 Merge branch 'next' into arribas_next
Conflicts:
	src/algorithms/tracking/gnuradio_blocks/gps_l1_ca_dll_pll_tracking_cc.cc
2015-05-06 16:49:11 +02:00
Javier
d8d5daa5d8 GPS L2C M acquisition and tracking ready. Old configuration file format.
Bug fix on GPS L1 DLL PLL that prevented the output of gnss_synchro
during the acqusition to tracking transition.
2015-05-06 16:33:51 +02:00
Carles Fernandez
e354b1ce53 less verbose logging in Release 2015-05-04 22:16:26 +02:00
Javier
60b7fe8e08 Added GPS L2M Tracking and its unit test. Still experimental! 2015-04-30 17:48:21 +02:00
Johannes Pillmann
7163d8502a Added PRN 24 to available_gps_prn (was missing) 2015-04-28 17:07:28 +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
Carles Fernandez
944dd2c0d1 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-03-04 20:54:15 +01:00
Javier
9afff479b1 Updated multichannel frontend support. 2015-03-04 19:00:57 +01:00
Carles Fernandez
7c7f0ecbd2 Merge remote-tracking branch 'Arribas/next' into multisource
Conflicts:
	src/algorithms/signal_source/adapters/uhd_signal_source.cc
	src/core/receiver/gnss_flowgraph.cc
2015-03-01 22:23:17 +01:00
Javier Arribas
7a681a287d Debug output cleaning 2015-03-01 20:58:03 +01:00
Javier
304f38b81a Added multichannel frontend support. Enabled in UHD signal source. Multisource configuration minor changes 2015-03-01 20:25:50 +01:00
Carles Fernandez
2a2740cb01 Code cleaning 2015-02-27 18:21:25 +01:00
Javier
d275a3612f -Added multichannel support in the receiver core (multiple signal
sources
and signal conditioners)

-Some simplifications done in gnss_flowgraph
2015-02-12 18:56:05 +01:00
Carles Fernandez
6620e7d43c Updating copyright year 2015-01-08 19:49:59 +01:00
Carles Fernandez
c13c8acd80 remove unnecessary for 2014-12-24 11:21:32 +01:00