Commit Graph

144 Commits

Author SHA1 Message Date
Carles Fernandez 0520d400b3 Apply clang-tidy 2019-09-11 22:31:34 +00:00
Carles Fernandez d4bb6e5731
Always have a space between // and comment 2019-08-18 22:16:13 +02:00
Carles Fernandez a0eaa67d7d
code cleaning 2019-08-17 15:47:20 +02:00
Javier Arribas e6af1a7e44 Simplifiying the RTKLIB error log and avoid msg repetitions 2019-08-16 18:24:01 +02:00
Carles Fernandez 687e3b2e47
Revert "Revert "Remove unused variable""
This reverts commit 68afadab74.
2019-08-02 07:42:25 +02:00
Carles Fernandez 68afadab74
Revert "Remove unused variable"
This reverts commit c8a03dc4af.
2019-08-01 22:03:04 +02:00
Carles Fernandez 8cb2563341
Move obs_data to private member, so we ask for memory only once 2019-08-01 21:10:02 +02:00
Carles Fernandez c8a03dc4af
Remove unused variable 2019-08-01 20:12:53 +02:00
Carles Fernandez e686c38353
Code formatting, adapt overflow fix to new variable name 2019-08-01 20:09:35 +02:00
Carles Fernandez 45c15e2d5f
Return to known state 2019-07-29 21:06:08 +02:00
Carles Fernandez e627db32eb
Remove include 2019-07-29 20:33:51 +02:00
Carles Fernandez 75aa6a3c5d
Fix for ARM 2019-07-29 20:14:31 +02:00
Carles Fernandez ecf98fc159
Another test for ARM 2019-07-29 19:40:36 +02:00
Carles Fernandez 2223a66f64
Implementation of dynamic memory for RTKLIB 2019-07-29 18:46:29 +02:00
Carles Fernandez 271399fc22
Fix bug: avoid RTKLIB memory corruption
Avoid alloc-dealloc-mismatch caused by uniqnav
Reserve memory for get_PVT as std::arrays in header file, so we do not have to ask for new memory each time we execute get_PVT
Remove unused public member count_valid_position
2019-07-28 13:59:29 +02:00
Carles Fernandez 9f8f9e8af9
Apply code cleaning before release 2019-07-28 12:01:11 +02:00
Carles Fernandez 712d9ff06b
Code uniformization 2019-07-26 15:48:29 +02:00
Carles Fernandez a4d6800e22
Update copyright year
Applied on files changed since last release
clang-format applied
2019-07-26 12:38:20 +02:00
Carles Fernandez 7436188f34 Remove unused variable 2019-07-15 12:00:11 +02:00
Carles Fernandez e820eb0bc4 Revert "Keep eph_data and geph_data as std::array"
This reverts commit d07a2c2a80.
2019-07-15 11:57:32 +02:00
Carles Fernandez d07a2c2a80 Keep eph_data and geph_data as std::array
std::vector has more overhead that is not needed here.
Remove usused variable sat
2019-07-15 10:07:15 +02:00
Carles Fernandez 0e54fad652 Merge branch 'bds_fix' of https://github.com/dmiralles2009/gnss-sdr into dmiralles2009-bds_fix 2019-07-15 09:48:31 +02:00
Damian Miralles 410269069a
bds: Bug fixes in carrier wavelength computation
Changed wavelength computation to native method within RTKLIb. The native method
 should also help in the PVT computation of GLONASS satellites as it considers
the freq. offset when computing the wavelength. This also fixes typo in tracking
 stage for MEO satellites of the BDS constellation.

Note: A similar approach to carrier wavelength computation should be applied to
the obs_data in rtk_solver. In theory, static allocation should not be needed for
the types.
2019-07-14 20:09:52 -05:00
Carles Fernandez d7460022ed
Avoid C arrays
See https://clang.llvm.org/extra/clang-tidy/checks/modernize-avoid-c-arrays.html
2019-07-14 14:09:12 +02:00
Carles Fernandez fa549b09a2
Do not produce empty files 2019-07-13 23:05:57 +02:00
Damian Miralles 00805d4b2f
Updating branch contents 2019-07-10 13:13:01 -05:00
Damian Miralles c2f4b39bb2
bds: removal of unused fields 2019-07-10 10:49:41 -05:00
Carles Fernandez 5c07423f68 Add leap second info to RTKLIB solver 2019-07-10 15:16:12 +02:00
Carles Fernandez 880818d420 Inject Iono and UTC data into RTKLIB solution 2019-07-10 12:59:39 +02:00
Carles Fernandez 29a910df30
Simplify initializations 2019-07-07 19:56:23 +02:00
Carles Fernandez ce1e160f10
Remove deletes when using Matio 2019-06-30 14:32:40 +02:00
Carles Fernandez 1cd7ca301d
Use std::array for compile-time bound checking 2019-06-28 12:26:09 +02:00
Javier Arribas e3be903b3c Fix RX time correction in Galileo-only or in mix GPS and Galileo configurations 2019-06-12 16:29:12 +02:00
Javier Arribas 33636758f1 Moving TOW crossover GPS time adjustment to convenient location 2019-05-13 12:13:35 +02:00
Javier Arribas 87e30c2fcb Fix TOW week crossover in PVT time prints and rinex obs prints 2019-05-09 18:05:46 +02:00
Carles Fernandez 31f9a87ee4
Emit mat file generation message only if there is data to save 2019-04-26 09:02:03 +02: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
Carles Fernandez ed9aaf86ce
Fix building, apply formatting 2019-03-18 08:43:38 +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 6ba77c5f28
Sort includes: include what you use 2019-03-04 08:12:50 +01:00
Carles Fernandez e7ea5c1fdd
Remove superfluous 'using google::LogMessage' 2019-03-03 13:39:35 +01:00
Carles Fernandez 62a7e54359
Introduce readability-identifier-naming check
This commit enforces naming style for Classes and global constants:
Camel_Snake_Case for Classes
UPPER_CASE for global constants
CamelCase for abstract classes
2019-02-22 10:47:24 +01:00
Carles Fernandez b5c59ee6f7
Fix defects detected by Coverity Scan 2019-02-14 22:49:36 +01:00
Carles Fernandez 719af13a33 Remove google-runtime-references check 2019-02-14 12:51:43 +01:00
Carles Fernandez 73b7341904
clang-tidy: apply readability-braces-around-statements plus code formatting
See http://releases.llvm.org/7.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability-braces-around-statements.html
Code formatting applied with:
  find ../src/ -iname *.h -o -iname *.cc | xargs clang-format -i
2019-02-11 21:13:02 +01:00
Carles Fernandez 4b2b205e21
Avoid throwing exceptions from destructors
Detected by clang-tidy check bugprone-exception-escape
2019-02-10 21:55:51 +01:00
Álvaro Cebrián Juan f635580e31 Add PVT Monitor 2019-02-04 23:03:10 +01:00
Carles Fernandez c561d7e799
Applying code formatting rules 2019-01-28 02:29:43 +01:00
Damian Miralles 0c4b8b25f1 bds_b1i: Adding new tel dec block structure 2018-12-23 12:51:28 -06:00