1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-18 11:09:56 +00:00
Commit Graph

183 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
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
82b7a244eb
Small fixes 2019-02-18 21:44:19 +01:00
Carles Fernandez
b5c59ee6f7
Fix defects detected by Coverity Scan 2019-02-14 22:49:36 +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
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
c46cdcb188
Better string comparison 2019-02-10 14:07:27 +01:00
Carles Fernandez
dfab84b2de
Add fixes applied by clang-tidy 2019-02-05 01:31:09 +01:00
Carles Fernandez
f509ebe49c
Update minimum Boost version to 1.54 2019-02-05 00:01:04 +01: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
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
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
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
3bb47ff755
Improve const correctness, fix string comparisons 2018-12-02 05:29:11 +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
6ae19e35c9 Fix warning (unused variable) 2018-11-21 10:59:19 +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
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
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
Carles Fernandez
3b0fbc60bd Fix reading of LAC and CI parameters for SUPL assistance 2018-10-22 14:56: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
1bad4d3be6
Catch exception by reference 2018-05-15 18:31:34 +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
8b390d0924
Replace boost::lexical_cast with std::to_string
Fixes in optional buildings
2018-05-01 23:32:52 +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
6f9fafcef0
Disconnect flowgraph when finished 2018-04-23 07:41:13 +02:00
mmajoral
376de5807f Added FPGA-related changes 2018-03-20 18:06:20 +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
2ca458cea1 Add more flag validators 2018-02-26 21:37:53 +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
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
2d8141d9b5 Migrate msg_queue boost smart pointers to gr sptr 2017-12-21 15:47:26 +01:00
Carles Fernandez
6f5f8e8948 Catch exception 2017-10-19 20:52:32 +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
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
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
1cbaf99ebd Initialize all class members in the constructor 2016-05-08 08:21:25 +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
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
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
Javier Arribas
588864e19e Replacing GPS telemetry shared queues and maps with GNURadio
asynchronous messages (TLM -> PVT)
2016-04-12 15:28:58 +02:00
Carles Fernandez
c5407a5106 Improved handling of threads
Some threads were not terminating properly, triggering a failure of
control_thread_test in some configurations.
2015-12-30 14:43:32 +01:00
Carles Fernandez
857e68ceca avoid reading garbage 2015-05-24 20:41:30 +02:00
Carles Fernandez
cf9945899f fixing coverity issues: unitialized members 2015-05-13 23:26:44 +02:00
Carles Fernandez
078260d83f Code cleaning 2015-03-16 21:43:19 +01:00
Carles Fernandez
f9bce4f3d5 small fix 2015-01-12 21:03:50 +01: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
890ecd7fbf fixing includes 2015-01-08 18:20:45 +01:00
Carles Fernandez
9b95919ddb Improving thread management 2014-12-21 22:46:57 +01:00
Carles Fernandez
d7c8ecc230 etc/ folder changed to share/ since it is a Filesystem Hierarchy
Standard (FHS) requirement for architecture-independent
application-specific static files
2014-11-12 23:05:53 +01:00
Carles Fernandez
79f88bd142 Changes in the building system 2014-11-05 23:26:31 +01:00
Javier Arribas
ba1a32f742 Clean some version control comments! 2014-09-04 10:54:33 +02:00
Javier Arribas
b2cd611b6e Merge remote-tracking branch 'origin/next' into gps_galileo_hybrid
Conflicts:
	src/algorithms/PVT/gnuradio_blocks/galileo_e1_pvt_cc.cc
	src/core/receiver/control_thread.cc
2014-09-04 10:50:12 +02:00
Carles Fernandez
f811640705 Adding galileo_almanac missing thread 2014-09-02 20:21:05 +02:00
Carles Fernandez
5c867e084e Added Galileo almanac management (credits to Javier Arribas) 2014-09-02 19:04:03 +02:00
Javier Arribas
e3c2de18a6 Added Galileo Almanac management 2014-09-02 18:17:09 +02:00
Leonardo Tonetto
51706f715f Write assistance data straight to the maps
Instead of writing the data downloaded from the assistance servers
in the corresponding global queues, write straight to the maps and
have it available immediately.

Signed-off-by: Carles Fernandez <carles.fernandez@gmail.com>
2014-05-14 01:36:04 +02:00