Commit Graph

1358 Commits

Author SHA1 Message Date
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 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 77eb09c2a7 Remove uneeded stdio.h 2017-08-13 10:01:10 +02:00
Carles Fernandez 59164c33bd Remove unneded cstdlib include 2017-08-12 15:52:23 +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 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 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
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
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 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 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