1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-15 14:25:00 +00:00
Commit Graph

5073 Commits

Author SHA1 Message Date
Carles Fernandez
303e95dd32
Fix the -DENABLE_LOG=OFF building option 2020-07-05 11:53:20 +02:00
Carles Fernandez
a82664d345
Avoid unnecessary pointer copy 2020-07-04 19:16:31 +02:00
Carles Fernandez
1e742afbc4
Sort constants, avoid duplication of Galileo physical constants 2020-07-04 19:13:42 +02:00
Carles Fernandez
8340eab627
Return the right input item size 2020-07-04 01:06:32 +02:00
Carles Fernandez
7d34866717
Add Rodrigo Muñoz to the list of Contributors 2020-07-03 23:55:01 +02:00
Carles Fernandez
fcf1b97c30
Fix call to overloded property in GCC 2020-07-03 21:52:40 +02:00
Carles Fernandez
cec63d3aad
Fix call to overloded property 2020-07-03 21:37:57 +02:00
Carles Fernandez
fb8e5e5c47
Fix a bug in signal sources that made the number of samples parameter ignored when too large (Fixes: #396) 2020-07-03 20:18:42 +02:00
Carles Fernandez
bb540c7b48
Replace const std::string by constexpr char 2020-07-03 11:36:38 +02:00
Carles Fernandez
c412d0a3f5
Fix clang warning: equality comparison with extraneous parentheses 2020-07-02 10:53:51 +02:00
Carles Fernandez
829d48fff2
Merge branch 'init_nread_elements' of https://github.com/mmajoral/gnss-sdr into mmajoral-init_nread_elements 2020-07-02 10:46:54 +02:00
Marc Majoral
6ae4ddb3b8 init nread_elements to prevent compiler warning. 2020-07-02 10:33:36 +02:00
Carles Fernandez
c46cd87d37
Experiment with transform_reduce 2020-07-01 23:05:33 +02:00
Carles Fernandez
7634934995
Fix ccplint job 2020-07-01 20:04:40 +02:00
Carles Fernandez
d8f7214ad2
Merge branch 'fix_fpga_post_proc_mode_progr_termination' of https://github.com/mmajoral/gnss-sdr into mmajoral-fix_fpga_post_proc_mode_progr_termination 2020-07-01 20:02:48 +02:00
Carles Fernandez
11520ae3c0
Make save_matfile const
Some private member reordering
2020-07-01 19:52:52 +02:00
Carles Fernandez
14d1152eda
Make constants constexpr, so they can be used at compile time 2020-07-01 19:39:25 +02:00
Marc Majoral
6068006df2 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fix_fpga_post_proc_mode_progr_termination 2020-07-01 17:44:42 +02:00
Marc Majoral
975f22f53d fixed program termination when using the FPGA in post-processing mode: the DMA process was not properly checking enable_DMA. 2020-07-01 17:42:40 +02:00
Carles Fernandez
c4652c4593
Do not capture by reference in inner_product lambda 2020-06-30 15:29:30 +02:00
Carles Fernandez
e652b2335d
Add missing line 2020-06-30 13:52:20 +02:00
Carles Fernandez
b2fd68fe67
Improve std::plus void detection 2020-06-30 13:41:20 +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
5944cc6ee4
Always initialize private member item_size_ 2020-06-30 10:00:41 +02:00
Carles Fernandez
830681f5dd
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2020-06-29 16:01:55 +02:00
Marc Majoral
5b2f7a0617 increased the number of bits of the PRN code resampler 2020-06-29 15:59:48 +02:00
Carles Fernandez
f8656ca9d8 Fix for compilers using C++11: the std::plus template without class T specified is only available since C++14 2020-06-29 12:32:35 +02:00
Carles Fernandez
3bc8595dfe
Add inner_product to detector benchmark 2020-06-29 10:13:07 +02:00
Carles Fernandez
2b3d4b321d
Make the adapters take the configuration pointer as const 2020-06-29 09:07:41 +02:00
piyush0411
40556f7ac1 Modified unit-test 2020-06-28 23:14:16 +05:30
Carles Fernandez
0c4bdfac48
Use INT8_MIN/MAX instead of SCHAR_MIN/MAX for consistency and portability 2020-06-28 13:25:23 +02:00
Carles Fernandez
23e13a7002
Fix CMake warnings 2020-06-27 19:48:33 +02:00
Carles Fernandez
a01dfa4052
Fix clang-format and clang-tidy jobs 2020-06-27 11:52:59 +02:00
Carles Fernandez
54a4c213ec
Update changelog 2020-06-27 11:39:14 +02:00
Carles Fernandez
1569f238ac
Fix clang-format jbb 2020-06-27 10:56:51 +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
03d350551f
Sort private members in headers 2020-06-26 22:07:41 +02:00
Carles Fernandez
06ce79490b
Sort private members in headers 2020-06-26 18:37:31 +02:00
Carles Fernandez
660dd594dc
Return the right item_size 2020-06-25 14:54:01 +02:00
Carles Fernandez
63b7c00b16
Sort private members in headers 2020-06-25 11:58:01 +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
c222552bff
Make it easier to add new benchmarks 2020-06-24 14:05:05 +02:00
Carles Fernandez
300279bc30
Better naming for benchmarks 2020-06-24 13:59:50 +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
d2a90370d5
Sort private members 2020-06-24 11:34:14 +02:00
Carles Fernandez
75aaf409cd
Remove unused variable 2020-06-24 11:28:35 +02:00
Carles Fernandez
70b823609a
Sort private members 2020-06-24 11:27:31 +02:00
Carles Fernandez
a9811ee2f4
Do not use pointer to string as data member 2020-06-24 02:43:37 +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
a9472e8804
CMake formatting 2020-06-23 11:06:26 +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
Carles Fernandez
753e67bcac
Fix parallel builds 2020-06-21 21:59:05 +02:00
Carles Fernandez
13322e4373
Merge branch 'no-sleep' into next 2020-06-21 21:30:42 +02:00
Carles Fernandez
8856f4a5a1
Merge branch 'benchmark' into next 2020-06-21 21:10:46 +02:00
Carles Fernandez
a1b06f747b
Add benchmarks of small code snippets 2020-06-21 21:10:22 +02:00
Carles Fernandez
4f4ccccf9b
Improve lamdba usage 2020-06-21 11:57:59 +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
87989ead0a
Fix for clang-tidy 2020-06-19 15:37:28 +02:00
Carles Fernandez
bc0cc69d76
Fix clang-format job 2020-06-19 13:01:22 +02:00
Carles Fernandez
0d5b5894b4
Sort header files 2020-06-19 12:39:28 +02:00
Carles Fernandez
f6058c6b61
Use unique_ptr for fft 2020-06-19 10:26:06 +02:00
Carles Fernandez
3e23b4a08c
Indicate with a prefix the private data members for clarity, use unique_ptr instead of shared_ptr 2020-06-19 03:51:50 +02:00
Carles Fernandez
317d72dd4c
Indicate with a prefix the private data members for clarity 2020-06-19 03:22:01 +02:00
Carles Fernandez
7ef64860c4
Indicate with a prefix the private data members for clarity 2020-06-19 02:15:56 +02:00
Carles Fernandez
8abcc2e24b
Indicate with a prefix the private data members for clarity 2020-06-19 01:36:36 +02:00
Carles Fernandez
45c20f08ac
Use unique_ptr instead of shared_ptr for d_gnss_synchro_history, and code cleaning 2020-06-19 00:32:19 +02:00
Carles Fernandez
633d27b5fa
Improve lambda usage 2020-06-18 22:36:58 +02:00
Carles Fernandez
ac3c96afcf
Fix serdes_monitor_pvt_test 2020-06-18 20:41:56 +02:00
Carles Fernandez
b08082e1be
Raw pointer interface for the Monitor_Pvt sink 2020-06-18 20:40:53 +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
piyush0411
7cd6b5c260 Modified Adapter for Signal Generator 2020-06-18 02:10:19 +05:30
Carles Fernandez
7307e82d48
Fix for gcc < 8 2020-06-16 14:00:12 +02:00
Carles Fernandez
8932427d7a
Fix for gcc < 8 2020-06-16 13:35:00 +02:00
Carles Fernandez
026e0f5c1b
Fix for old gcc 2020-06-16 13:04:02 +02:00
Carles Fernandez
771fbf1365
Make use of std::rotl (C++20) if available 2020-06-16 12:22:37 +02:00
Carles Fernandez
094f8f2ee9
Remove unneded reset of the acquisition grid 2020-06-16 08:29:10 +02:00
Carles Fernandez
3beb1e98af
Use lambdas if possible.
Fine tuning in CMake scripts
2020-06-15 19:23:59 +02:00
piyush0411
c36ce57450 Fixed some errors in Signal Generator File 2020-06-15 20:05:53 +05:30
piyush0411
e1af7818ce Updated Signal Generator File 2020-06-15 18:27:27 +05:30
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
b712c98a5b
Make clang-tidy happy 2020-06-13 21:13:46 +02:00
Carles Fernandez
dcf9bc52c4
Clarify source definition 2020-06-13 14:32:08 +02:00
Carles Fernandez
4383821ac0
Merge branch 'accel-build' into next 2020-06-13 14:01:55 +02:00
Carles Fernandez
34ebf384a5
Use parallel building for GPSTk and Protobuf 2020-06-13 14:01:35 +02:00
Carles Fernandez
d40c225ade
Add BLAS::BLAS AND LAPACK::LAPACK imported targets 2020-06-13 13:43:00 +02:00
Carles Fernandez
ee84f60fb4
Simplify CMake scripts 2020-06-13 10:56:49 +02:00
Carles Fernandez
d029bf405b
Improve CMake scripts
Replace CMAKE_CURRENT_BINARY by CMAKE_BINARY_DIR
Remove include_directories() instance
Put the GPSTk install folder in its building folder instead of in its source folder
2020-06-13 10:25:28 +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
Carles Fernandez
d14e69ef5a
Do not pollute the source directory if the software is built from an out-of-source-tree directory
External sources and data are now always stored in a ./thirdparty folder under the building directory.

A copy of the generated binaries will be stored under gnss-sdr/install, if the building directory is inside the source tree, or in an ./install folder under the building directory if it is outside the source tree.
Fix a bug that broke compilation if the user configured the building without extra testing in a first instance, and then switched the testing buiding options to ON in a later build.

Fix extra test building if GPSTk was already installed and Boost >= 1.71
2020-06-12 20:51:26 +02:00
piyush0411
2706c5bc5c Updated GNSS Block Factory 2020-06-12 17:37:36 +05:30
piyush0411
1bfc821487 Updated CMakeLists.txt file 2020-06-12 17:30:45 +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
65a25a47c5
Speed optimization by reserving memory for a std::vector 2020-06-11 13:39:38 +02:00
Carles Fernandez
44eba473a4
Replace a macro by a lambda 2020-06-11 13:32:18 +02:00
Carles Fernandez
d847d3fdcf
Add test about preamble correlation implementations 2020-06-11 12:09:55 +02:00
Carles Fernandez
836e074f98
Add building option ENABLE_STRIP to enable the generation of stripped binaries (without debgging information). Set to OFF by default 2020-06-10 17:22:03 +02:00
Carles Fernandez
fe8f186380
Merge branch 'sysheaders' into next 2020-06-10 11:59:31 +02:00
Carles Fernandez
85286f8a7e
Initialize members to a valid state 2020-06-10 11:54:23 +02:00
Carles Fernandez
34a250246a
Simplify initializations in system_parameters library 2020-06-10 10:15:59 +02:00
Carles Fernandez
5755e6ae8b
Fix FPGA test 2020-06-10 05:30:23 +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
72c820f9ee
Fix cmakelint job 2020-06-09 01:17:48 +02:00
Carles Fernandez
904bef433f
Fix cmakelint job 2020-06-09 01:10:31 +02:00
piyush0411
4cccd97bb5 PCPS based Acquisition Files for FPGA 2020-06-09 01:02:52 +05:30
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
d2e9b0aece
Fix for Boost 1.73 2020-06-06 20:07:00 +02:00
Carles Fernandez
cd2dfe0bc2
Fix for Boost 1.73 2020-06-06 14:11:19 +02:00
piyush0411
9e38cc4ef5 Added PCPS based Acquisition Files 2020-06-06 14:25:46 +05:30
Carles Fernandez
017445040b
Merge branch 'Processing_Files' of https://github.com/piyush0411/gnss-sdr into piyush0411-Processing_Files 2020-06-04 14:11:35 +02:00
piyush0411
2b66cd1da2 Changed two files. 2020-06-04 07:51:37 +05:30
piyush0411
261d841deb Further Modifications done 2020-06-03 18:06:31 +05:30
piyush0411
bc0b32bc64 Made the changes. 2020-06-03 01:33:53 +05:30
piyush0411
2700c1c262 Fixed a typo 2020-06-01 21:23:41 +05:30
piyush0411
3f17a207fd Modified Signal Processing Files 2020-06-01 19:59:42 +05:30
Carles Fernandez
487971fd83
Merge branch 'fix-enum' into next
Fix deprecated enum usage (in Clang 10, arithmetic between different enumeration types is deprecated [-Wdeprecated-anon-enum-enum-conversion])

Fix defect detected by Coverity Scan in Rtcm_Message class (Destination buffer too small: Buffer this->data_ contains 0 characters and is not null-terminated. Copying 6 characters from it overruns this->data_)
2020-05-30 12:31:08 +02:00
Carles Fernandez
2f3f63309b
Fix for GCC 4.9 using std::array instead of char array 2020-05-30 09:40:20 +02:00
Carles Fernandez
4635b307d8
Add Galileo_E5b.h to the headers list 2020-05-30 08:48:54 +02:00
Carles Fernandez
2dd7343ca3
Merge branch 'piyush0411-Galileo_E5b' into next 2020-05-30 00:48:09 +02:00
Carles Fernandez
3ca193fd9b
Fix warning in Clang 10 2020-05-30 00:44:37 +02:00
Carles Fernandez
0897811d16
Fix for GCC 4.9 2020-05-29 09:46:30 +02:00
Carles Fernandez
8c2d1d6ad1
Initialize buffer 2020-05-29 01:23:24 +02:00
Carles Fernandez
eef5cadab0
Fix deprecated enum usage 2020-05-28 23:27:36 +02:00
Carles Fernandez
447d8a5625
Fix warning in GCC 10 2020-05-28 23:05:09 +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
a73e08c017
Improve README files 2020-05-16 16:11:50 +02:00
Carles Fernandez
35ee34673a
Fix signature of copy and move operators 2020-05-16 14:39:34 +02:00
Carles Fernandez
13ca2b08b8
Fix multi-line comment (fixes -Wcomment) 2020-05-14 22:15:29 +02:00
Carles Fernandez
1745b71f13
Update gsl-lite version to 0.37.0 2020-05-14 19:36:04 +02:00