1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 12:10:34 +00:00
Commit Graph

1917 Commits

Author SHA1 Message Date
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
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
Carles Fernandez
0c03d36093 Fix test 2017-07-07 12:38:24 +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
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
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
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
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
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
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