Carles Fernandez
f703990a09
Fix building when using C++11
...
Update changelog
2021-02-17 09:43:05 +01:00
Jim Melton
6e04a42c8a
clang-format
...
This was much worse than I thought. I had run clang-format at some point, but
apparently I subsequently made some non-compliant changes in pretty much every
file I touched.
2021-02-15 15:34:48 -07:00
Jim Melton
78362e7cba
add signal_source_interface
...
also adds a base implementation that most signal sources should inherit from.
The gen_signal_source is inexplicably different (probably as a test fixture,
commonality was not valued).
Only the file_signal_source has been tested; all the sources are modified in the same
way, but we all know the only proof of correctness is testing.
The block factory was simplified a bit. Handling for legacy config files was pulled out
of the flowgraph; now when the "0" instance of a component (Foo0) is created, if there is
no config for it, then the legacy version (Foo) will be tried. This is different from
passing -1 for the item number (which is still supported). Theoretically, all existing
config files should still work.
2021-02-15 11:47:13 -07:00
Carles Fernandez
7308745f05
Apply more concise file header format
...
Re-license CMake scripts with BSD-3-Clause
2020-12-30 13:35:06 +01:00
Carles Fernandez
0b1befd128
hotfix: fix Uhd_Signal_Source building with GCC 10
...
Fix out-of-bound access in debug mode
2020-07-29 13:47:00 +02:00
Carles Fernandez
499de7a9f1
Update file headers
2020-07-28 16:57:15 +02:00
Carles Fernandez
7bececeef6
Improve const correctness
...
Remove all buprone conversions from signal_generator module
2020-07-17 09:11:42 +02:00
Carles Fernandez
71a0b07e09
Stopping the uhd source saves a crash on exit
2020-07-16 12:43:46 +02:00
Carles Fernandez
c04948fd02
Reduce number of warnings raised by bugprone-* clang-tidy checks
2020-07-10 00:37:55 +02:00
Carles Fernandez
09bcd1981c
Replace std::endl by \n character. There is no need to always flush the stream.
2020-07-07 18:53:50 +02:00
Carles Fernandez
2b3d4b321d
Make the adapters take the configuration pointer as const
2020-06-29 09:07:41 +02:00
Carles Fernandez
81af1a531b
Redesign of pointer management
...
Avoid indirection caused by passing shared_ptr by reference
The block factory does not have responsability on the lifetime of their inputs
Define std::make_unique when using C++11 and make use of it
Printers are turned into unique_ptr to express ownership
Printers do not participate on the lifelime of the data, so they take const raw pointers
Modernize tests code
2020-06-18 11:49:28 +02:00
Carles Fernandez
4d0d263280
Make the software package compliant with the REUSE Specification v3.0 (see https://reuse.software/spec/ )
...
Update license headers to SPDX format (see https://spdx.org/ )
Add license to all files
Add CI job in GitHub Actions to ensure compliance
2020-02-08 01:20:02 +01:00
Carles Fernandez
d4bb6e5731
Always have a space between // and comment
2019-08-18 22:16:13 +02:00
Carles Fernandez
a4d6800e22
Update copyright year
...
Applied on files changed since last release
clang-format applied
2019-07-26 12:38:20 +02:00
Carles Fernandez
be86771ede
Move default destructor to header file, so compiler can make a better job
2019-07-21 19:32:52 +02:00
Carles Fernandez
ef9c02bac2
Miscellaneous changes: fix typos, warnings
2019-07-20 02:53:31 +02:00
Javier Arribas
1313edd716
Partial implementation of the new event queue and its dependencies. Still NOT usable
2019-07-16 17:41:12 +02:00
Carles Fernandez
e7ea5c1fdd
Remove superfluous 'using google::LogMessage'
2019-03-03 13:39:35 +01:00
Carles Fernandez
c8ae93d2b8
Fix building
2019-02-11 18:36:12 +01:00
Carles Fernandez
6abebac5eb
Make use of cstdint type names
2019-02-11 17:51:20 +01:00
Carles Fernandez
ef201c4ccd
Add pmt and uhd to clang-format as external libraries
2018-12-10 00:18:27 +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
Carles Fernandez
eb6ff88cec
clang-tidy: apply boost-use-to-string fix (see http://clang.llvm.org/extra/clang-tidy/checks/boost-use-to-string.html )
2018-12-03 23:34:29 +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
Carles Fernandez
395f93aeff
clang-tidy: apply modernize-pass-by-value fix. See http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html#modernize-pass-by-value
2018-12-03 15:43:43 +01:00
Carles Fernandez
8eec75c8ae
clang-tidy: apply readability-string-compare fix (see https://clang.llvm.org/extra/clang-tidy/checks/readability-string-compare.html )
2018-12-03 12:52:17 +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
424f812790
Fix clang warnings about unused private member
2018-06-03 19:11:16 +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
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
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
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
Javier
f69cc2491c
Adding UHD device filter by serial number option
2017-05-31 11:45:26 +02:00
Javier
a31542cbf6
Added support to select the frontend clock reference source in UHD
...
signal source (i.e. internal or external clock reference)
2015-06-17 18:07:36 +02: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
5b37329200
Bug fix in multisource/multichannel gnss_block_interface
2015-02-27 10:36:09 +01:00
Javier
8606191311
Added support to multiband frontends (UHD multiband) in UHD signal
...
source. Still to do modifications in flowgraph to connect the signal
conditioners and the next chained blocks..
2015-02-18 18:46:00 +01:00
Carles Fernandez
3dcac855b8
adding more data types
2015-02-04 02:29:38 +01:00
Carles Fernandez
6620e7d43c
Updating copyright year
2015-01-08 19:49:59 +01:00
Javier
0d417271c5
Bug fix in UHD source that prevented the USRP device selection by IP
...
address.
Adding sample configuration file for USRP X300 (and other networked
USRPs)
2014-12-03 18:58:28 +01:00
Carles Fernandez
39f8754217
Cleaning the terminal output and dumping most of the information in the log file. Better use of the glog library, logging can be seen also in Release, in real time by doing './gnss-sdr --logtostderr=1'. Update to latest version of Armadillo.
...
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@486 64b25241-fba3-4117-9849-534c7e92360d
2014-03-16 19:58:29 +00:00
Carles Fernandez
4edd485cd0
Tidying up includes: own .h, C libraries, C++ libraries, other libraries' .h, project's .h. Some old time.h and stdlib.h have been replaced by ctime and cstdlib
...
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@477 64b25241-fba3-4117-9849-534c7e92360d
2014-01-14 23:22:54 +00:00
Javier Arribas
58b280afb6
Switch to GNU Radio 3.7.x API
...
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@368 64b25241-fba3-4117-9849-534c7e92360d
2013-07-04 13:47:40 +00:00
Carles Fernandez
e659ca96b2
Fix bug identifying the USRP
...
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@270 64b25241-fba3-4117-9849-534c7e92360d
2012-11-01 11:05:27 +00:00
Carles Fernandez
9727444b57
Fix device_address bug, added comments, code cleaning
...
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@269 64b25241-fba3-4117-9849-534c7e92360d
2012-11-01 10:56:33 +00:00