Carles Fernandez
e6d2776f1b
Replace std::deque by faster boost::circular_buffer
2019-02-28 14:10:44 +01:00
Marc Majoral
c32e0b427a
coding style + removed some unnecessary memory arrays in the FPGA E5A tracking adapter class.
2019-02-27 17:27:31 +01:00
Marc Majoral
a03ed571e6
replaced int and unsigned int by int32_t and uint32_t
...
removed some unused variables
2019-02-27 14:37:07 +01:00
Marc Majoral
8d770d9be9
more code cleaning
...
removed some non used variables
2019-02-27 13:30:09 +01:00
Marc Majoral
cf0a37300a
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-02-25 19:21:00 +01:00
Carles Fernandez
d7d4cd09ae
Fix naming in fgpa and extra unit test implementations
2019-02-22 15:57:15 +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
a734411b86
clang-tidy: apply performance-type-promotion-in-math-fn check
2019-02-21 12:46:01 +01:00
Carles Fernandez
b3ae2c969a
clang-tidy: apply fixes
2019-02-21 10:33:20 +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
b5c59ee6f7
Fix defects detected by Coverity Scan
2019-02-14 22:49:36 +01:00
Carles Fernandez
31383258b0
clang-tidy: apply checks
2019-02-12 15:56:18 +01:00
Carles Fernandez
111c6291ec
Revert "clang-tidy: apply performance-unnecessary-value-param check"
...
This reverts commit eae967ed1a
.
2019-02-12 12:07:40 +01:00
Carles Fernandez
0c4b68c92d
clang-tidy: apply performance-move-const-arg check
...
See https://clang.llvm.org/extra/clang-tidy/checks/performance-move-const-arg.html
2019-02-12 02:07:06 +01:00
Carles Fernandez
eae967ed1a
clang-tidy: apply performance-unnecessary-value-param check
...
See https://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-value-param.html
2019-02-12 01:00:36 +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
bf65447cdf
Remove unused includes
2019-02-10 13:23:36 +01:00
Carles Fernandez
ce051e040f
Improve target design
2019-02-10 01:13:02 +01:00
Carles Fernandez
a63d7834f4
Remove unused include
2019-02-10 00:12:19 +01:00
Carles Fernandez
5d9dea9537
Clean CMake scripts
2019-02-07 20:51:50 +01:00
Damian Miralles
1b7d4edf51
bds_b31: Getting new changes from upstream
2019-02-05 17:25:16 -06:00
Carles Fernandez
dfab84b2de
Add fixes applied by clang-tidy
2019-02-05 01:31:09 +01:00
Carles Fernandez
b58b07fe01
Update and clean CMake scripts
2019-02-04 20:29:42 +01:00
Carles Fernandez
8ae72fe458
Update to modern CMake usage
2019-02-03 19:24:44 +01:00
Marc Majoral
bb0fae98c7
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-01-30 10:28:52 +01:00
Carles Fernandez
1633556504
Fix comparison warnings
2019-01-28 02:54:02 +01:00
Carles Fernandez
2389eed440
Fix comparison warning
2019-01-28 02:49:27 +01:00
Carles Fernandez
c561d7e799
Applying code formatting rules
2019-01-28 02:29:43 +01:00
Damian Miralles
e78ba653e6
bds b3i: Adding code to process BeiDou B3I signals
...
Adds code to perform acq and trk in BeiDou B3I signals. Stages of
telemetry decoding, observables computation and pvt use existing
code on the platform. Some further testing is required
2019-01-25 15:43:00 -06:00
Marc Majoral
f127729eb0
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-01-25 18:02:07 +01:00
Damian Miralles
7cef679744
bds_b1i: Adding support for d2 nav decoding
2018-12-26 12:54:23 -06:00
Damian Miralles
7cdd2ee477
bds b1i: Adding geo satellites tracking and setting up structure for d2 nav decoding
2018-12-24 15:14:10 -06:00
Damian Miralles
42b506d0bb
bds b1i: Merging latest changes from upstream/next
2018-12-18 15:55:36 -06:00
Marc Majoral
7da82dbaea
updated the FPGA tracking gnuradioblock according to the latest changes in the SW tracking gnuradioblock.
2018-12-14 18:15:21 +01:00
Carles Fernandez
3dce8934fd
Apply fixes by clang-tidy
2018-12-10 19:05:12 +01:00
Carles Fernandez
ef201c4ccd
Add pmt and uhd to clang-format as external libraries
2018-12-10 00:18:27 +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
bdb912e9da
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next
2018-12-04 00:19:39 +01:00
Carles Fernandez
eb6ff88cec
clang-tidy: apply boost-use-to-string fix (see http://clang.llvm.org/extra/clang-tidy/checks/boost-use-to-string.html )
2018-12-03 23:34:29 +01:00
Carles Fernandez
d95b89beae
clang-tidy: apply performance-unnecessary-value-param fix (see http://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-value-param.html )
2018-12-03 22:38:46 +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
b994f466a7
clang-tidy: apply modernize-loop-convert fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-loop-convert.html )
2018-12-03 18:03:25 +01:00
Javier Arribas
ec94bcf43e
Fix set DLL/PLL filter BW at tracking initialization
2018-12-03 17:07:51 +01:00
Damian Miralles
e40999572f
bds b1i: Bug fixes in navigation code
...
Fixes bugs with the conversion to rtklib standard from gnss-sdr.
2018-12-03 09:39:39 -06: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
8eec75c8ae
clang-tidy: apply readability-string-compare fix (see https://clang.llvm.org/extra/clang-tidy/checks/readability-string-compare.html )
2018-12-03 12:52:17 +01:00
Carles Fernandez
0a46cb1fe1
Use nullptr
2018-12-03 10:05:47 +01:00
Marc Majoral
bd90563925
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2018-11-30 11:10:38 +01:00
Marc Majoral
f48a91c413
Galileo E5a is now debugged and working. Acquisition is using interrupts again. Each acquisition process opens and closes the acquisition device when an acquisition is done instead of having the device opened all the time. In this way the acquisition interrupt should only be received by the process that is using the interrupt at that time.
2018-11-30 11:07:01 +01:00
Javier Arribas
514b9dd35f
Improving tracking pull-in algorithm
2018-11-29 17:09:30 +01:00
Damian Miralles
8db3f21070
bds b11: Get latest changes and add bds functions in rtk module
...
Merge branch 'next' into bds_b1i. Also fixes multiple bugs with the
addition of bds b1i signals into code. Major changes where fixed and
code to support RINEX and RTCM is needed
2018-11-29 09:56:54 -06: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
Marc Majoral
3e46f658f6
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2018-11-16 10:34:19 +01:00
Marc Majoral
7023e879db
adapted the software to a bit size for the local copy of the FFT of the GNSS code to 10 bits per sample.
...
worked on the observables tests.
2018-11-13 19:51:12 +01:00
Marc Majoral
41faa311f7
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2018-11-05 18:29:35 +01:00
Carles Fernandez
8d3074a9dc
Replace boost::lexical_cast by std::to_string
2018-11-04 22:50:46 +01:00
Carles Fernandez
1f6ae8ea16
Fix doxygen documentation
2018-10-30 00:48:59 +01:00
Carles Fernandez
715f32f0ee
Improve tracking dump saving
...
Dump files can now be saved anywhere, including absolute paths. If directories do not exist, they will be created.
Added new dump_mat to deactivate generation of .mat files
2018-10-30 00:47:12 +01:00
Javier
5b3eb12998
Implementation of new receiver telecommands standby and coldstart
2018-10-28 11:09:01 +01:00
Damian Miralles
e22f8e57c1
beidou b1i: renaming objects of nav decoding
2018-10-22 15:12:50 -05:00
Damian Miralles
8c16d945f8
beidou b1i: Merging new changes and adding bug fixes to code
2018-10-22 14:16:38 -05:00
Marc Majoral
17ddab1c3e
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2018-10-17 15:49:58 +02:00
Marc Majoral
8e6370e133
changed the downsampling factor of the L1 and E1 acquisition from /2 to /4
2018-10-17 15:45:08 +02:00
Carles Fernandez
8e5a24b32d
Merge branch 'trk_hi_dyn' of https://github.com/antonioramosdet/gnss-sdr into antonioramosdet-trk_hi_dyn
2018-10-10 19:34:51 +02:00
Marc Majoral
8710ba1cf7
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2018-10-08 19:47:39 +02:00
Carles Fernandez
78c0b76cb9
Avoid use of GLOB for source and header files
2018-10-04 22:35:44 +02:00
Marc Majoral
2826dd21d3
use of the :2 decimator in the GPS L1/Galileo E1 frequency band
...
added methods to the L1 and E1 FPGA acquisition classes for the unit tests to be able to control the doppler sweep from the SW instead of the HW. In this way we can produce more detailed results.
2018-10-04 17:49:09 +02:00
Antonio Ramos
a2b668ef47
Display more information in the terminal line
2018-09-19 19:27:31 +02:00
Marc Majoral
df3caf5c2b
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2018-09-18 11:43:19 +02:00
Antonio Ramos
4375d0a051
Clean code
2018-09-17 19:19:19 +02:00
Antonio Ramos
a465689f20
Change rem_carrier_phase_rad computation
2018-09-13 19:18:19 +02:00
Marc Majoral
5b9b63cc77
implemented tracking pull-in tests for the FPGA
...
solved a bug in which the SW was using the doppler shift index reported by the HW acquisition accelerator plus one, instead of using the doppler shift index as such.
2018-09-12 16:02:23 +02:00
Antonio Ramos
350fa7da11
Improve moving average smoothing filter for carrier phase and code phase
2018-09-11 20:47:32 +02:00
Antonio Ramos
0210f9a5ce
Estimate code rate chips freq
2018-09-10 21:29:44 +02:00
Antonio Ramos
25d04a94f2
Update rem_carrier_phase and minor changes
2018-09-09 18:19:43 +02:00
Antonio Ramos
2903e48e39
Dump carrier_phase_rate and modify matlab file
2018-09-08 23:20:29 +02:00
Antonio Ramos
b66540b776
Add moving average smoother to carrier phase rate
2018-09-07 19:18:03 +02:00
Antonio Ramos
47e5ef7f39
Improve generic kernel
2018-09-06 17:46:55 +02:00
Marc Majoral
2b15343a6a
started tracking pull-in test implementation for the FPGA
2018-08-29 18:20:41 +02:00
Antonio Ramos
4792bc32c6
Add some high dynamics variables
2018-08-28 22:26:26 +02:00
Javier Arribas
6d74370860
Joining Galileo FNAV and FNAV telemetry decoders in a single GNURadio block
2018-08-27 18:05:19 +02:00
Carles Fernandez
bbcc0bee36
Rename volk_gnsssdr_32f_xn_fast_resampler_32f_xn to volk_gnsssdr_32f_xn_high_dynamics_resampler_32f_xn
2018-08-23 19:52:01 +02:00
Carles Fernandez
fe36e8f558
Add doppler rate variable, still not used
2018-08-22 17:44:52 +02:00
Carles Fernandez
d364258b6e
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into doppler_rate
2018-08-22 17:30:21 +02:00
Carles Fernandez
0c26a95af4
Enhance const correctness, minor cosmetics
2018-08-21 15:20:48 +02:00
Carles Fernandez
fb33bbc6c3
Add use of cstdint typedefs
2018-08-21 15:00:57 +02:00
Carles Fernandez
a833abbb8a
Merge branch 'kf' of https://github.com/gnss-sdr/gnss-sdr into next
2018-08-21 11:50:39 +02:00
Carles Fernandez
2b0e0f73ff
Add work on Doppler rate
2018-08-15 13:38:49 +02:00
Gerald LaMountain
e42467a068
Updates to integration of bayesian_estimation library into GPS L1 kalman tracking block
2018-08-13 21:18:01 -04:00
Gerald LaMountain
032e73e727
Updates to 3-state Kalman filter parameters to improve tracking
2018-08-13 21:15:58 -04:00
Carles Fernandez
4a2ba1cff0
Improve handling of data types
2018-08-13 00:54:23 +02:00
Carles Fernandez
ecdd5f4e57
Add more extensive use of cstdint typenames
2018-08-12 00:04:09 +02:00
Carles Fernandez
d41ed73a00
Add more extensive use of cstdint typenames
2018-08-11 13:12:33 +02:00
Carles Fernandez
05a1806c8f
Merge branch 'fpga' of https://github.com/mmajoral/gnss-sdr into merge-marc
2018-08-11 12:56:52 +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
Marc Majoral
f14ad930d5
declared the 64-bit variables as long long ints instead of long ints in the FPGA related files.
...
Variables declared as long ints are interpreted as 32-bit variables in the ARM architecture and 64-bit variables in the X86-64 architecture.
2018-08-10 16:42:53 +02:00
Marc Majoral
b1524a3afe
implemented 64-bit global sample counter
...
started programming the FPGA tracking unit tests
2018-08-10 13:12:06 +02:00
Marc Majoral
ee132f445f
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2018-08-08 14:25:12 +02:00
Sergi Segura
e4a86173fa
tracking working
2018-08-06 13:52:08 +02:00
Javier Arribas
856eaf1881
Unified tracking algorithm improvement
2018-08-03 12:05:40 +02:00
Marc Majoral
daedfc3e01
adapted the FPGA tracking class according to the latest changes in the next branch
2018-08-02 17:32:59 +02:00
Marc Majoral
7e246dea29
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2018-08-01 18:59:40 +02:00
Marc Majoral
bb33faea21
improved existing code
...
started the GPS L2 FPGA class implementation (not finished yet)
implemented the GPS L5 FPGA class (not tested yet)
implemented the Galileo E5 FPGA class (not tested yet)
The code is still "dirty": it is yet to be cleaned of debug comments/code and any possible redundant code and not used variables.
2018-08-01 15:55:40 +02:00
Carles Fernandez
16848069ee
Fix building
2018-07-20 13:19:41 +02:00
Carles Fernandez
5a908fcf7d
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glamountain-kf
2018-07-20 12:59:46 +02:00
Javier Arribas
a392117c0b
Improving bit synchronization in GPS L1 CA tracking
2018-07-13 15:23:20 +02:00
Javier Arribas
605ba079c8
Fix unified tracking binary dump artifacts in code delay estimation
2018-07-12 15:26:24 +02:00
Sergi Segura
51aa80aa46
tracking working, some satellites with loss of lock
2018-07-10 23:30:15 +02:00
Gerald LaMountain
486ac195db
Add bayesian_estimation library to tracking/libs which will be used to perform noise adaptation to Kalman filter based tracking
2018-07-09 11:46:34 -04:00
Carles Fernandez
e454dc7e14
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into kf
2018-07-04 13:09:28 +02:00
Gerald LaMountain
0dd99e3c5d
Add configurable model order to KF tracking (order 2, order 3)
2018-07-03 14:47:17 -04:00
Gerald LaMountain
d565d65521
Update KF tracking to use acquisition doppler bin size for initial doppler state covariance
2018-07-03 13:31:53 -04:00
Carles Fernandez
2c0f5a6062
Take the configuration object by reference
2018-06-19 12:56:53 +02:00
Javier Arribas
799fe45830
Migrating DLL/PLL configuration from struct to class and adding tracking quality indicators plot sample MATLAB script
2018-06-19 11:36:15 +02:00
Javier Arribas
b8931ccb58
Prevent write to uninitialized pointer
2018-06-16 21:03:34 +02:00
Carles Fernandez
ebd8b46e51
Remove if parameter from Acquisition and Tracking blocks
2018-06-06 17:25:03 +02:00
Carles Fernandez
74ae513d70
Fix comparison int vs unsigned int
2018-06-03 22:46:02 +02:00
mmajoral
75cbc3fcdd
Added Galileo E1 acquisition + tracking classes that use the generic acquisition and tracking classes for the FPGA HW accelerators (still to be tested). Did some minor code cleaning to the GPS files that use the FPGA HW accelerator.
2018-05-22 12:25:14 +02:00
Carles Fernandez
d61bc907fe
Fix initialization
2018-05-19 23:54:36 +02:00
Carles Fernandez
63dc766308
Initialize all members
2018-05-19 22:44:21 +02:00
Carles Fernandez
ba6968bfe0
Avoid null dereference
2018-05-19 20:50:48 +02:00
Carles Fernandez
93954fbbe1
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into kf
2018-05-14 08:16:36 +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
7754fc66a6
Code cleaning
2018-05-09 13:09:26 +02:00
Carles Fernandez
ecc3998d98
Merge branch 'fpga' of https://github.com/mmajoral/gnss-sdr into mmajoral-fpga
2018-05-09 12:36:23 +02:00
mmajoral
0b9b9f4c39
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga.
...
Use a generic tracking radio block class for the tracking code that uses the FPGA HW accelerators.
2018-05-09 11:11:12 +02:00
Carles Fernandez
584e214a5f
Update CN0 estimation call
2018-05-07 16:19:36 +02:00
Carles Fernandez
a5be528c90
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into HEAD
2018-05-07 15:08:28 +02:00
Carles Fernandez
813b2a9d04
Fix bug in GPS L5 and Galileo E5a decoding
2018-05-04 13:39:45 +02:00
mmajoral
4fa5648aa4
Currently creating a generic tracking class for the FPGA in the same way as it is done in the SW.
2018-05-03 10:38:21 +02:00
Carles Fernandez
6d6b583169
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into mmajoral-fpga
2018-04-30 19:23:35 +02:00
Carles Fernandez
e74b72b9df
Reorder includes
2018-04-29 04:16:56 +02:00
Carles Fernandez
01429132bd
Avoid clash of redefined macros with Volk
2018-04-29 02:51:50 +02:00
Carles Fernandez
1573c40938
Expose some tracking parameters to the configuration
...
Replace GPS_L5i_DLL_PLL_Tracking by GPS_L5_DLL_PLL_Tracking since now it can also track the Q component. Old name still recognized for backward compatibility
Fix typo in flag documentation
2018-04-28 12:33:46 +02:00
Carles Fernandez
ed5cb61764
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into cn0_estimator
2018-04-23 14:29:18 +02:00
mmajoral
6a3770c762
- set output vectors is only done in the class constructor, no need to do it continuously
...
- no need to multiply by two the results of the multicorrelator HW accelerators
2018-04-19 12:09:08 +02:00
Javier Arribas
bc0bfce0d1
Merge from next and bug fix in virtual time counter
2018-04-13 16:29:58 +02:00
Carles Fernandez
1094e870bc
Accessing maps is not so cheap, so doing in the constructor
2018-04-12 20:45:13 +02:00
Carles Fernandez
b5c9015fbe
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next
2018-04-12 20:01:36 +02:00
Javier Arribas
2681ffab81
Removing unused msg port
2018-04-12 18:46:55 +02:00
Javier Arribas
2d69aae7b9
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2018-04-12 18:04:08 +02:00
Javier Arribas
2138c1340b
Removing debug code in trk FPGA accelerators
2018-04-12 18:03:30 +02:00