1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-16 05:00:35 +00:00
Commit Graph

146 Commits

Author SHA1 Message Date
Carles Fernandez
ca6b4b545b
Replace Boost::filesystem by std::filesystem if C++17 support is available 2019-06-10 21:41:13 +02:00
Carles Fernandez
5b8ab9f591 Improve includes (IWYU) 2019-03-06 13:49:14 +01:00
Carles Fernandez
6ba77c5f28
Sort includes: include what you use 2019-03-04 08:12:50 +01:00
Carles Fernandez
e7ea5c1fdd
Remove superfluous 'using google::LogMessage' 2019-03-03 13:39:35 +01:00
Carles Fernandez
4fe976ba01
Replace boost::thread by std::thread 2019-02-25 00:02:53 +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
b617213784
Extend clang-tidy checking to tests and utils 2019-02-21 11:42:56 +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
f0e2c7c48d
Small fixes 2019-02-10 13:52:37 +01:00
Carles Fernandez
97e8d9931e
Make use of Threads::Threads target 2019-02-07 09:28:20 +01:00
Carles Fernandez
1789777070 Remove unused lines 2019-02-04 18:33:16 +01:00
Carles Fernandez
999604cd75
Add Boost::atomic target, required by Boost::thread in some configurations (e.g. OpenSUSE) 2019-02-04 08:11:28 +01:00
Carles Fernandez
8ae72fe458
Update to modern CMake usage 2019-02-03 19:24:44 +01:00
Carles Fernandez
27b7a93181
Apply clang-tidy fix readability-container-size-empty 2018-12-11 12:25:38 +01:00
Carles Fernandez
f351615ef9
Apply clang-tidy fix modernize-use-bool-literals 2018-12-11 12:08:54 +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
17260bbcea
Miscelaneous code improvements by clang-tidy 2018-12-08 18:49:31 +01:00
Carles Fernandez
7261bec2ad
Miscelaneous code improvements 2018-12-04 13:20:49 +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
b994f466a7 clang-tidy: apply modernize-loop-convert fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-loop-convert.html) 2018-12-03 18:03:25 +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
87d1413447
Make cmakelint happier 2018-11-24 18:40:34 +01:00
Carles Fernandez
b0ba246934
Apply some style rules to CMake scripts 2018-11-22 00:35:21 +01:00
Carles Fernandez
e94b2f8990
Remove blanks 2018-11-18 21:24:54 +01:00
Carles Fernandez
30d162c76a
Get rid of deprecated link_libraries() 2018-11-17 19:26:06 +01:00
Carles Fernandez
573092d033
Download and build PugiXML if not found 2018-11-11 12:27:01 +01:00
Carles Fernandez
b785fe6ba4
Replace SUPL parameter name MNS by MNC 2018-10-23 00:16:36 +02:00
Carles Fernandez
78c0b76cb9
Avoid use of GLOB for source and header files 2018-10-04 22:35:44 +02:00
Carles Fernandez
0126c26cd2
Fix typo 2018-08-11 20:51:59 +02:00
Carles Fernandez
49c480018c
Fix warning 2018-08-11 20:50:06 +02:00
Carles Fernandez
2b65c1b550
Replace unsigned long int by uint64_t and long int by int64_t in tests 2018-08-10 21:16:10 +02:00
Carles Fernandez
6b1611b3a9
Replace unsigned long int by uint64_t and long int by int64_t. Fixes #199 2018-08-10 20:34:03 +02:00
Javier Arribas
adcc04c3b6 Fix GPS L1 CA fine Doppler acquisition implementation and migrate the configuration interface 2018-07-04 16:56:47 +02:00
Carles Fernandez
e720d49fcc
Remove blank lines, minor cleaning 2018-05-27 02:09:49 +02:00
Carles Fernandez
83c06a4729
Catch all exceptions 2018-05-26 09:33:57 +02:00
Carles Fernandez
cb0dbc4ce1
Catch exception 2018-05-22 22:09:28 +02:00
Carles Fernandez
bdce3c20d1
Catch exception 2018-05-22 00:29:33 +02:00
Carles Fernandez
5722a3f9aa
Catch uncaught exception detected by Coverity Scan 2018-05-21 21:21:28 +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
0400034d14 Fix typos detected by codespell 2018-03-25 19:47:28 +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
2ca458cea1 Add more flag validators 2018-02-26 21:37:53 +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
Carles Fernandez
e7784a7cbe Catch all exceptions 2018-02-03 11:15:35 +01:00
Carles Fernandez
1e6f053c37 Fix bug that was preventing the PRN code to be loaded. Fixes #102 2017-12-06 13:06:05 +01:00
Carles Fernandez
dc18980194 The global parameter name GNSS-SDR.internal_fs_hz has been replaced by
GNSS-SDR.internal_fs_sps

The old name was misleading, since the units are samples per second and
not Hertz. 

Backward compatibility is kept, so this change does not break any
existing configuration.
2017-09-02 11:24:44 +02:00
Carles Fernandez
18cd7daa09 Eliminate ctime library. Replaced by chrono or boost::date_time 2017-08-11 05:18:38 +02:00
Carles Fernandez
9f70940114 Small fix 2017-06-07 20:41:56 +02:00
Carles Fernandez
937238b0a6 Fix uncaught exception 2017-06-07 20:34:33 +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
7305c033d9 Update copyright year in help intro message 2017-01-14 15:50:15 +01: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
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
59e2e61cae Merge branch 'next' of git+ssh://github.com/gnss-sdr/gnss-sdr into next 2016-04-26 18:54:32 +02:00
Carles Fernandez
5492c6af6b Fix required by lintian 2016-04-26 18:47:36 +02:00
Javier
ec4dd37271 Migrating front-end calibration utility to the new gnuradio message system 2016-04-26 16:11:42 +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
b56183f93b Replacing Galileo E1, SBAS, and GPS L2C telemetry shared queues and maps
with GNURadio asynchronous messages (TLM -> PVT)
2016-04-12 17:29:16 +02:00
Carles Fernandez
e4206d38f6 Try to use OpenSSL if GnuTLS with openssl compatibility enabled is not
found.
2015-10-27 20:18:48 +01:00
Javier
b8d3f293f1 GPS L2C bug fixes. Added skeleton for a Mixed (multi-frequency and
multi-system) observables block.
2015-06-05 18:46:00 +02:00
Carles Fernandez
62f9bcc2b0 catching exceptions 2015-06-01 18:50:13 +02:00
Carles Fernandez
4dbf73acb3 catching exceptions 2015-06-01 12:17:06 +02:00
Carles Fernandez
07d73ac136 catching exceptions 2015-05-30 13:23:23 +02:00
Carles Fernandez
490031b72c passing vectors by reference and not by value 2015-05-20 18:24:13 +02:00
Carles Fernandez
48435735ba fixes parallel building when glog is auto-built 2015-05-19 20:28:02 +02:00
Anthony Arnold
fd59c4351b Always build front-end-cal 2015-05-17 01:31:53 +10:00
Anthony Arnold
9ecf17a602 Link dependencies 2015-04-30 17:18:15 +10:00
Carles Fernandez
f978f8e3e7 fixing includes 2015-01-09 13:47:52 +01:00
Carles Fernandez
6620e7d43c Updating copyright year 2015-01-08 19:49:59 +01:00
Carles Fernandez
6bf55a201e adding front-end-cal manpage 2014-12-15 19:21:14 +01:00
Javier Arribas
b99bae71b9 Bug fix in cmakelists.txt involving volk_gnsssdr autobuild for
front-end-cal (credits to Carles!)
2014-11-13 17:31:55 +01:00
Carles Fernandez
74cb7ff362 Changing building system: 'cmake && make && sudo make install' 2014-11-04 21:28:01 +01:00
Carles Fernandez
3257d8cba1 Improving handling of optional processing blocks and linking libraries.
New options ENABLE_GN3S, ENABLE_RTLSDR, ENABLE_OPENCL, ENABLE_ARRAY and
ENABLE_GPERFTOOLS, all set by default to OFF. Users can enable that
features by 'cmake -DENABLE_XXX=ON ../ '. OpenCL is now not used by
default since it was giving problems in some platforms. Old variables
(RTSDR_DRIVER, GN3S_DRIVER, RAW_ARRAY_DRIVER and DISABLE_OPENCL) are
still honored and can be used in the same way, but the new ENABLE_XXX
are recommended for the sake of more uniform naming. Main CMakeFile.txt
has been rearranged, putting options first, then searching for the
required libraries, and then the optional ones. If Gperftools is enabled
and found, binaries are linked to the tcmalloc and profiler libraries,
and using the adequate flags. Fixed building in Mac OSX if Armadillo and
OpenBLAS were not installed in the system.
2014-08-07 21:04:01 +02:00
Carles Fernandez
8531a758ea Includes header files at add_libraries(...), which makes IDEs such as
Xcode to display them
2014-06-28 03:55:57 +02:00
Leonardo Tonetto
20121dcc73 Re-organizing assistance data input and output
Now we are reading the assistance data from xml files if the correct
configuration option is set; defined the name for the xml files as
const inside control_thread.h; and finally moved the manipulation
of these files to the gnss_sdr_supl_client class, not anymore inside
the control_thread.

Signed-off-by: Javier Arribas <jarribas@cttc.es>
2014-05-06 12:19:26 +02:00
Carles Fernandez
5a79a708a1 Soem advances in the flowgraph 2014-04-23 01:03:53 +02:00
Carles Fernandez
4e714bf033 changing some raw pointers by smart pointers in the core receiver.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@502 64b25241-fba3-4117-9849-534c7e92360d
2014-04-03 21:59:14 +00:00
Carles Fernandez
cda42d060f Better logging and minor code cleaning
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@492 64b25241-fba3-4117-9849-534c7e92360d
2014-03-17 20:01:32 +00:00
Carles Fernandez
a20c1559cf Fixes compilation problem of front_end_cal
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@490 64b25241-fba3-4117-9849-534c7e92360d
2014-03-17 19:19:08 +00: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
669910f6af Improving the way cmake detects GNU Radio. Switching from FindGnuradioXXX() to ConfigGnuradio.cmake. Fixed a typo in README. Tested in Mac OS X 10.9 and Ubuntu 13.10 64 bits, should work on other versions as well.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@442 64b25241-fba3-4117-9849-534c7e92360d
2013-11-13 21:07:33 +00:00
Javier Arribas
21418835b3 Updated front-end cal main to include SBAS queues to avoid compiler errors.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@441 64b25241-fba3-4117-9849-534c7e92360d
2013-11-11 10:35:26 +00:00
Carles Fernandez
1feb014685 front-end-cal is only built and installed if RTLSDR_DRIVER is true
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@429 64b25241-fba3-4117-9849-534c7e92360d
2013-10-23 18:27:40 +00:00
Javier Arribas
545f50fa47 Bug correction in SUPL client (the assistance TOW scale was 0.08 s instead of 1 s)
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@409 64b25241-fba3-4117-9849-534c7e92360d
2013-08-23 08:56:24 +00:00
Carles Fernandez
05f09d1570 code cleaning
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@401 64b25241-fba3-4117-9849-534c7e92360d
2013-08-02 16:00:12 +00:00
Javier Arribas
b34a85c642 front-end-cal code cleaning, documentation and tunning tasks
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@400 64b25241-fba3-4117-9849-534c7e92360d
2013-08-01 14:01:07 +00:00
Javier Arribas
9bfd2bb32a Front-end calibration utility is now fully operative for the following front-ends:
- RTLS-SDR + Elonics E4000

Some bug correction in PCPS acquisition

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@398 64b25241-fba3-4117-9849-534c7e92360d
2013-07-30 10:53:45 +00:00
Carles Fernandez
1ad1f0569c fixed a problem in including GNU Radio 3.7 from cmake script
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@391 64b25241-fba3-4117-9849-534c7e92360d
2013-07-20 07:52:56 +00:00
Javier Arribas
b0a323095d Towards a Galileo INAV Navigation decoder: First version of the Galileo_E1_Telemetry_Decoder block. In this version only the preamble detection and page part synchro is functional.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@389 64b25241-fba3-4117-9849-534c7e92360d
2013-07-15 17:07:10 +00:00
Javier Arribas
641692e005 Incremental update for the front-end calibration utility
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@383 64b25241-fba3-4117-9849-534c7e92360d
2013-07-08 16:17:57 +00:00
Javier Arribas
6f8ef58802 Towards a front-end frequency and sample rate calibration tool. VERY experimental yet.
Bug fixes in acquisition assistance and in linker include files.


git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@371 64b25241-fba3-4117-9849-534c7e92360d
2013-07-05 17:00:48 +00:00