1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-07-02 01:43:20 +00:00
Commit Graph

1318 Commits

Author SHA1 Message Date
Carles Fernandez
c097300106
Add missing constant 2020-07-11 12:10:34 +02:00
Carles Fernandez
8b841215b7
Fix conflicts 2020-07-11 12:09:19 +02:00
Carles Fernandez
e13d0c2b76
Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into piyush0411-Acquisition 2020-07-11 11:37:54 +02:00
Carles Fernandez
33cee4a759
Remove all warnings raised by bugprone-* clang-tidy checks in acquisition adapters 2020-07-10 13:35:15 +02:00
Carles Fernandez
c04948fd02
Reduce number of warnings raised by bugprone-* clang-tidy checks 2020-07-10 00:37:55 +02:00
Carles Fernandez
09bcd1981c Replace std::endl by \n character. There is no need to always flush the stream. 2020-07-07 18:53:50 +02:00
Carles Fernandez
58853ace7d
Implement GNSS-SDR.GPS_banned_prns, GNSS-SDR.Galileo_banned_prns, GNSS-SDR.Glonass_banned_prns, and GNSS-SDR.Beidou_banned_prns configuration parameters. The user can specify lists of satellites that will not be processed (e.g. GNSS-SDR.Galileo_banned_prns=14,18 since Galileo E14 and E18 satellites are not usable for PVT). Documented at https://gnss-sdr.org/docs/sp-blocks/global-parameters/\#banned-satellites Inspired by #397 2020-07-07 00:05:31 +02:00
Carles Fernandez
aca0330325
Include what you use 2020-07-05 23:07:41 +02:00
Carles Fernandez
996ff3ea4d
Fix gcc warning: type qualifiers ignored on cast result type 2020-07-05 20:51:25 +02:00
Carles Fernandez
d3b7557dcf
Sort constants
no more GPS_L1_PI, GPS_L2_PI, etc. Values are written in a single point.
2020-07-05 20:20:02 +02:00
Carles Fernandez
1e742afbc4
Sort constants, avoid duplication of Galileo physical constants 2020-07-04 19:13:42 +02:00
Carles Fernandez
bb540c7b48
Replace const std::string by constexpr char 2020-07-03 11:36:38 +02:00
Carles Fernandez
14d1152eda
Make constants constexpr, so they can be used at compile time 2020-07-01 19:39:25 +02:00
Carles Fernandez
98bea8292c
Do not stop the receiver if SysV message queues can't be created 2020-06-30 10:41:59 +02:00
Carles Fernandez
eaf80314d7
Make use of std::make_unique 2020-06-30 10:29:39 +02:00
Carles Fernandez
2b3d4b321d
Make the adapters take the configuration pointer as const 2020-06-29 09:07:41 +02:00
Carles Fernandez
a01dfa4052
Fix clang-format and clang-tidy jobs 2020-06-27 11:52:59 +02:00
Carles Fernandez
c784dfe125
Fix a bug that could cause a crash on receiver stopping
If a channel event was happening after flowgraph stop and before flowgraph disconnection, it caused a crash. This was avoided by sleeping the control thread during 500 ms after disconnection and before the block destructors were called, so the event could be processed, but this was not a robust solution.
2020-06-27 09:52:59 +02:00
Carles Fernandez
9310bd8460
Sort private members in headers 2020-06-27 09:25:04 +02:00
Carles Fernandez
5a3db5a53d
Add debug internal logging for destructors. Sort destructor order 2020-06-25 02:50:07 +02:00
Carles Fernandez
df7c466de0
Sort data members in headers 2020-06-24 22:27:51 +02:00
Carles Fernandez
3fcc7b7f85
Remove unused data member 2020-06-24 11:45:01 +02:00
Carles Fernandez
ba022cc5f7
Improve consistency of CMake scripts 2020-06-24 11:42:45 +02:00
Carles Fernandez
b5c2367788
Merge branch 'Acquisition' of https://github.com/piyush0411/gnss-sdr into piyush0411-Acquisition 2020-06-23 11:47:24 +02:00
Carles Fernandez
bcd5bfa6ff
Indicate that the property method of configuration is a getter 2020-06-23 11:05:31 +02:00
piyush0411
8904eab576 Added unit-test 2020-06-23 14:24:51 +05:30
Carles Fernandez
037a1fcb5f
Improve headers, large data members first. Improve nav message interfaces 2020-06-23 09:47:58 +02:00
Carles Fernandez
92f013c6b9
Improve consistency of variable naming
block_factory_ is not a data member, replaced by block_factory
2020-06-21 23:07:31 +02:00
piyush0411
c05129574c Fixed an error 2020-06-21 01:55:44 +05:30
Carles Fernandez
afa16c6769
Remove sleeps 2020-06-20 22:18:38 +02:00
Carles Fernandez
0d5b5894b4
Sort header files 2020-06-19 12:39:28 +02:00
Carles Fernandez
eea1afea18
Merge branch 'next' into Acquisition 2020-06-18 19:48:53 +02:00
Carles Fernandez
81af1a531b
Redesign of pointer management
Avoid indirection caused by passing shared_ptr by reference

The block factory does not have responsability on the lifetime of their inputs

Define std::make_unique when using C++11 and make use of it

Printers are turned into unique_ptr to express ownership

Printers do not participate on the lifelime of the data, so they take const raw pointers

Modernize tests code
2020-06-18 11:49:28 +02:00
Carles Fernandez
3beb1e98af
Use lambdas if possible.
Fine tuning in CMake scripts
2020-06-15 19:23:59 +02:00
piyush0411
ff7affb666 Fixed some errors and typos 2020-06-15 18:26:07 +05:30
piyush0411
1935e46950 Updated GNSS Flowgraph 2020-06-14 21:18:36 +05:30
piyush0411
da3794dc67 Modified Galileo_E5b.h file 2020-06-14 21:15:53 +05:30
Carles Fernandez
bd4a354f9a
Fix ENABLE_CLANG_TIDY option 2020-06-14 13:00:36 +02:00
Carles Fernandez
ae50ebbaa5
Prefer use of CMAKE_SOURCE_DIR 2020-06-13 21:15:47 +02:00
Carles Fernandez
ee84f60fb4
Simplify CMake scripts 2020-06-13 10:56:49 +02:00
Carles Fernandez
0df4277d36
Unify criteria in target definitions, more informative names 2020-06-13 00:32:40 +02:00
Carles Fernandez
226689c359
Use target_compile_options instead of CMAKE_C_FLAGS 2020-06-12 22:47:35 +02:00
Carles Fernandez
c2c701d885
Fix warning in CMake < 3.13 2020-06-12 22:33:00 +02:00
piyush0411
2706c5bc5c Updated GNSS Block Factory 2020-06-12 17:37:36 +05:30
Carles Fernandez
034d25c8d3
Do not emit warnings due to Protocol Buffers generated code 2020-06-11 15:16:40 +02:00
Carles Fernandez
34a250246a
Simplify initializations in system_parameters library 2020-06-10 10:15:59 +02:00
Carles Fernandez
950006ddee
Fix warning in gcc 10: avoid undefined behavior in move assignment operator 2020-06-09 14:11:18 +02:00
Carles Fernandez
2a3d682f1f
Make use of target_sources(), make use of target propagation to reduce redundancy in dependencies, some fixes for Clang and CMake < 3.11. Use generic lambdas with auto 2020-06-08 20:04:01 +02:00
Carles Fernandez
4913756a05
Replace <boost/bind.hpp> by <boost/bind/bind.hpp> 2020-06-06 23:41:38 +02:00
Carles Fernandez
4635b307d8
Add Galileo_E5b.h to the headers list 2020-05-30 08:48:54 +02:00
Carles Fernandez
dd725918de
Merge branch 'Galileo_E5b' of https://github.com/piyush0411/gnss-sdr into piyush0411-Galileo_E5b 2020-05-28 21:54:34 +02:00
piyush0411
f79a840ef7 Changed Copyright Information. 2020-05-27 20:08:04 +05:30
piyush0411
7fc426e20a Added System Parameters File 2020-05-27 09:21:59 +05:30
Carles Fernandez
f731a7c0f1
Fix for Boost >= 1.73 in old compilers 2020-05-18 22:50:34 +02:00
Carles Fernandez
1077970962
Revert "Fix for Boost < 1.60"
This reverts commit 832c2558c6.
2020-05-18 21:36:22 +02:00
Carles Fernandez
832c2558c6
Fix for Boost < 1.60 2020-05-18 19:55:44 +02:00
Carles Fernandez
b408a2ef29
Fix for Boost 1.73: qualify placeholders with their full namespace 2020-05-18 18:58:39 +02:00
Carles Fernandez
35ee34673a
Fix signature of copy and move operators 2020-05-16 14:39:34 +02:00
Carles Fernandez
c27622a738
Fixes for old GCC 2020-04-26 12:28:24 +02:00
Carles Fernandez
6de4d28ab1
Ignore modernize-avoid-bind clang-tidy fix 2020-04-26 11:07:19 +02:00
Carles Fernandez
9c9a7b5bc6
Use lambda instead of boost::build when genenic lambdas are available in the compiler 2020-04-25 22:17:15 +02:00
Carles Fernandez
b9c84a451e
Improve internal handling of Gnss_Synchro objects
Added noexcept move constructor and move assignment operator.
Small refactor of includes
2020-04-25 16:08:33 +02:00
Carles Fernandez
ec3c868625
Fixes a bug in GLONASS GNAV CRC computation (Fixes: #349) 2020-04-10 13:44:45 +02:00
Carles Fernandez
865a54ddff
Apply clang-format 2020-04-03 00:17:22 +02:00
Carles Fernandez
3519107131
Add compatibility with the new GNU Radio 3.9 API that uses C++11 standard smart pointers instead of Boost smart pointers 2020-04-02 23:59:35 +02:00
Carles Fernandez
5f974a8f17
Replace boost::shared_ptr by std::shared_ptr 2020-04-02 13:23:20 +02:00
Carles Fernandez
299cb1a2ee
Remove usage of uninitialized variables in CMake scripts
Remove all warnings emitted by cmake --warn-uninitialized ..
2020-02-29 14:33:09 +01:00
Carles Fernandez
c470d43432
Fix shadowed variables
See MISRA C++:2008, 2-10-2 - Identifiers declared in an inner scope shall not hide an identifier declared in an outer scope
and https://rules.sonarsource.com/cpp/RSPEC-1117\?search\=shadow
2020-02-26 22:40:00 +01:00
Carles Fernandez
538c1e6182 Fix shadowed variables 2020-02-26 18:16:04 +01:00
Carles Fernandez
2ded19342f
Improve headers 2020-02-12 00:04:29 +01:00
Carles Fernandez
955348b080
Remove trailing underscore in header guards 2020-02-08 10:10:46 +01:00
Carles Fernandez
4d0d263280
Make the software package compliant with the REUSE Specification v3.0 (see https://reuse.software/spec/)
Update license headers to SPDX format (see https://spdx.org/)
Add license to all files
Add CI job in GitHub Actions to ensure compliance
2020-02-08 01:20:02 +01:00
Carles Fernandez
fe9c7224f6 Initialize parameter 2020-02-06 12:11:22 +01:00
Carles Fernandez
d6ec2a7b2c
Update links (mainly from http to https, fix broken links) 2020-02-05 21:24:46 +01:00
Carles Fernandez
6c5a5c7aee
Update broken links 2020-02-01 13:57:10 +01:00
Carles Fernandez
435f3641e0
clang-format fixes 2020-01-26 22:33:03 +01:00
Carles Fernandez
9023f19794
Use C++ comments for final #endif in headers 2020-01-26 22:23:22 +01:00
Carles Fernandez
664ad05bec
Update references and links to ICDs 2020-01-25 13:42:55 +01:00
Carles Fernandez
dc3bf0172a
Update references and links to ICDs 2020-01-25 13:07:03 +01:00
Carles Fernandez
97c8c66755
Fix file name in header 2020-01-21 10:26:03 +01:00
Carles Fernandez
492a1185ff
Fix file name on header 2020-01-20 21:04:26 +01:00
Carles Fernandez
bc9725c745
Simplify cmake scripts, fix volk_gnsssdr cross-compilation, update ProtocolBuffers to 3.11.2 2020-01-13 01:49:00 +01:00
Carles Fernandez
510a3a15ba Update BeiDou satellite names 2019-11-05 14:47:27 +01:00
Carles Fernandez
74f6c2e115 Fix reading of Delta_n parameter. Fixes #322 2019-10-23 13:20:14 +02:00
Carles Fernandez
9e79bb4b8f Fix bug in Beidou nav message. Fixes #320 2019-10-23 11:16:32 +02:00
Carles Fernandez
7126185515
Add and apply readability-braces-around-statements check 2019-10-11 19:24:20 +02:00
Carles Fernandez
054a20b5bf
Apply clang-format to the whole code tree 2019-10-11 11:57:33 +02:00
Carles Fernandez
64e7a7995b
Remove unused variables 2019-10-06 01:31:36 +02:00
Carles Fernandez
73e6d6aa1f
Fix warning 2019-10-05 21:29:23 +02:00
Carles Fernandez
cc2d723520
Apply clang-format to SUPL libraries 2019-10-05 10:29:46 +02:00
Carles Fernandez
af2d38bed9
Revert back Armadillo to 9.800.x 2019-10-05 03:32:53 +02:00
Carles Fernandez
c9e03557b7
Remove tabs 2019-10-05 03:16:31 +02:00
Carles Fernandez
c63c85ff36
Set assist_dual_frequency_acq to true by default only for multiple-band receivers
Fixes configurations which do not contain signals in L1
2019-10-04 09:17:29 +02:00
Carles Fernandez
ceaa785423 Set global parameter assist_dual_frequency_acq to true by default 2019-10-03 19:15:05 +02:00
Marc Majoral
d379a3ed6c When using the FPGA, the Ad9361FpgaSignalSource is instantiated after the acquisition and tracking classes. In this way, when using the receiver in post-processing mode, when the DMA starts sending signal samples to the receiver, the acquisition and tracking classes are already configured and ready. 2019-10-01 16:01:44 +02:00
Carles Fernandez
a6e062492e
Allow edition of files with editors compatible with clang-format 2019-09-18 22:01:50 +02:00
Carles Fernandez
0c2efce10a Replace custom_year parameter name and type by bool pre_2009_file to process files dated from 1999 to 2009 2019-09-18 18:25:07 +02:00
Carles Fernandez
837dcc6859 Improve formatting 2019-09-17 16:25:17 +02:00
Javier
ad51654fbf Adding global configuration option to specify a custom year in order to postprocess old GNSS captures and avoid wrong week rollover 2019-09-13 16:36:41 +02:00
Carles Fernandez
e80122f4ff
Apply clang tidy checks and clang-format 2019-09-13 08:56:37 +02:00