Marc Majoral
19184da0f9
The FPGA multicorrelator interrupt is enabled only once when a satellite is assigned to a particular channel. Until now the interrupt was automatically disabled by the interrupt handler of the uio driver and the multicorrelator code had to re-enable it every time. This change saves CUP cycles for real-time operation. It requires that the code that disables the interrupt in the uio driver interrupt handler is commented out.
2019-04-09 16:03:31 +02:00
Marc Majoral
2da2fa12e3
removed some non-used variables and some non-used instructions. Changed the initialisation of d_current_prn_length_samples to vector_length, instead of T_prn_mod_samples
2019-04-09 11:23:30 +02:00
Carles Fernandez
e0da44f606
Fix detection of python mako if installed with Macports
2019-04-09 02:27:50 +02:00
Carles Fernandez
cc162dac9e
Code cleaning
2019-04-08 11:14:41 +02:00
Marc Majoral
4d530b0ce4
updated fft-ifft ref exponents
2019-04-05 15:59:40 +02:00
Marc Majoral
6696e378c5
updated the reference value for the gain of the fft-ifft
2019-04-05 15:15:02 +02:00
Marc Majoral
6979e561b8
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-04-04 19:55:56 +02:00
Marc Majoral
ff024e7292
cleaned unused code and added some comments.
2019-04-04 19:55:02 +02:00
Marc Majoral
eda3f21fb9
added the reading of the high_dyn parameter in the tracking adapter modules + added max_num_acqs parameter for the FPGA acquisition.
2019-04-04 16:10:29 +02:00
Javier Arribas
02db271011
Set default Galileo E1 VE and VL correlator spacing to 0.5
2019-04-03 15:28:56 +02:00
Javier Arribas
bd22ef5153
Improving DLL discriminators implementation
2019-04-03 15:25:40 +02:00
Marc Majoral
d8e8b8a5a0
solved a bug in the E1 data code generation optimization
2019-04-03 10:21:16 +02:00
Marc Majoral
553946fb65
moved the setting of the flags for the writing of the local code to the initialization, to save cpu cycles during tracking.
2019-04-02 20:36:48 +02:00
Marc Majoral
a6110eb334
moved the calculations related to the local code that is specific to the FPGA to the initialisation phase of the tracking modules to save clock cycles during real-time tracking.
2019-04-02 18:46:37 +02:00
Marc Majoral
db05be36d1
removed non essential instructions in start_tracking() function and moved them to set_gnss_synchro (which is called with a valid PRN before starting an acquisition of a new channel)
2019-04-02 15:53:16 +02:00
Marc Majoral
5bc7a778e9
commented out the old DLL and PLL filters in the tracking modules + removed some old not used code in the acquisition that was already commented out.
2019-04-02 13:10:09 +02:00
Marc Majoral
edac9923ae
updated the tracking code loop filter, the carrier filter and the d_Prompt circular buffer.
2019-04-01 12:38:45 +02:00
Javier Arribas
dff91e1216
Improving Flexiband signal source multichannel configuration options
2019-03-29 17:34:06 +01:00
Marc Majoral
fb38247273
updated the tracking adapters and added new FPGA tracking correlator parameters according to what is implemented in the SW tracking correlator.
2019-03-28 12:30:57 +01:00
Marc Majoral
3098ca1a48
added the reception of messages from the telemetry module to the FPGA tracking modules.
2019-03-27 16:59:04 +01:00
Marc Majoral
3249f55029
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-03-27 12:38:43 +01:00
Marc Majoral
4164d28abf
solved a bug: the acquisition device driver was not properly closed if double acquisition was enabled and the second acquisition was not successful.
2019-03-27 12:35:36 +01:00
Marc Majoral
47b405f92d
commented out debug messages that increase the time between accquisition and tracking
2019-03-27 11:57:31 +01:00
Carles Fernandez
77851e5589
BeiDou B3I bug fixes (credits to dmiralles2019)
2019-03-26 22:34:08 +01:00
Damian Miralles
1a2d90a8f1
bds_b3i: fixing bugs in pvt computation
2019-03-26 22:15:31 +01:00
Marc Majoral
58a0de006e
corrected comment
2019-03-26 16:41:20 +01:00
Marc Majoral
63cee0e63b
In order to reduce the CPU workload, the FPGA acquisition does not close and open the device driver in between the first and the second acquisition anymore.
2019-03-26 16:35:19 +01:00
Marc Majoral
cbc8131677
optimized the computation of FPGA acquisition doppler shift and dopper step registers
...
removed unnecessary function call
2019-03-26 16:22:49 +01:00
Marc Majoral
9d7f8be4ef
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-03-26 12:30:36 +01:00
Marc Majoral
2b46c79ba7
optimized the process of computing and writing the fft of the local code to the acquisition HW accelerator.
...
The writing of the local code is still performed by processor instructions in a loop.
THe FPGA L2 classes were updated accordingly.
2019-03-26 12:26:08 +01:00
Marc Majoral
905a85670c
currently optimizing the FPGA-related code
2019-03-25 19:45:54 +01:00
Carles Fernandez
41036c1538
Fix kernel
2019-03-24 19:53:51 +01:00
Carles Fernandez
d8f1e4b437
Increase required accuracy in 32-bit rotator_dot_prod test results
2019-03-24 19:35:53 +01:00
Carles Fernandez
441ff637eb
Fix AVX implementation
...
Samples that are remanent from num_points / 16 were not adecuately integrated
2019-03-24 13:50:12 +01:00
Carles Fernandez
1b0697fdf9
Simplify script
2019-03-23 12:59:49 +01:00
Carles Fernandez
b0f971fc56
Remove wrong lines from old script
2019-03-23 11:31:53 +01: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
Carles Fernandez
cb59c1cc83
Fix bug in MacOS when BeiDou was enabled in rtklib.h
...
The BLAS and LAPACK implementations that come with the Accelerate Framework (soft-linked in /usr/bin) caused a random crash when exiting the program, only if the variable ENABDS was set. This bug disappears when linking to the libraries that Homebrew or Macports install, or when manually downloaded, built and installed by the user
2019-03-22 11:00:13 +01:00
Carles Fernandez
33403dedea
Fix high_dynamics correlator
2019-03-21 21:10:56 +01:00
Carles Fernandez
6a17a33d6f
Expose more tracking parameters to the configuration: filters order, FLL usage, pull-in time
2019-03-21 19:21:39 +01:00
Carles Fernandez
446d3baf32
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next
2019-03-20 20:56:47 +01:00
Carles Fernandez
88b60aa6b1
Remove unused includes
2019-03-20 18:08:39 +01:00
Carles Fernandez
f3d91bbd38
Remove unused includes
2019-03-20 18:00:37 +01:00
Marc Majoral
e6b661494c
moved to 16 bits per local code.
2019-03-20 16:59:32 +01:00
Javier Arribas
55b1f316ed
Removing gnuradio block inheritance in FPGA acquisition
2019-03-20 16:57:50 +01:00
Marc Majoral
6da82535ba
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-03-20 16:35:55 +01:00
Carles Fernandez
8a52c20e28
Add missing override keyword
2019-03-20 15:44:59 +01:00
Javier Arribas
0be8c657de
Reducing the latency in the acquisition to tracking transition
2019-03-20 15:13:17 +01:00
Carles Fernandez
994f192636
Fix warning if put_time is not present
2019-03-19 21:11:21 +01:00
Carles Fernandez
10d73da839
Fix typo
2019-03-19 20:39:23 +01:00
Carles Fernandez
c8d27eb97c
Move contructor to the beginning of the file
2019-03-19 20:37:42 +01:00
Carles Fernandez
296d6d66c9
Move constants to implementation, fix typos in comments
2019-03-19 20:16:59 +01:00
Carles Fernandez
4bc4fb9988
Remove misleading comment
2019-03-19 19:53:51 +01:00
Javier Arribas
16ead9c613
Removing innecessary usleep
2019-03-19 18:18:44 +01:00
Marc Majoral
a24d26f427
set the default sampling frequency of the HW source to 12.5 Msps and the default bandpass bandwidth to 12.5 MHz + other minor changes
2019-03-19 10:14:09 +01:00
Carles Fernandez
3cd1e70706
Fix defects detected by Coverity Scan
2019-03-19 07:53:21 +01:00
Carles Fernandez
7fae75380f
Fix run-tests: disconnect internal async channels in destructor
2019-03-18 22:59:47 +01:00
Carles Fernandez
620f0ab77e
Remove clang-format label
2019-03-18 22:23:51 +01:00
Javier Arribas
df46cdeb65
Add missing message ports to trackings
2019-03-18 21:49:59 +01:00
Carles Fernandez
2afcbb7803
Fix warning
2019-03-18 21:47:36 +01:00
Javier Arribas
cac6fa7f84
Add missing message ports to trackings
2019-03-18 21:35:55 +01:00
Carles Fernandez
b0c19c03f3
Apply formatting
2019-03-18 19:41:41 +01:00
Marc Majoral
bef7e42fb9
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-03-18 19:37:19 +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
597ef26092
Minor fixes
2019-03-18 19:28:35 +01:00
Carles Fernandez
04bbfd3203
Improve readability
2019-03-18 19:21:33 +01:00
Javier Arribas
28786d5393
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 16:28:49 +01:00
Carles Fernandez
52c69073ac
Apply clang-tidy fixes
2019-03-18 09:10:00 +01:00
Carles Fernandez
ed9aaf86ce
Fix building, apply formatting
2019-03-18 08:43:38 +01:00
Damian Miralles
10910269f4
Merge branch 'next' into bds_b3i. Keep code up to date
2019-03-17 18:58:44 -05:00
Damian Miralles
5a4227507d
bds_b3i: fixing code with clang format
2019-03-17 18:57:45 -05:00
Damian Miralles
3136817737
bds_b3i: Adding BeiDou B3I PVT computation
2019-03-17 18:49:06 -05:00
Carles Fernandez
5e5e76bb24
Uniformize header guard names
2019-03-17 13:53:31 +01:00
Carles Fernandez
99c616e902
Use lowercase for test name
2019-03-17 10:27:30 +01:00
Damian Miralles
3f274e40d1
bds_b3i: Fixes bug with D2 data decoding in pvt computation
2019-03-16 20:57:28 -05:00
Carles Fernandez
e6931eb86d
Add header, minor cleaning
2019-03-17 02:26:34 +01:00
Carles Fernandez
4c71864319
Fix for gcc < 5.0
2019-03-16 20:30:38 +01:00
Carles Fernandez
ba73da0081
Clean includes
2019-03-16 13:44:53 +01:00
Carles Fernandez
af85778b96
Merge branch 'time-zone' into next
...
Add new parameter show_local_time_zone to diplay time in the terminal in the local time zone instead of UTC. The difference with UTC is also displayed.
2019-03-16 13:27:33 +01:00
Carles Fernandez
7c78db4550
Handle the situation when UTC info is not available
2019-03-16 12:47:36 +01:00
Carles Fernandez
16a86a4fe1
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next
2019-03-15 13:32:20 +01:00
Carles Fernandez
b6141fb3b2
Add show_local_time_zone parameter for PVT
...
PVT.show_local_time_zone=true shows local time in terminal
2019-03-15 13:31:18 +01:00
Javier Arribas
c0d2bc2414
Critical bug fix affecting Galileo E1 telemetry decoder if PLL is locked at 180 degrees
2019-03-15 13:05:20 +01:00
Carles Fernandez
b4d7716d19
Insert blank lines for doc readability
2019-03-14 19:16:51 +01:00
Damian Miralles
4948663549
bds: working on bug fix for BeiDou
2019-03-14 12:49:49 -05:00
Damian Miralles
90f8c2fe33
bds_b3i: working on bug for D1 and D2 messages
2019-03-13 17:25:37 -05:00
Damian Miralles
dc65760122
bds_b3i: Updating branch with new changes from upstream repo
2019-03-12 10:54:17 -05:00
Carles Fernandez
5940187019
Fix Doxygen annotations
2019-03-10 19:19:07 +01:00
Carles Fernandez
b10aaafb86
Improve Python detection
2019-03-10 13:53:51 +01:00
Carles Fernandez
8cb6b76651
Make the role name more uniform
2019-03-08 23:21:09 +01:00
Carles Fernandez
1ee044b5a9
Fix documentation
2019-03-08 23:20:08 +01:00
Carles Fernandez
6a24b65d64
Fix for VS
2019-03-08 10:28:04 +01:00
Damian Miralles
2b4a395dc8
bds_b3i: merging new changes, fixing D2 decoding bug
2019-03-07 09:38:49 -06:00
Carles Fernandez
5f40824c4f
Reorder includes
2019-03-07 08:28:18 +01:00
Carles Fernandez
f0424617bd
IWYU
2019-03-07 00:15:28 +01:00
Carles Fernandez
cf108a46c8
Break dependency by moving files
2019-03-06 23:59:35 +01:00
Carles Fernandez
dd7a52c93b
Fix headers
2019-03-06 21:54:39 +01:00
Carles Fernandez
755dde08e5
Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next
2019-03-06 18:47:12 +01:00
Carles Fernandez
8ac42c24b7
Improve includes (IWYU)
2019-03-06 18:45:27 +01:00
Carles Fernandez
2dfc95ae52
Improve includes (IWYU)
2019-03-06 16:56:55 +01:00
Carles Fernandez
9ce827437c
Improve includes (IWYU)
2019-03-06 16:10:18 +01:00
Carles Fernandez
502bf32d83
Improve includes (IWYU)
2019-03-06 14:36:51 +01:00
Carles Fernandez
5b8ab9f591
Improve includes (IWYU)
2019-03-06 13:49:14 +01:00
Carles Fernandez
958ed45ba5
Remove unused includes
2019-03-06 09:35:20 +01:00
Carles Fernandez
68173b0920
Apply clang-format
2019-03-06 08:54:29 +01:00
Damian Miralles
1f9911669c
Merge branch 'next' into bds_b1i_bug
2019-03-05 19:46:20 -06:00
Damian Miralles
b822bec184
bds_b1i: fixing bug with D2 messages
2019-03-05 19:45:44 -06:00
Carles Fernandez
d6ac1100e8
Remove unused / commented includes
2019-03-05 23:23:17 +01:00
Carles Fernandez
96f1823c72
No forward declaration for Gnss_Synchro
2019-03-05 23:09:02 +01:00
Damian Miralles
de964d4a77
bds_b3i: fixing bug in b1i for d2 decoding
2019-03-05 16:00:26 -06:00
Carles Fernandez
3b5b4ccf33
Improve includes with IWYU
2019-03-05 22:17:09 +01:00
Carles Fernandez
c938093f6d
Improve includes (IWYU)
2019-03-05 19:31:41 +01:00
Carles Fernandez
3f4a1dba09
Remove unused include
2019-03-05 12:53:27 +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
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
6ba77c5f28
Sort includes: include what you use
2019-03-04 08:12:50 +01:00
Carles Fernandez
2f6c123307
Fix header
2019-03-03 14:35:39 +01:00
Carles Fernandez
e7ea5c1fdd
Remove superfluous 'using google::LogMessage'
2019-03-03 13:39:35 +01:00
Carles Fernandez
5635d6a012
Fix RTCM printer for L5
2019-03-03 10:58:08 +01:00
Carles Fernandez
08ce4cdd75
Sort includes, fix coverity scan defect
2019-03-03 00:15:20 +01:00
Carles Fernandez
8525782c52
Fix memory deallocation
2019-03-02 02:48:26 +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
Damian Miralles
16e66834fa
bds_b3I: trying to fix bug with b1i pvt
2019-03-01 15:16:37 -06:00
Carles Fernandez
fcfe63ba08
Fix defects detected by coverity scan
2019-03-01 20:49:45 +01:00
Marc Majoral
5a2dc274cf
but solved: double acquisition was using uint32_t for the initial doppler estimation. Therefore when the first estimated doppler was negative it was reset to zero.
2019-03-01 20:37:14 +01:00
Damian Miralles
9ccb86dac6
Merge branch 'next' into bds_b3i
2019-03-01 13:29:10 -06:00
Damian Miralles
8782fcba69
bds_b3i: merging new changes, fixing small bugs
2019-03-01 13:28:21 -06:00
Carles Fernandez
2543b2aae2
Fix error
2019-03-01 16:59:29 +01:00
Javier
3b9f044074
Moving LOG(INFO) to DLOG(INFO) for some telemetry decoder messages
2019-03-01 16:48:10 +01:00
Carles Fernandez
e43b8f5284
Fix defects detected by Coverity Scan
2019-03-01 15:29:43 +01:00
Marc Majoral
528c79d1e7
removed unnecessary sleep instruction
2019-03-01 11:21:04 +01:00
Marc Majoral
a9c7b4113b
The switch bug is solved. Now the switch uses an absolute sample counter
2019-03-01 11:13:34 +01:00
Carles Fernandez
df0a77ee0d
Fix warnings
...
more protection on read/write failures and some code cleaning
2019-03-01 10:11:36 +01:00
Carles Fernandez
7c71ed9404
Merge branch 'fpga' of https://github.com/gnss-sdr/gnss-sdr into merge-fpga
...
Applied checks and formatting
2019-02-28 21:45:30 +01:00
Marc Majoral
ea86546d99
implemented double acquisition for the FPGA
2019-02-28 20:49:35 +01:00
Carles Fernandez
92d20d0842
Fix comparison
2019-02-28 16:39:21 +01:00
Carles Fernandez
e6d2776f1b
Replace std::deque by faster boost::circular_buffer
2019-02-28 14:10:44 +01:00
Carles Fernandez
ccc9222ebe
Replace deque by faster boost::circular_buffer
2019-02-28 13:40:09 +01:00
Marc Majoral
39e9c28024
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-02-27 17:51:17 +01:00
Javier Arribas
6c5fc8ed7c
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into observables_fix
2019-02-27 17:45:22 +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
46082e9334
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-02-27 14:40:45 +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
Carles Fernandez
17297ee18f
Fix Galileo telemetry
2019-02-27 02:09:23 +01:00
Marc Majoral
2b6e7749a8
cleaned the source code of the FPGA switch and the FPGA tracking adapters
2019-02-26 19:30:08 +01:00
Marc Majoral
5e22e4c50a
cleaned the FPGA acquisition code
2019-02-26 18:28:14 +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