Commit Graph

154 Commits

Author SHA1 Message Date
Carles Fernandez 5a3db5a53d
Add debug internal logging for destructors. Sort destructor order 2020-06-25 02:50:07 +02:00
Carles Fernandez 4d0d263280
Make the software package compliant with the REUSE Specification v3.0 (see https://reuse.software/spec/)
Update license headers to SPDX format (see https://spdx.org/)
Add license to all files
Add CI job in GitHub Actions to ensure compliance
2020-02-08 01:20:02 +01:00
Carles Fernandez 85c4786528 Apply clang-format 2019-11-05 14:43:41 +01:00
Cillian O'Driscoll 2a57b6e8d5 Added user_clk_drift_ppm to monitor_pvt 2019-11-05 09:45:11 +00:00
Cillian O'Driscoll 828d3cd525 [WIP] Adding velocity and clock drift 2019-11-05 09:17:41 +00:00
Cillian O'Driscoll f9f7884d05 Applied clang-format to the previous commit 2019-11-05 09:17:41 +00:00
Cillian O'Driscoll 216e8dfa26 Added velocity and clock drift to PVT
Interestingly RTKLIB does not store the clock drift in its sol_t
datatype, so I added this to the unused element dtr[5]. This may not be
compatible with future versions of RTKLIB.

Here we store velocity in ENU coordinates and the clock drift in parts
per million (PPM)
2019-11-05 09:17:41 +00:00
Carles Fernandez 0c2efce10a Replace custom_year parameter name and type by bool pre_2009_file to process files dated from 1999 to 2009 2019-09-18 18:25:07 +02:00
Javier ad51654fbf Adding global configuration option to specify a custom year in order to postprocess old GNSS captures and avoid wrong week rollover 2019-09-13 16:36:41 +02:00
Carles Fernandez e80122f4ff
Apply clang tidy checks and clang-format 2019-09-13 08:56:37 +02:00
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