1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-04 17:16:26 +00:00
Commit Graph

4064 Commits

Author SHA1 Message Date
Javier Arribas
4b348fcdc2 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into rx_clock_correction 2019-04-25 13:00:48 +02:00
Carles Fernandez
68b3deb01b Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2019-04-25 10:42:16 +02:00
Carles Fernandez
f5f255b28d Fix building with new version of GNU Radio 3.7.13.5 maint 2019-04-25 10:41:57 +02:00
Carles Fernandez
50d4db9c05 Add a simple CN0 smoother 2019-04-25 08:50:21 +02:00
Carles Fernandez
503fd688f7
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2019-04-24 20:54:06 +02:00
Carles Fernandez
69e6816392
Make coexistence of different instances of gnss-sdr in the same machine easier
If the user forgot to set parameter PVT.rtcm_output_file_enabled to false in the configuration file, this raised up the RTCM server even if flag_rtcm_server was set to false, thus preventing the execution of more than one instance of gnss-sdr in the same machine. By setting the default value of rtcm_output_file_enabled to false, just letting the PVT.flag_rtcm_server parameter to get its default value, which is false, enables more than one instance in the same host machine. This also alleviates by default optional processing load in embedded devices
2019-04-24 20:51:01 +02:00
Carles Fernandez
52ae97ed4e Fix serialization 2019-04-24 15:50:53 +02:00
Carles Fernandez
fa4460038e
Fix warning: logical not is only applied to the left hand side of this comparison 2019-04-24 01:19:43 +02:00
Javier Arribas
485027b7af Implementing RX clock correction feedback in PVT and Observables 2019-04-23 17:31:26 +02:00
Javier Arribas
2e69b62ac0 Fix return void in non-void function 2019-04-23 12:32:12 +02:00
Javier Arribas
547559c0b8 Improving GPS L1 CA telemetry decoder 2019-04-23 12:27:18 +02:00
Carles Fernandez
e0f3fe66f0
Merge branch 'protobuf' into next 2019-04-22 18:50:26 +02:00
Carles Fernandez
307373e362
Avoid unnecessary copy of channel_fsm 2019-04-22 13:03:01 +02:00
Carles Fernandez
6c9154aede
Expose usage of Protocol Buffers to the configuration 2019-04-21 13:30:59 +02:00
Carles Fernandez
2cba1c5e0a
Add test for the serdes_monitor_pvt class 2019-04-21 11:46:33 +02:00
Carles Fernandez
81af865585
Use range for 2019-04-21 09:45:46 +02:00
Carles Fernandez
2b45256ff1
Reorder files 2019-04-20 22:07:35 +02:00
Carles Fernandez
b499983526
Fix comparison 2019-04-20 19:16:40 +02:00
Carles Fernandez
347d212d6c
Serialize Monitor_Pvt data with Protocol Buffers 2019-04-20 18:50:22 +02:00
Carles Fernandez
811cdc9693
Use Protocol Buffers for data serialization 2019-04-20 11:52:00 +02:00
Javier Arribas
35b5ec1112 optimization in Galileo E1/E5 TLM decoder state machine 2019-04-16 10:08:56 +02:00
Javier Arribas
5e5c85ef99 optimization in GPS L1 TLM decoder 2019-04-16 10:08:22 +02:00
Javier Arribas
f8146e5a3f GPS L1 TLM decoder state machine optimization 2019-04-16 09:47:26 +02:00
Marc Majoral
bf3f66278f closed the acquisition device driver in the proper way + updated fpga block expponent. 2019-04-15 16:39:05 +02:00
Carles Fernandez
7fc8d53508
Remove double assignment. Fixes #266 2019-04-14 13:01:59 +02:00
Marc Majoral
059fbfedc2 changed default fft/ifft block exp 2019-04-12 15:26:47 +02:00
Marc Majoral
7a06434928 removed unnecessary function in fpga_acquisition class 2019-04-12 15:16:31 +02:00
Marc Majoral
74719311bc Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-04-12 14:46:37 +02:00
Carles Fernandez
35c42c41d7
Stop the Labsat_Signal_Source when the end of file is reached. This allows to use this source for automated testing.
Now the block also accepts directly *.ls2 names in filename parameter

Remove samples parameter, it was not used. This source reads the full file(s).

Make labsat23_source constructor private, so only the smart pointer wrapper can be called
2019-04-12 12:59:57 +02:00
Marc Majoral
9f80eaf0ff code cleanup 2019-04-12 11:36:30 +02:00
Marc Majoral
a628ad5906 removed FPGA dummy read 2019-04-12 10:03:57 +02:00
Marc Majoral
692978f66b updated the PLL/DLL initialisation according to the latest changes in dll_pll_veml_tracking.cc 2019-04-11 11:44:00 +02:00
Marc Majoral
19e46a2ebf Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-04-10 19:53:45 +02:00
Marc Majoral
1a3305fc5b static cast 2019-04-10 19:40:34 +02:00
Marc Majoral
2555f26238 use of d_preamble_length_symbols 2019-04-10 17:18:27 +02:00
Marc Majoral
824dcebec2 immediate call to state 2 (Wide tracking and symbol synchronization) removed from pull-in state. 2019-04-10 16:53:03 +02:00
Marc Majoral
91f509abf9 write the code phase rate and the nco phase rate parameters in the FPGA 2019-04-10 11:31:34 +02:00
Carles Fernandez
b315118654
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2019-04-10 08:29:34 +02:00
Javier Arribas
a79280d029 FPGA compilation error fix 2019-04-09 20:01:30 +02:00
Carles Fernandez
74bedb6367
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2019-04-09 18:34:07 +02:00
Javier Arribas
5673533e5a Common reception time now is not reasigned when the reference satellite has changed, thus, avoiding discontinuities 2019-04-09 17:56:03 +02:00
Javier Arribas
1d059dda15 Removing debug code 2019-04-09 17:49:46 +02:00
Javier Arribas
141e101363 Bug fix that restores the acquisition and tracking destructor calls due to circular smart pointer references 2019-04-09 17:39:48 +02:00
Javier Arribas
226edca17c Improving tracking loop filter initialization 2019-04-09 17:36:05 +02:00
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
Javier Arribas
2290a75eeb Relaxing resampler low pass filter for automatic acquisition resampler 2019-04-09 12:01:01 +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
89c8f3eac9 Improving tracking plot script 2019-04-03 16:04:09 +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
fdf86ef75b Adjusting the optimal bandwidth for the automatic acquisition resampler in GPS L1 and L2C 2019-04-03 15:27:26 +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
Carles Fernandez
ae7686d4ad
Fix reading of environment variables 2019-04-02 03:31:46 +02:00
Carles Fernandez
8bce979242
Clean scripts. Prevent in-tree build 2019-04-02 02:41:20 +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
dc6876e1c9 Adding null sinks to unconnected signal conditioners automatically to enable partial use of multichannel sources 2019-03-29 17:36:05 +01: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
0f2e350d3c
Apply code formatting 2019-03-26 23:05:18 +01:00
Carles Fernandez
b6cb3c6a08
Move Beidou acq tests to extra, since they need binary files. Make those files downloadable from Sourceforge 2019-03-26 23:04:08 +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
Carles Fernandez
5d423f3c59
Fix overflow 2019-03-19 19:51:54 +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
2f14432067
Apply formatting 2019-03-18 19:50:02 +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
b409f1c15e
Fix copyright year 2019-03-17 14:07:42 +01: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
Javier Arribas
3a399629ee Bug fix in MATLAB tracking dump reader 2019-03-15 12:59:32 +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
c87a9ddc9a
Remove character so it does not break LaTeX compilation 2019-03-09 09:26:32 +01:00
Carles Fernandez
0c7ec44cdb
Generate CMake summary report 2019-03-09 01:39:32 +01:00
Carles Fernandez
8cb6b76651
Make the role name more uniform 2019-03-08 23:21:09 +01:00