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
45b4478047
clang-tidy fixes
2019-02-11 17:15:48 +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
ce051e040f
Improve target design
2019-02-10 01:13:02 +01:00
Carles Fernandez
708b288e61
Clean CMake scripts
2019-02-04 22:44:45 +01:00
Carles Fernandez
02996bbc8a
Add some CMake fixes
2019-02-04 20:00:29 +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
Carles Fernandez
c176e51265
Improve data types for GPS navigation messages
2018-12-14 02:31:01 +01:00
Carles Fernandez
432c6b9c70
Miscelaneous clang-tidy fixes
2018-12-14 02:14:43 +01:00
Carles Fernandez
54237770a6
Apply fixes by clang-tidy
2018-12-10 22:59:10 +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
8925ca7066
Fix building in Mac OS
2018-12-08 19:08:53 +01:00
Carles Fernandez
17260bbcea
Miscelaneous code improvements by clang-tidy
2018-12-08 18:49:31 +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
2614509b29
Fix string comparisons, improve const correctness
2018-12-02 15:52:32 +01:00
Carles Fernandez
3bb47ff755
Improve const correctness, fix string comparisons
2018-12-02 05:29:11 +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
c69b877c44
Fix reading of Galileo almanac
2018-11-20 21:53:53 +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
e94b2f8990
Remove blanks
2018-11-18 21:24:54 +01:00
Carles Fernandez
573092d033
Download and build PugiXML if not found
2018-11-11 12:27:01 +01:00
Carles Fernandez
571c8c67fd
Improve CMake messages
2018-11-10 19:32:45 +01:00
Carles Fernandez
a7f39c9470
Avoid warning
2018-11-10 19:23:13 +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
d77448cd76
Improve data types for almanac parameters
2018-11-07 22:25:09 +01:00
Carles Fernandez
e5122198ae
Fix error reading eccentricity from the almanac
2018-10-31 16:17:11 +01: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
Carles Fernandez
337cafb31a
Remove unused function
2018-10-21 12:16:45 +02:00
Carles Fernandez
15c4d62096
Add Glonass assistance
2018-10-20 19:30:32 +02:00
Carles Fernandez
a10b1fe0f4
Store and read CNAV UTC parameters in Assisted mode
2018-10-19 14:48:41 +02:00
Carles Fernandez
6f6bb21c76
Sort out names when storing XML files
2018-10-19 13:48:21 +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
37a2a899f7
Fix reading ephemeris from multiple files
2018-10-17 20:39:06 +02:00
Carles Fernandez
2a69e63534
Enable Assited GNSS for Galileo signals
2018-10-17 18:22:04 +02:00
Carles Fernandez
79ae0a6c9d
Fix writing of XML files. Previously, the tag boost_serialization was not closed, which caused a failure when trying to read those XML files with Boost >= 1.66
2018-10-06 20:10:16 +02:00
Carles Fernandez
d9ac749575
Fix runtime error when using Boost >= 1.66
2018-10-06 13:52:48 +02:00
Carles Fernandez
78c0b76cb9
Avoid use of GLOB for source and header files
2018-10-04 22:35:44 +02:00
Carles Fernandez
6e3c640b9e
Fix warnings
2018-08-15 23:38:47 +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
07b25ebb06
Apply clang-format to the whole source tree
2018-03-04 02:04:27 +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
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
24f6003ba0
Remove iostream from header files
...
and in redundant places such as in unit tests
2018-02-25 22:49:06 +01:00
Carles Fernandez
e17f9268a8
Fix warning in GCC 8.0.1 (Fedora Rawhide)
...
The warning was:
warning: assignment discards 'const' qualifier from pointer target type
[-Wdiscarded-qualifiers]
2018-02-25 13:29:01 +01:00
Carles Fernandez
1b4c217d88
Fix redefinition warning
2018-01-20 12:29:21 +01:00
Carles Fernandez
0315746429
Fix warning
2018-01-20 04:17:50 +01:00
Carles Fernandez
005917ac56
Remove warning
2017-08-26 00:06:18 +02:00
Carles Fernandez
00cc726c12
Remove warning
2017-08-25 23:51:11 +02:00
Carles Fernandez
04d0debfca
Remove warning
2017-08-25 23:42:36 +02:00
Carles Fernandez
1a463e9c52
Remove warning
2017-08-25 23:38:44 +02:00
Carles Fernandez
d1429001fc
Update per_support files
2017-08-25 22:44:49 +02:00
Carles Fernandez
18c48b30f5
Update per_support files
2017-08-25 22:16:06 +02:00
Carles Fernandez
fe17181af3
Replace some C-style cast by static_cast<>()
2017-08-18 19:15:45 +02: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
Carles Fernandez
174bba55fc
Remove blank
2017-08-13 17:32:01 +02:00
Carles Fernandez
d6fec67489
Replace use of strlen and strncpy by C++ counterparts
2017-08-13 10:57:54 +02:00
Carles Fernandez
5f181ef915
Replace stdio.h by fstream
2017-08-13 10:00:01 +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
Carles Fernandez
ca0352b36b
Improve initialization
2017-02-10 09:57:16 +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
818e09536b
Exposing RTCM message rate to the configuration
2016-05-07 12:22:40 +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
bc0e4f188b
Cleaning includes
2016-01-10 14:30:04 +01:00
Carles Fernandez
45195917c1
fixing some gnuradio-related warnings reported by gcc, so others can be spotted easier
2015-12-02 18:25:06 +01:00
Carles Fernandez
b0a53dc45d
openssl fallback
2015-10-27 20:20:03 +01: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
Carles Fernandez
119ad767b9
Detecting absence of the openssl implementation provided by GnuTLS
2015-09-16 17:55:55 +02:00
Carles Fernandez
653835a6a8
Improving detection of libgnutls-openssl library
2015-09-15 11:12:33 +02:00
Carles Fernandez
18545077d8
Replacing the usage of OpenSSL by GnuTLS due to a GPL incompatibility
...
from the former.
2015-09-15 01:41:18 +02:00
Carles Fernandez
a969250640
Adding a missing include
2015-09-07 23:51:55 -07:00
Carles Fernandez
59dec858c3
initializing members
2015-05-22 18:49:46 +02:00
Carles Fernandez
6620e7d43c
Updating copyright year
2015-01-08 19:49:59 +01:00
Carles Fernandez
efd4353d52
Remove ";" in the list of flags to the C compiler, since it prevents
...
compilation using Macports
2014-11-02 21:31:08 +01:00
Carles Fernandez
14ddc478a0
RINEX printer now takes objects by reference instead of by value. Adding
...
some const.
2014-09-14 19:08:32 +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
Carles Fernandez
71109eec9e
Changing some logs from ERROR to WARNING
2014-05-14 01:37:47 +02:00
Leonardo Tonetto
0fbea1a25c
Cleaning for safety
...
To avoid memory leaks, make sure the supl_ctx_t data structure is
initialized and cleaned as well as the connection is closed with
the server.
Signed-off-by: Carles Fernandez <carles.fernandez@gmail.com>
2014-05-14 01:32:38 +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
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
05accfb1d7
Tidying up includes: : C library, C++ library, other libraries' .h, project's .h.
...
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@476 64b25241-fba3-4117-9849-534c7e92360d
2014-01-12 20:07:38 +00:00
Carles Fernandez
b4ed22ee76
Upgrading Armadillo version. Removed some warnings when building in Release with clang.
...
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@469 64b25241-fba3-4117-9849-534c7e92360d
2013-12-21 11:11:05 +00:00
Carles Fernandez
2972272b3e
Fixes compilation issues on Mac OS X. Now it builds successfully against gnuradio installed by Macports and using gcc 4.8. Upgrade version of Gtest. Some fixes and updates in documentation and code cleaning.
...
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@423 64b25241-fba3-4117-9849-534c7e92360d
2013-10-18 18:26:06 +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
Carles Fernandez
ccd352259e
added missing include in cmake script
...
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@372 64b25241-fba3-4117-9849-534c7e92360d
2013-07-06 00:01:06 +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
Javier Arribas
cfeae47a29
Acquisition assistance is now working!
...
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@353 64b25241-fba3-4117-9849-534c7e92360d
2013-04-02 14:02:55 +00:00
Javier Arribas
e592672282
GPS L1 multi-dwell Assisted acquisition algorithm under construction.
...
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@352 64b25241-fba3-4117-9849-534c7e92360d
2013-03-20 18:19:26 +00:00
Javier Arribas
0bf9e44eb4
SUPL assistance support in progress:
...
- New SUPL parameters available in GNSS-SDR.conf
- Ephemeris assistance for real-time operation is now functional
- SUPL client now stores the received ephemeris in XML file. This file can be loaded on request to enable post-processing SUPL assistance and to enable SUPL assistance without internet connection. -> thowards a complete warm start GNSS-SDR.
BUG FIXES:
- GN3S driver firmware file copy operation in CmakeLists.txt had an error that mismatches the gn3s_firmware.ihx file location and prevents the correct firmware loading for GN3S SiGe USB dongles.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@351 64b25241-fba3-4117-9849-534c7e92360d
2013-03-18 18:27:44 +00:00