Carles Fernandez
e80122f4ff
Apply clang tidy checks and clang-format
2019-09-13 08:56:37 +02:00
Carles Fernandez
0520d400b3
Apply clang-tidy
2019-09-11 22:31:34 +00:00
Carles Fernandez
38a987607e
Make use of the new Boost::headers target introduced in CMake 3.15
2019-09-07 12:36:19 +02:00
Carles Fernandez
95f688dcb0
Mark all constructors callable with one argument as explicit
2019-08-23 21:25:44 +02:00
Carles Fernandez
9f8f9e8af9
Apply code cleaning before release
2019-07-28 12:01:11 +02:00
Carles Fernandez
a4d6800e22
Update copyright year
...
Applied on files changed since last release
clang-format applied
2019-07-26 12:38:20 +02:00
Javier Arribas
27b1baf0b7
completing the acquisition assistance option from primary frequencies (e.g. L1, E1) to secondary frequencies (e.g. L5, E5)
2019-07-23 17:56:02 +02:00
Carles Fernandez
be86771ede
Move default destructor to header file, so compiler can make a better job
2019-07-21 19:32:52 +02:00
Carles Fernandez
37fdfca5ec
Miscellaneous improvements
...
Improve modularity of CMake design
Improve building speed in multicore processors
Files command_event.* moved to core/libs
Remove Armadillo from public core_receiver interface
Uniformize name format for classes
Apply some fixes by clang-tidy
Improve documentation
2019-07-21 12:55:59 +02:00
Carles Fernandez
49e64f94f6
Code cleaning, initializations
2019-07-20 11:13:28 +02:00
Carles Fernandez
50cfb6cdf5
Fix building until gnss-sdr
2019-07-16 19:20:37 +02:00
Javier Arribas
1313edd716
Partial implementation of the new event queue and its dependencies. Still NOT usable
2019-07-16 17:41:12 +02:00
Carles Fernandez
def3a8875a
Misc improvements
...
Remove cstdio
Remove usage of cstring and memcpy when it is not needed
Mark move cobstructor with noexcept
2019-07-14 02:28:28 +02:00
Carles Fernandez
081439d6f8
Code cleaning
2019-07-02 17:48:00 +02:00
Carles Fernandez
018cde8953
Write public interface first, then private members in class definitions
2019-07-01 23:44:42 +02:00
Carles Fernandez
19fcd60522
Clean files
2019-04-27 13:09:36 +02:00
Marc Majoral
2bae20d2fd
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
...
added second acquisition to reduce the time between acquisition and tracking when using the FPGA
moved the process of writing of the tracking local code to the HW accelerator from the start_tracking() function to the set_gnss_synchro() function (this is only applicable for the FPGA case)
there was a bug in the computation of the tracking starting position for the L1/E1 band when using the FPGA, only high sample counter values (>31 bits) were affected, due to a uint64_t*float mult.
2019-03-22 19:03:46 +01:00
Javier Arribas
c877e74565
-Adding more FPGA helpers to channel operations
2019-03-22 18:11:45 +01:00
Javier Arribas
f9b450bc80
Adding channel modifications for FPGA acceleration
2019-03-22 16:03:09 +01:00
Javier Arribas
55b1f316ed
Removing gnuradio block inheritance in FPGA acquisition
2019-03-20 16:57:50 +01:00
Javier Arribas
0be8c657de
Reducing the latency in the acquisition to tracking transition
2019-03-20 15:13:17 +01:00
Carles Fernandez
7fae75380f
Fix run-tests: disconnect internal async channels in destructor
2019-03-18 22:59:47 +01:00
Javier Arribas
48180c967a
Replacing PLL/DLL fixed order loop filters with DLL/PLL/FLL order-configurable filters. Adding PLL false lock protection by using telemetry validation flag
2019-03-18 19:35:40 +01:00
Carles Fernandez
6eb81f52ee
Improve includes with IWYU
...
Rtcm class moved to PVT/libs
2019-03-05 12:33:54 +01:00
Carles Fernandez
6ba77c5f28
Sort includes: include what you use
2019-03-04 08:12:50 +01:00
Carles Fernandez
e7ea5c1fdd
Remove superfluous 'using google::LogMessage'
2019-03-03 13:39:35 +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
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
60637c6125
Reorder dependencies
2019-02-07 21:31:40 +01:00
Carles Fernandez
708b288e61
Clean CMake scripts
2019-02-04 22:44:45 +01:00
Carles Fernandez
8ae72fe458
Update to modern CMake usage
2019-02-03 19:24:44 +01:00
Carles Fernandez
a7b780fddc
Apply fixes by clang-tidy
2018-12-10 18:39:14 +01:00
Carles Fernandez
d6f3cd6dd3
Revert "Apply fixes by clang-tidy"
...
This reverts commit ba23d698bc
.
2018-12-10 18:20:45 +01:00
Carles Fernandez
ba23d698bc
Apply fixes by clang-tidy
2018-12-10 15:15:35 +01:00
Carles Fernandez
5b79f8ac50
Merge branch 'next' into smart_acq_resampler
2018-12-10 14:24:42 +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
b2659aa076
Merge branch 'next' into smart_acq_resampler
2018-12-04 00:05:04 +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
Javier Arribas
4b80451630
Adding initial functional changes for the smart acquisition resampler
2018-12-03 17:58:18 +01:00
Carles Fernandez
482558aa27
Use std::move() to avoid unnecessary copies
2018-12-03 00:46:38 +01:00
Carles Fernandez
3bb47ff755
Improve const correctness, fix string comparisons
2018-12-02 05:29:11 +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
Javier
01a1954b15
Adding the Hotstart telecommand implementation to predict visible satellites for GPS and Galileo constellations
2018-11-05 17:53:53 +01:00
Javier
5b3eb12998
Implementation of new receiver telecommands standby and coldstart
2018-10-28 11:09:01 +01:00
Carles Fernandez
78c0b76cb9
Avoid use of GLOB for source and header files
2018-10-04 22:35:44 +02:00
Carles Fernandez
65a0804084
Add more extensive use of cstdint typenames
2018-08-13 10:18:05 +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
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
471bb17b3c
Improve readability
2018-04-29 10:23:19 +02:00
Antonio Ramos
52cc6ab04d
Remove telemetry -> tracking msg port
2018-04-12 18:01:12 +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
243b4ecc39
Give priority to RINEX_printer flag over configuration file.
...
Fix building.
2018-02-25 01:10:27 +01:00
Carles Fernandez
eb0b01d0aa
Add doppler_step flag
2018-02-25 01:00:17 +01:00
Antonio Ramos
a90edd025c
Minor changes
2018-01-08 15:52:14 +01:00
Antonio Ramos
320b4e2d7b
Migrate channel_fsm pointer to std::shared_ptr
2018-01-08 12:03:32 +01:00
Antonio Ramos
74a1f76282
Avoid multithreading collision
2018-01-08 10:57:01 +01:00
Antonio Ramos
cfc0a4a498
Clean flowgraph
2018-01-05 12:25:33 +01:00
Antonio Ramos
3a37345d4c
Minor changes
2018-01-04 12:33:13 +01:00
Antonio Ramos
bbf8587970
Clean code
2018-01-04 12:16:12 +01:00
Antonio Ramos
540221e227
New Channel FSM
2018-01-04 10:51:47 +01:00
Antonio Ramos
6dd3abfdea
debug2
2018-01-03 15:47:16 +01:00
Antonio Ramos
3ddea680ad
debug1
2018-01-03 12:48:04 +01:00
Antonio Ramos
47c752c141
More debug lines
2018-01-03 12:44:58 +01:00
Antonio Ramos
3eafe2047a
Fix deadlock flowgraph
2018-01-02 16:56:18 +01:00
Antonio Ramos
2d8141d9b5
Migrate msg_queue boost smart pointers to gr sptr
2017-12-21 15:47:26 +01:00
Antonio Ramos
8bb0c880c0
Minor changes in DLOG lines
2017-12-21 12:12:56 +01:00
Antonio Ramos
cef7ae5f7b
Add LOG lines in channel_fsm
2017-12-20 15:02:57 +01:00
Carles Fernandez
3f557eeb41
Warn the user about the change in parameter name
2017-09-03 23:56:41 +02:00
Carles Fernandez
122ec19626
Make use of the inline keyword where appropriate
2017-08-21 11:45:12 +02:00
Carles Fernandez
eecfd10875
Replace C-style casts by C++ casts
2017-08-19 20:05:52 +02:00
Carles Fernandez
07113fd89d
Use the override special identifier when overriding a virtual function
2017-08-16 00:58:10 +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
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
mmajoral
28058000de
set up the receiver to work with the FPGA
2017-05-05 17:08:49 +02:00
Carles Fernandez
5a73b4e047
Improve package reproducibility
...
Packages using CMake often use file(GLOB ...) to retrieve a list of
source files. As this is based on readdir(), the resulting file list
is unsorted. A common use case is to pass this list directly to
add_executable or add_library. But as the order is unpredictable, the
binaries are not reproducible (because the order in which the objects
are linked will vary).
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824263
2016-05-23 19:51:59 +02:00
Luis Esteve
7403fec396
Eliminate redundancy in doppler_max initialization
...
Eliminate the initialization of Acquisition variable "doppler_max" in
Channel (acq_->set_doppler_max(doppler_max);) because this
initialization is done now in Acquisition adpaters
2016-05-06 19:30:36 +02:00
Luis Esteve
3b2678daf3
Improve docummentation
2016-05-06 10:41:29 +02:00
Carles Fernandez
831cc75153
Remove tabs from the source code
2016-05-02 23:46:30 +02:00
Carles Fernandez
fbfc4a28ba
Improve memory management
...
The blocks are now always managed by smart pointers instead of raw pointers
2016-05-02 17:26:32 +02:00
Carles Fernandez
59e2e61cae
Merge branch 'next' of git+ssh://github.com/gnss-sdr/gnss-sdr into next
2016-04-26 18:54:32 +02:00
Carles Fernandez
59b6bf18c5
code cleaning
2016-04-25 20:34:27 +02:00
Javier Arribas
0a5573f666
several receiver configuration mechanism simplifications and several bug fixes. Work in progress
2016-04-21 18:54:08 +02:00
Javier Arribas
853e314bf0
Split the message collector block in a separated object inside channel
2016-04-18 14:17:09 +02:00
Javier Arribas
0f80ce0159
Channel internal message queue is replaced by the asynchronous GNURadio
...
message system. Removing the deprecated channel internal queue and its
references. Some tests that are using the old channel queue are disabled
in this version
2016-04-15 16:33:41 +02:00
Javier Arribas
b2034896e1
Merge branch next_gps_20ms_corr with next. Removing obsolete code and code cleaning
2016-03-30 15:03:25 +02:00
Javier Arribas
500dc59516
Release candidate of the GPS L1 C/A telemetry decoder supporting variable tracking correlation length
2016-03-22 18:07:12 +01:00
Carles Fernandez
754e4436ee
Revert "Experimental extended correlation for GPS L1 CA C_Aid tracking"
...
This reverts commit d664dc63b3
.
2016-03-15 10:01:08 +01:00
Carles Fernandez
1e9a9d1a55
reverting wrong commit
2016-03-09 15:56:07 +01:00
Javier Arribas
d664dc63b3
Experimental extended correlation for GPS L1 CA C_Aid tracking
2016-03-08 18:30:56 +01:00
Carles Fernandez
5abc7b8b6a
Include cleaning
2016-01-05 15:35:33 +01:00
Carles Fernandez
c5407a5106
Improved handling of threads
...
Some threads were not terminating properly, triggering a failure of
control_thread_test in some configurations.
2015-12-30 14:43:32 +01:00
Carles Fernandez
fb45d31eed
Merge branch 'next' of git+ssh://github.com/gnss-sdr/gnss-sdr into next
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2015-05-22 18:30:21 +02:00
Carles Fernandez
dcd59ed9bd
Generic name for channel finite state machine, since it applies to all signals and not only to GPS L1 C/A
2015-05-21 11:29:56 +02:00
Carles Fernandez
70c97178fa
taking GNSS_Synchro as reference and not by value
2015-05-15 18:19:10 +02:00
Carles Fernandez
72ced4ac23
adding header
2015-05-14 21:25:32 +02:00