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

1989 Commits

Author SHA1 Message Date
Carles Fernandez
73b6613a3d Declare more data members private 2017-08-16 13:44:31 +02:00
Carles Fernandez
6eca73d9ce Declare more data members private 2017-08-16 13:42:46 +02:00
Carles Fernandez
c1bbdd74d4 Declare all Pvt_Solution data members private 2017-08-16 12:45:00 +02:00
Carles Fernandez
6c19437520 Pass map of observables by reference 2017-08-16 01:01:59 +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
e2f02a50f0 Use const container calls when result is immediately converted to a const iterator 2017-08-15 22:15:21 +02:00
Carles Fernandez
87baa04ef9 Remove unrequired headers 2017-08-15 14:21:05 +02:00
Carles Fernandez
99f5c69afc Catch all exceptions 2017-08-15 12:47:58 +02:00
Carles Fernandez
f8c7f1422b Remove unrequired includes 2017-08-15 03:21:43 +02:00
Carles Fernandez
209c554896 Remove unrequired and redundant includes 2017-08-15 03:16:41 +02:00
Carles Fernandez
8a2d21cc40 Use random library instead of rand() 2017-08-15 02:50:11 +02:00
Carles Fernandez
f0e6d6cbfa Fix possible memory leaks 2017-08-15 00:04:51 +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
174bba55fc Remove blank 2017-08-13 17:32:01 +02:00
Carles Fernandez
d6fec67489 Replace use of strlen and strncpy by C++ counterparts 2017-08-13 10:57:54 +02:00
Carles Fernandez
77eb09c2a7 Remove uneeded stdio.h 2017-08-13 10:01:10 +02:00
Carles Fernandez
5f181ef915 Replace stdio.h by fstream 2017-08-13 10:00:01 +02:00
Carles Fernandez
59164c33bd Remove unneded cstdlib include 2017-08-12 15:52:23 +02:00
Carles Fernandez
e8f401911f Fix test 2017-08-12 14:25:53 +02:00
Carles Fernandez
9b8b0eb726 Fix building of extra tests in Debian 9 2017-08-12 13:22:54 +02:00
Carles Fernandez
02ea8acbfd Always initialize elapsed_seconds
It was causing warnings in GCC. Some code style applied.
2017-08-11 13:11:38 +02:00
Carles Fernandez
eb53c36594 ·Add missing include 2017-08-11 05:50:06 +02:00
Carles Fernandez
18cd7daa09 Eliminate ctime library. Replaced by chrono or boost::date_time 2017-08-11 05:18:38 +02:00
Carles Fernandez
ed5191fc54 Clean headers. C++ libraries preferred over C libraries 2017-08-10 15:34:38 +02:00
Carles Fernandez
3dd3c2f444 Enable building with Clang in Linux 2017-08-07 11:08:05 +02:00
Carles Fernandez
7bb3581f4b Improve buffer handling. Remove warnings raised by gcc 7.1 2017-08-06 10:32:12 +02:00
Carles Fernandez
a7fbde50e6 Improve buffer handling. Remove warnings raised by gcc 7.1 2017-08-06 10:26:56 +02:00
Carles Fernandez
727f4d7d0d Remove gcc warning and apply coding style 2017-08-05 12:47:52 +02:00
Javier Arribas
365ff3a18b Observable unit test updated and upgraded to test both code and carrier phase observables. It requires the latest version of gnss-sim, please update the simulator 2017-08-03 17:58:11 +02:00
Javier Arribas
d4c9d378c9 Adjusting observable block default buffer history 2017-08-03 17:52:42 +02:00
Javier Arribas
1bcbe87676 Fix code style 2017-08-02 14:43:38 +02:00
Javier Arribas
2f1eff026d Fix code style 2017-08-02 14:32:16 +02:00
Javier Arribas
1574e277d7 Temporary bug fix related to the GPS L1 C/A symbol TOW assignation. Position accuracy improvement confirmed. In-deep review is being done 2017-08-01 17:03:31 +02:00
Carles Fernandez
94a4a0fdcf Improve destructors 2017-07-29 00:25:43 +02:00
Javier Arribas
ceef915de7 Improving observables binary dump 2017-07-28 18:24:36 +02:00
Carles Fernandez
095e049558 Apply coding style 2017-07-25 16:51:44 +02:00
Carles Fernandez
8258a343af Apply coding style to new destructors 2017-07-25 16:50:22 +02:00
Carles Fernandez
edd675ade9 Merging 2017-07-25 16:28:56 +02:00
Carles Fernandez
648956ea65 Make code more readable 2017-07-25 16:26:23 +02:00
Javier Arribas
4642408066 Adding exception handlings to tracking destructor operations 2017-07-25 16:12:10 +02:00
Carles Fernandez
1dda344e46 Fix -Wmisleading-indentation warning 2017-07-23 23:40:40 +02:00
Carles Fernandez
196d84aca3 Fix telemetry test 2017-07-12 21:54:47 +02:00
Carles Fernandez
4ba0dd63cb Update PVT block name 2017-07-12 21:25:15 +02:00
Carles Fernandez
a298013a23 Fix bug reading tracking dump file 2017-07-12 21:24:47 +02:00
Carles Fernandez
367d65a536 Fix defect 2017-07-12 21:01:46 +02:00
Carles Fernandez
f3d0435c37 Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next 2017-07-12 20:31:29 +02:00
Carles Fernandez
d1828721cf Fix bugs and defects detected by Coverity Scan 2017-07-12 20:12:33 +02:00
Carles Fernandez
7bc57587d8 Fix bugs and defects detected by coverity scan 2017-07-12 20:02:34 +02:00
Carles Fernandez
ec83f384bf Add minor fixes 2017-07-12 10:01:20 +02:00
Antonio Ramos
8f1fcb382a Improved Pulse Blanking Filter
Number of signal segments for estimating the noise power is passed now as a parameter in the configuration file
2017-07-12 09:12:56 +02:00
Carles Fernandez
92cc773067 Add DataTypeAdapter tests to make check 2017-07-11 12:52:45 +02:00
Carles Fernandez
15a807380e List Unpack2bitSamplesTest 2017-07-11 12:51:19 +02:00
Carles Fernandez
d7e6b5a941 Add include required by make check 2017-07-11 12:50:20 +02:00
Carles Fernandez
f84fe9e31f Avoid underscores in Test Cases and Test Names
According to
    https://github.com/google/googletest/blob/master/googletest/docs/FAQ.md#why-should-not-test-case-names-and-test-names-contain-underscore
2017-07-11 12:22:05 +02:00
Carles Fernandez
d89be37c4a Fix tests 2017-07-11 11:56:54 +02:00
Carles Fernandez
39253893d4 Add missing include 2017-07-11 08:59:54 +02:00
Carles Fernandez
d469961f09 Fix test 2017-07-11 00:31:40 +02:00
Carles Fernandez
e8598e2dd7 Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next 2017-07-11 00:10:37 +02:00
Carles Fernandez
51cd1d0c29 Add unit tests for Data Type Adapter blocks 2017-07-10 23:59:18 +02:00
Antonio Ramos
cbe54da10f Beta version Pulse Blanking Filter
First version of the pulse blanking input filter
2017-07-10 12:53:26 +02:00
Antonio Ramos
0b8e3c9399 New noise floor power estimation in notch filter
In this version, the noise floor power is estimated via a VOLK Kernel
2017-07-10 09:48:38 +02:00
Carles Fernandez
0c03d36093 Fix test 2017-07-07 12:38:24 +02:00
Antonio Ramos
119c8c1966 Notch filter solved problems
Segmentation fault due to pointers in the notch filter gnu radio block solved
2017-07-07 11:48:54 +02:00
Carles Fernandez
e7149acf6e Better use of Test Case name 2017-07-03 12:43:25 +02:00
Carles Fernandez
b1f880c19a Fix test 2017-07-03 12:42:22 +02:00
Carles Fernandez
130de7acac Avoid underscores in Test Cases and Test Names
According to
https://github.com/google/googletest/blob/master/googletest/docs/FAQ.md#why-should-not-test-case-names-and-test-names-contain-underscore
2017-06-25 23:59:47 +02:00
Carles Fernandez
40f02e30c2 Avoid underscores in Test Cases and Test Names
According to
https://github.com/google/googletest/blob/master/googletest/docs/FAQ.md#why-should-not-test-case-names-and-test-names-contain-underscore
2017-06-25 22:53:11 +02:00
Antonio Ramos
d67d9b270e Improved multistate notch filter
Better managing of the system memory
2017-06-23 11:34:02 +02:00
Carles Fernandez
caae643462 Workaround for CMake < 3.2 (e.g. Ubuntu 15.04) 2017-06-22 20:17:37 +02:00
Carles Fernandez
54c4f595b2 Fix GPSTk building with Ninja 2017-06-21 15:41:04 +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
Antonio Ramos
7fba751a49 Beta version of notch input filter
Beta version of general_work method implemented
2017-06-20 18:56:26 +02:00
Antonio Ramos
cf516566d6 New lines in notch filter files
Adapter is ready and gnuradio block in progress
2017-06-19 15:51:57 +02:00
Antonio Ramos
93de803b41 GetBlock method modification
Adding Notch_Filter to the list of implementations
2017-06-19 15:40:40 +02:00
Carles Fernandez
3cec11ed0e Merge pull request #55 from odrisci/fix_54
[WIP] fix for #54
2017-06-17 10:29:30 +02:00
Carles Fernandez
89d8a3af0e Include libs path if not already present 2017-06-17 09:57:01 +02:00
Cillian O'Driscoll
c1d798ae37 [WIP] fix for #54
two_bit_packed_file_signal_source: ensure all blocks have the right item size for both real and complex
outputs
2017-06-16 22:37:54 +01:00
Carles Fernandez
e7cacc228e Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next 2017-06-16 21:25:44 +02:00
Carles Fernandez
61b41bf3a8 Add PRN in binary data written by Tracking blocks if dump=true
Matlab scripts updated
2017-06-16 21:24:14 +02:00
Antonio Ramos
70dc68b984 Several changes in notch input filter adapter
Re-definition of the adapter
2017-06-16 13:55:15 +02:00
Antonio Ramos
3ed545ac3f Minor changes in notch filter files 2017-06-15 10:00:20 +02:00
Carles Fernandez
7b4f65476c Remove/add blank lines 2017-06-13 11:25:37 +02:00
Carles Fernandez
9863c680f1 Merge branch 'next_fpga' of https://github.com/gnss-sdr/gnss-sdr into next 2017-06-13 11:14:35 +02:00
Carles Fernandez
37998c11a4 Add more consistancy in Telemetry messages 2017-06-12 19:22:52 +02:00
Carles Fernandez
0b3a8a081d Add consistency on messages from different tracking blocks 2017-06-12 17:49:08 +02:00
Carles Fernandez
d80e436fc2 Add missing include (for O_WRONLY) 2017-06-12 17:47:20 +02:00
Antonio Ramos
2731be3939 Adding some lines to notch_filter.h
Coding the class NotchFilter
2017-06-09 14:12:55 +02:00
Antonio Ramos
4c52774da1 Including notch filter header to GNSSBlockFactory
Adding #include "notch_filter.h"
2017-06-09 14:11:20 +02:00
mmajoral
9a7bd7ffb4 adopted code style + did some code refactoring 2017-06-08 17:29:45 +02:00
mmajoral
e3b2319568 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next_fpga 2017-06-08 16:18:16 +02:00
Carles Fernandez
9f70940114 Small fix 2017-06-07 20:41:56 +02:00
Carles Fernandez
937238b0a6 Fix uncaught exception 2017-06-07 20:34:33 +02:00
Carles Fernandez
ed041c00b8 Fix out-of-bound read 2017-06-07 20:12:49 +02:00
Carles Fernandez
25508cf833 Fix null pointer dereference 2017-06-07 19:42:38 +02:00
Carles Fernandez
dfa11ab364 Fix out-of-bound access 2017-06-07 19:41:32 +02:00
Carles Fernandez
ac9ceb7c53 Fix random generator usage 2017-06-07 17:51:16 +02:00
Carles Fernandez
9e77789d8d Small fix 2017-06-07 17:33:59 +02:00
Carles Fernandez
d3fbfb38db Fix uncatched exception 2017-06-07 17:32:37 +02:00
Carles Fernandez
8aa7140f19 Avoid the use of rand() 2017-06-07 17:28:11 +02:00
Carles Fernandez
21bf5291f9 Fix defects detected by coverity scan 2017-06-07 16:39:27 +02:00
Carles Fernandez
e1c0227bb9 Avoid the use of rand() 2017-06-07 16:37:47 +02:00
Carles Fernandez
0b2b0fceac Fix defects detected by coverity scan 2017-06-07 15:02:14 +02:00
Carles Fernandez
2253b29bf1 Fix defects detected by coverity scan 2017-06-07 14:51:26 +02:00
Carles Fernandez
efc6082722 Fix defects detected by coverity scan 2017-06-07 12:11:16 +02:00
Carles Fernandez
0047595373 Fix defects detected by coverity scan 2017-06-06 18:27:54 +02:00
Carles Fernandez
5231c9e94b Fix some defects detected by coverity scan 2017-06-06 17:49:40 +02:00
Carles Fernandez
14b242eafa Initialization of class member in the constructor 2017-06-06 15:46:34 +02:00
Carles Fernandez
1f356ffcdf Fix computation of sample stamp 2017-06-06 15:45:43 +02:00
Carles Fernandez
4d34ccfd07 Initialization of class member in the constructor 2017-06-06 15:32:57 +02:00
Carles Fernandez
d8b0830b46 Fix wrong comparison 2017-06-06 15:29:32 +02:00
Carles Fernandez
646a0b0fd4 Remove unused class members 2017-06-06 15:22:23 +02:00
Carles Fernandez
caaaebc420 Sort input files 2017-06-06 12:32:24 +02:00
Antonio Ramos
405d9dea5c Modifying notch filter files
Little changes in the files
2017-06-05 17:00:33 +02:00
Javier
f69cc2491c Adding UHD device filter by serial number option 2017-05-31 11:45:26 +02:00
mmajoral
b89f718f20 updated checklists and removed a debug printout 2017-05-31 10:08:34 +02:00
mmajoral
a273a4be2b Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next_fpga 2017-05-30 15:21:17 +02:00
mmajoral
cc40f5c25c bug fix: removed call to set_local_code() from the init() function. This prevents the function set_local_code() from being called twice, with an invalid PRN during the first call 2017-05-30 14:57:33 +02:00
Antonio Ramos
75a0019896 Adding notch filter files
Creation of empty files for notch input filter
2017-05-28 18:08:03 +02:00
Carles Fernandez
9f7e9f9a86 Expose Earth tide correction to user configuration 2017-05-24 15:43:32 +02:00
mmajoral
08c777968a Revert "Revert "removed non used parameter Flag_preamble""
This reverts commit f668f415d6.
2017-05-24 15:12:52 +02:00
mmajoral
f668f415d6 Revert "removed non used parameter Flag_preamble"
This reverts commit 2f9885c5bd.
2017-05-24 15:11:27 +02:00
mmajoral
2a0b874a02 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next_fpga 2017-05-24 12:26:27 +02:00
mmajoral
2f9885c5bd removed non used parameter Flag_preamble 2017-05-24 12:20:04 +02:00
Carles Fernandez
20592f29a9 Expose reject_GPS_IIA parameter to user configuration 2017-05-24 12:14:52 +02:00
mmajoral
adde064ff4 removed non used configuration parameter 2017-05-24 11:11:58 +02:00
mmajoral
75056ba8af removed non used variable 2017-05-24 10:40:00 +02:00
mmajoral
90ac5938dc all the class elements are initialized in the constructor 2017-05-24 10:03:58 +02:00
Carles Fernandez
6e179decde Expose RAIM algorithm to user configuration 2017-05-24 09:55:45 +02:00
mmajoral
0966ea9dca code refactoring 2017-05-23 18:12:22 +02:00
Carles Fernandez
35c2b0248a Expose more RTKLIB configuration parameters 2017-05-23 09:44:48 +02:00
Carles Fernandez
44bca3cb6f Print matrices in logs (using the flag --v=5 ) 2017-05-19 10:59:51 +02:00
Carles Fernandez
639a41c36b Remove unused variable 2017-05-19 09:11:12 +02:00
Carles Fernandez
a7c9fd657c Position file now admits a configuration file
e.g.:

../install/position_test --config_file_ptest=../conf/gnss-sdr.conf
2017-05-19 08:39:48 +02:00
mmajoral
cbe20c0920 refactoring code 2017-05-18 17:10:28 +02:00
Javier Arribas
81a1712082 Removing the GNURadio sample forecast requirements from telemetry decoders, thus to reduce the positioning delay and alleviate the GNURadio buffering requirements 2017-05-17 12:48:57 +02:00
Javier Arribas
641b2cd53b Temporary bug fix in observables (fixes some glitches in GPS L1 CA position) 2017-05-16 18:56:05 +02:00
Carles Fernandez
16561a5f14 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2017-05-16 18:47:04 +02:00
Javier Arribas
e1873a408d Removing the sample forecast requirements on Galileo E1 telemetry decoder 2017-05-16 18:26:29 +02:00
Carles Fernandez
4c7a176d96 Avoid name clashing 2017-05-15 18:13:26 +02:00
Carles Fernandez
b780abf563 Free rtk struct in the destructor 2017-05-15 14:38:01 +02:00
Carles Fernandez
f07259e31f Fix rtk initialization 2017-05-15 13:01:48 +02:00
Carles Fernandez
f3a41d4569 Fix indentation 2017-05-14 19:59:55 +02:00
Carles Fernandez
5aec42ddef Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2017-05-14 19:00:34 +02:00
Carles Fernandez
96f3599a29 Stylishing code 2017-05-13 21:08:42 +02:00
Carles Fernandez
84c13a5e2a Fix more warnings in gcc 2017-05-13 20:52:48 +02:00
Carles Fernandez
1b25d14b4c Work on initializations 2017-05-13 20:25:38 +02:00
Carles Fernandez
1b4cfad57d Activate compilation of RTCM decoding functions 2017-05-13 20:01:08 +02:00
Carles Fernandez
495813c969 Fix more warnings 2017-05-13 19:35:20 +02:00
Carles Fernandez
cc392fdde2 Fix more warnings 2017-05-13 19:17:09 +02:00
Carles Fernandez
2d273ba131 Fix more warnings in gcc 2017-05-13 13:13:11 +02:00