Commit Graph

40 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 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 4b2b205e21
Avoid throwing exceptions from destructors
Detected by clang-tidy check bugprone-exception-escape
2019-02-10 21:55:51 +01:00
Carles Fernandez 95c6bb4dd1
Remove redundant c_str() 2018-12-14 13:38:29 +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 d4e12648b0
Fix warning (missing initializer for struct members) 2018-12-03 02:10:14 +01:00
Carles Fernandez f7df714a7f
Fix string comparisons, improve const correctness 2018-12-02 15:42:38 +01:00
Carles Fernandez e9ec521f24 Fix GPGGA, GPGSA, GAGSA and GPRMC messages (NMEA) 2018-11-07 16:53:40 +01:00
Carles Fernandez 2bdbaaf9a5 Fix generation of GPGSV and GAGSV messages (NMEA) 2018-11-07 16:03:45 +01:00
Carles Fernandez 99989d472c Fix NMEA GPGSV message for GPS L1 2018-11-05 15:39:56 +01:00
Carles Fernandez 19dca87427
Warn if output files cannot be written. 2018-10-28 02:02:28 +02:00
Carles Fernandez b183fe63ba
Improve PVT block configuration. Allow to store data products in different folders 2018-10-28 00:42:28 +02:00
Carles Fernandez 201c5ccd79
Add more extensive use of cstdint typenames 2018-08-11 13:56:24 +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 632bceb653
Fix DOP computation, print it in GPX and NMEA 2018-05-07 09:13:45 +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 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
Damian Miralles fbd6b211eb Adding code for pvt computation 2017-08-31 09:55:35 -06:00
Carles Fernandez 5530352e8a Fix bug in NMEA messages. Fixes #45
Add a new test for the NMEA printer
2017-08-31 09:55:35 -06:00
Carles Fernandez c1bbdd74d4 Declare all Pvt_Solution data members private 2017-08-16 12:45:00 +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 513e92da23 fixing interface 2015-11-25 14:03:59 +01:00
Carles Fernandez b9f51a5e6b fixing warning 2015-11-24 18:34:32 +01:00
Carles Fernandez 337dc3b2da fixing error handling when writing to a serial bus 2015-11-24 17:57:05 +01:00
Carles Fernandez f68a1fe9bc Refactoring PVT solution library and adding a GeoJSON format printer 2015-11-14 20:41:28 +01:00
Carles Fernandez d52c3e36e3 Refactoring least squares computation 2015-11-14 14:17:02 +01:00
Carles Fernandez f29b5afe64 checking error 2015-05-23 11:24:18 +02:00
Carles Fernandez 6620e7d43c Updating copyright year 2015-01-08 19:49:59 +01:00
Carles Fernandez 9c7795dd9a Changing C-styled cast by C++ style 2014-09-12 20:23:39 +02:00
Carles Fernandez 798b54e87c Changing some C-styled cast to C++ 2014-09-12 18:27:19 +02:00
Carles Fernandez 14970bf2c3 Changing raw pointers by smart pointers 2014-08-31 11:42:00 +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 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 9b62455366 Code cleaning
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@263 64b25241-fba3-4117-9849-534c7e92360d
2012-10-28 11:38:50 +00:00
Javier Arribas cee0dd320d Added TTY serial device NMEA output (Linux only)
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@236 64b25241-fba3-4117-9849-534c7e92360d
2012-08-29 15:32:00 +00:00
Javier Arribas 598512529f Added NMEA 2.1 protocol for PVT dump.
This is an experimental release that only supports FILE dump operations.



git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@235 64b25241-fba3-4117-9849-534c7e92360d
2012-08-28 17:14:18 +00:00