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

284 Commits

Author SHA1 Message Date
Javier Arribas
bf40ed2be1 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into newsatdispatcher 2019-07-14 18:51:41 +02:00
Carles Fernandez
d7460022ed
Avoid C arrays
See https://clang.llvm.org/extra/clang-tidy/checks/modernize-avoid-c-arrays.html
2019-07-14 14:09:12 +02:00
Carles Fernandez
fa549b09a2
Do not produce empty files 2019-07-13 23:05:57 +02:00
Javier Arribas
71d93dc4b9 New asynchronous channel and PVT status reporting from observables and PVT to flowgraph. Partial implementation of assistance from L1 to L2 and L5 2019-07-11 18:39:28 +02:00
Carles Fernandez
9ba6f4d670
Make header file more readable. Remove unused private method interpolate_data() 2019-07-04 00:00:29 +02:00
Carles Fernandez
ce1e160f10
Remove deletes when using Matio 2019-06-30 14:32:40 +02:00
Carles Fernandez
f821caea4a
Code cleaning 2019-06-29 22:47:21 +02:00
Carles Fernandez
8d424a13b6
Replace boost::filesystem by std::experimental::filesystem when the later is available 2019-06-12 20:39:29 +02:00
Carles Fernandez
ca6b4b545b
Replace Boost::filesystem by std::filesystem if C++17 support is available 2019-06-10 21:41:13 +02:00
Javier Arribas
7ed88c26b6 Fix the TOW weel crossover situation in observables and PVT 2019-05-08 14:55:14 +02:00
Javier Arribas
485027b7af Implementing RX clock correction feedback in PVT and Observables 2019-04-23 17:31:26 +02:00
Javier Arribas
5673533e5a Common reception time now is not reasigned when the reference satellite has changed, thus, avoiding discontinuities 2019-04-09 17:56:03 +02:00
Javier Arribas
16ead9c613 Removing innecessary usleep 2019-03-19 18:18:44 +01:00
Carles Fernandez
c82c7225dd Improve includes with the aid of include-what-you-use (IWYU)
See rationale at https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/WhyIWYU.md
2019-03-05 08:59:04 +01:00
Carles Fernandez
e7ea5c1fdd
Remove superfluous 'using google::LogMessage' 2019-03-03 13:39:35 +01:00
Carles Fernandez
a9cc2d0eab
Replace GNU Radio blocks name termination _cc by _gs to emphasize that their data items are Gnss_Synchro objects 2019-03-02 02:21:03 +01:00
Javier Arribas
dd91ffe139 Bug fix that solves a random deadlock of the observables block rx time selector 2019-02-26 18:04:59 +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
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
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
b9c115bdf8 clang-tidy: apply modernize-use-using check 2019-02-11 13:13:06 +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
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
8ae72fe458
Update to modern CMake usage 2019-02-03 19:24:44 +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
2709dc5ec7 clang-tidy: apply performance-faster-string-find (see https://clang.llvm.org/extra/clang-tidy/checks/performance-faster-string-find.html) 2018-12-03 18:17:21 +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
0a46cb1fe1
Use nullptr 2018-12-03 10:05:47 +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
daa08cc4c6 Add missing path 2018-10-30 03:02:55 +01:00
Carles Fernandez
f2468e9e17 Improve saving of observables dump: let the user to specify a full path and to deactivate generation of .mat files with dump_mat=false 2018-10-30 02:18:32 +01:00
Carles Fernandez
afb7d71c09
Move comment to log 2018-10-13 11:05:54 +02:00
Carles Fernandez
78c0b76cb9
Avoid use of GLOB for source and header files 2018-10-04 22:35:44 +02:00
Carles Fernandez
4a2ba1cff0
Improve handling of data types 2018-08-13 00:54:23 +02:00
Carles Fernandez
273ce31029
Add more extensive use of cstdint typenames 2018-08-11 23:03:41 +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
Carles Fernandez
33215c89ac
Fix building 2018-08-08 09:52:06 +02:00
Carles Fernandez
4854cafe5d
Fix building and warnings 2018-08-08 09:34:15 +02:00
Javier Arribas
91203d2393 Observable generation performance improvement and RX time synchronization to multiple of 20 ms 2018-08-07 20:06:47 +02:00
Carles Fernandez
5fc1e018fd
Clean source code, update to new gnss_synchro parameter name 2018-06-05 22:53:34 +02:00
Javier Arribas
9a5b426059 final release of observables and PVT receiver time fix for 1 ms integer granularity 2018-06-05 18:20:55 +02:00
Javier Arribas
908aa1515f Observables and all PVT products now are referenced to the uncorrected RX clock, that is guaranteed to be integer multiple of 1 ms 2018-06-02 12:55:00 +02:00
Javier Arribas
6d4a89148a Fix observables clock drift bug (Candidate one) 2018-05-18 21:07:12 +02:00
Javier Arribas
2b7663e70c Fix in rx time correction and adding the missing code phase to the observables. More test required 2018-05-17 18:10:48 +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
Javier Arribas
bc0bfce0d1 Merge from next and bug fix in virtual time counter 2018-04-13 16:29:58 +02:00
Antonio Ramos
26467a0f29 Increase fixed latency in order to avoid loss of observables 2018-04-13 12:30:06 +02:00
Antonio Ramos
525d887731 Fix bug 2018-04-12 18:51:43 +02:00
Antonio Ramos
51d19fd298 Change hybrid observables forecast 2018-04-12 18:36:52 +02:00
Antonio Ramos
6de28277ed Fine tune buffer parameters 2018-04-12 10:57:12 +02:00
Antonio Ramos
6c55c3a93f Improve performance 2018-04-11 17:41:27 +02:00
Antonio Ramos
b606e1d71f Solve more conflicts 2018-04-11 13:35:01 +02:00
Antonio Ramos
2bc59ec15e Merge branch 'next' into speed_up_observables 2018-04-11 13:32:51 +02:00
Antonio Ramos
2eea1a66aa Solve conflicts 2018-04-11 12:56:15 +02:00
Antonio Ramos
385055e884 Increase buffer size 2018-04-11 12:49:22 +02:00
Antonio Ramos
01d41e2f07 Use boost circular buffers 2018-04-10 18:33:45 +02:00
Antonio Ramos
f350174fd8 Fix bugs 2018-04-10 15:37:07 +02:00
Antonio Ramos
2a62d868ab Clean code 2018-04-09 18:18:06 +02:00
Antonio Ramos
15e867ec27 Fix segmentation fault 2018-04-09 18:02:07 +02:00
Javier Arribas
f022d49709
Revert "Modify observables history" 2018-04-09 16:45:05 +02:00
Antonio Ramos
d42d6b2ed4 Change std::vector<std::deque<Gnss_Synchro>> by gnss_circular_deque 2018-04-09 16:39:53 +02:00
Carles Fernandez
bc6a568414 Reorder headers 2018-04-03 23:45:06 +02:00
Antonio Ramos
ecb4a4970a Disable eph update when L1 + L2 2018-03-09 13:05:25 +01:00
Antonio Ramos
ab7cabc8e8 code style 2018-03-08 18:32:55 +01:00
Antonio Ramos
be5139e5f7 Merge branch 'next' into debug 2018-03-06 16:19:52 +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
Antonio Ramos
e58f96a196 Minor change 2018-03-01 17:23:48 +01:00
Antonio Ramos
4ccd2c299b Check data validity 2018-03-01 15:54:51 +01:00
Antonio Ramos
eed6ed1f5e Remove set_max_noutput_items 2018-03-01 14:25:44 +01:00
Antonio Ramos
e964bf060f Clean code 2018-02-26 10:40:08 +01:00
Antonio Ramos
4d6aaf43af Merge branch 'next' into fix_observables 2018-02-26 10:12:47 +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
Antonio Ramos
5cba843eaa Add colors to display 2018-02-23 16:17:51 +01:00
Antonio Ramos
c849738da0 debug7 2018-02-23 12:00:20 +01:00
Antonio Ramos
c0f1d95b32 debug6 2018-02-23 10:50:22 +01:00
Antonio Ramos
592d50af79 debug 2 2018-02-22 12:42:09 +01:00
Antonio Ramos
58dd5428a8 debug 2018-02-22 11:39:38 +01:00
Antonio Ramos
9533662a0e Minor change 2018-02-22 11:18:37 +01:00
Antonio Ramos
ca9a551a86 Avoid extrapolation 2018-02-22 11:14:57 +01:00
Antonio Ramos
df5f51ba91 Dump incoming Gnss Synchros in observables 2018-02-21 16:10:03 +01:00
Antonio Ramos
a2eaf403ff Avoid acces to a out of range value 2018-02-21 13:12:45 +01:00
Antonio Ramos
98cde65832 Improved find_closest algorithm in observables 2018-02-21 12:56:44 +01:00
Antonio Ramos
5da7a83eeb Correct interpolation indexes 2018-02-21 11:28:35 +01:00
Antonio Ramos
281687615a Set observables history to 100 ms 2018-02-21 10:59:53 +01:00
Antonio Ramos
c793b47181 Interpolate TOW_at_current_symbol in observables block 2018-02-21 10:41:33 +01:00
Antonio Ramos
cc178495c9 Modify authors 2018-02-20 11:28:34 +01:00
Antonio Ramos
832f828d52 Clean code 2018-02-20 11:17:41 +01:00
Antonio Ramos
3508218307 Check PRN coherency in observables 2018-02-20 10:58:56 +01:00
Antonio Ramos
82084dd867 Minor changes 2018-02-19 17:20:34 +01:00
Antonio Ramos
c3657f3251 Modify hybrid observables 2018-02-19 10:29:12 +01:00