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

332 Commits

Author SHA1 Message Date
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
Antonio Ramos
756fd1904e Modify observables algorithm 2018-02-16 18:10:48 +01:00
Antonio Ramos
ab6e62af72 Return WORK_DONE when throwing an exception 2018-02-14 16:24:29 +01:00
Antonio Ramos
28cc4a1a05 Add try-catch block to hybrid observables 2018-02-14 11:56:22 +01:00
Antonio Ramos
8885333aa7 Modify sample counter 2018-02-13 19:22:23 +01:00
Javier Arribas
a5d65f3424 Bug fix: adding exception control to std::map access in observables block 2018-01-23 17:33:06 +01:00
Carles Fernandez
bc92240443 Replace C-style cast by C++ casts 2018-01-17 19:11:42 +01:00
Carles Fernandez
59c153846c Remove blank line 2018-01-17 19:06:39 +01:00
Carles Fernandez
7e97d00a4f Apply project's coding style 2018-01-17 19:02:52 +01:00
Javier Arribas
184bd0d1de A smarter way of handling the multirrate input of observables block 2018-01-10 18:13:46 +01:00
Javier Arribas
81179a9f38 Removing gnuradio output buffer request on observables and disabling the gnss_synchro output for all trackings that are not tracking any satellite. This is a bug fix to avoid gnuradio flowgraph deadlocks when different GNSS integration times are used in satellite channels 2018-01-10 16:26:05 +01:00
Antonio Ramos
d7acf4ecf5 Merge remote-tracking branch 'gnss-sdr/next' into fix_pvt_E5a 2017-11-29 12:13:40 +01:00
Antonio Ramos
140b388066 Modify RTKLIB PVT band selection and Tel. Dec. E5a 2017-11-29 12:00:05 +01:00
Carles Fernandez
59d1067d59 Fix parallel building when MATIO is not present.
Fix building with Ninja

Matio is no longer optional but mandatory
2017-11-26 10:49:42 +01:00
Carles Fernandez
d8c924a2ca Fix warning 2017-11-20 08:22:04 +01:00
Carles Fernandez
f719b4a22a Add .mat storing capability to Observables block 2017-11-19 20:45:52 +01:00
Carles Fernandez
3ad5a99d0a Use const iterators instead of iterators 2017-10-31 07:24:23 +01:00
Carles Fernandez
acfd4cc0c9 Replace C-style casts by C++ casts
Apply code styling
Fix a GCC warning (unused variable)
2017-10-14 12:30:03 +02:00
Carles Fernandez
122ec19626 Make use of the inline keyword where appropriate 2017-08-21 11:45:12 +02:00
Carles Fernandez
07113fd89d Use the override special identifier when overriding a virtual function 2017-08-16 00:58:10 +02:00
Javier Arribas
d4c9d378c9 Adjusting observable block default buffer history 2017-08-03 17:52:42 +02:00
Javier Arribas
1bcbe87676 Fix code style 2017-08-02 14:43:38 +02:00
Javier Arribas
2f1eff026d Fix code style 2017-08-02 14:32:16 +02:00
Javier Arribas
1574e277d7 Temporary bug fix related to the GPS L1 C/A symbol TOW assignation. Position accuracy improvement confirmed. In-deep review is being done 2017-08-01 17:03:31 +02:00
Carles Fernandez
94a4a0fdcf Improve destructors 2017-07-29 00:25:43 +02:00
Javier Arribas
ceef915de7 Improving observables binary dump 2017-07-28 18:24:36 +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
Javier Arribas
641b2cd53b Temporary bug fix in observables (fixes some glitches in GPS L1 CA position) 2017-05-16 18:56:05 +02:00
Javier Arribas
7a2a15b37d Adding the path of Galileo E5 observations to RTKLIB solver. Some bug fixes. Work with Galileo in progress 2017-05-12 17:58:04 +02:00
Carles Fernandez
e82799d687 Code indentation 2017-05-11 06:15:06 +02:00
Javier Arribas
9eee209f40 Removing unused code 2017-05-02 15:31:31 +02:00
Carles Fernandez
f4cc6addc6 Re-enable observables system test 2017-04-29 18:23:32 +02:00
Javier Arribas
44f748cb41 Fix the bug fix 2017-04-28 15:38:31 +02:00
Javier Arribas
e26ddf07bc Bug fixes for duplicated observable time 2017-04-27 15:28:30 +02:00
Javier Arribas
ddcf1b1dee New observables generation algorithm that accepts multirate inputs from different GNSS systems 2017-04-27 12:20:24 +02:00
Javier Arribas
807ca24fc2 Refactoring code. Adding new experimental tests and new common TX time observables algorithm 2017-04-12 17:04:51 +02:00
Javier Arribas
e0b0605545 Removing unused code, improving ref satellite selection in observables and partial correction of the gps L2 TOW offset bug 2017-03-30 19:25:46 +02:00
Javier Arribas
73d07b4f1a Code cleaning. Removing unused variables 2017-03-24 16:43:35 +01:00
Javier Arribas
d42696bfd3 Consolidation of all the observables and PVT algorithms in hybrid observables and hybrid PVT supporting multi-signals and multi-system operations 2017-03-24 15:25:17 +01:00
Javier Arribas
b96d1707a9 GPS L2CM telemetry decoder rewrite, borrowed from the Swift navigator open source libraries 2017-03-23 15:45:41 +01:00
Javier Arribas
d6e5c2c329 Improving robustness of the GPS L1 telemetry decoder. This change prevents the random position fix losses due to an incorrect TOW update. Some log mesages cleaning 2017-02-15 10:56:41 +01:00
Carles Fernandez
004d724175 Fix glog usage 2017-02-13 21:57:58 +01:00
Javier Arribas
fc7ff7ba0b Upgrading Galileo PVT and Hybrid PVT chains with the latest bug fixes for GPS 2017-02-03 13:00:50 +01:00
Carles Fernandez
4438ffe916 Code cleaning 2017-01-28 15:31:04 +01:00
Javier Arribas
d2c7bb62a1 Adding Bancroft's algorithm implementation for PVT initialization 2017-01-27 19:21:51 +01:00
Javier Arribas
3da0807044 PVT receiver time feedback to observables to account for the receiver clock offset. Prototype of observables unit test enabled 2017-01-25 17:15:32 +01:00
Carles Fernandez
2e1e7aaec7 Fix doc 2016-11-04 09:26:19 +01:00
Carles Fernandez
e918da7785 Change name of L2C observables block 2016-11-03 19:03:17 +01:00
Carles Fernandez
866bb1537f Add Galileo E5a observables block 2016-11-03 12:18:56 +01:00
Carles Fernandez
779ab48feb Add observables block for GPS L2C 2016-11-03 12:02:25 +01:00
Carles Fernandez
ea8e605fb5 Add work on the hybrid receiver 2016-11-03 00:07:05 +01:00
Carles Fernandez
fe6b2387f4 Add moving average parameter in observables 2016-11-02 17:35:40 +01:00
Carles Fernandez
ce16f25296 Remove unused parameters 2016-08-05 18:47:34 +02:00