mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 20:20:35 +00:00
Revert "Keep eph_data and geph_data as std::array"
This reverts commit d07a2c2a80
.
This commit is contained in:
parent
c9c791a284
commit
e820eb0bc4
@ -443,8 +443,8 @@ bool Rtklib_Solver::get_PVT(const std::map<int, Gnss_Synchro> &gnss_observables_
|
|||||||
int glo_valid_obs = 0; // GLONASS L1/L2 valid observations counter
|
int glo_valid_obs = 0; // GLONASS L1/L2 valid observations counter
|
||||||
|
|
||||||
std::array<obsd_t, MAXOBS> obs_data{};
|
std::array<obsd_t, MAXOBS> obs_data{};
|
||||||
std::array<eph_t, MAXOBS> eph_data{};
|
std::vector<eph_t> eph_data(MAXOBS);
|
||||||
std::array<geph_t, MAXOBS> geph_data{};
|
std::vector<geph_t> geph_data(MAXOBS);
|
||||||
|
|
||||||
// Workaround for NAV/CNAV clash problem
|
// Workaround for NAV/CNAV clash problem
|
||||||
bool gps_dual_band = false;
|
bool gps_dual_band = false;
|
||||||
@ -827,6 +827,7 @@ bool Rtklib_Solver::get_PVT(const std::map<int, Gnss_Synchro> &gnss_observables_
|
|||||||
if ((valid_obs + glo_valid_obs) > 3)
|
if ((valid_obs + glo_valid_obs) > 3)
|
||||||
{
|
{
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
int sat = 0;
|
||||||
nav_t nav_data{};
|
nav_t nav_data{};
|
||||||
nav_data.eph = eph_data.data();
|
nav_data.eph = eph_data.data();
|
||||||
nav_data.geph = geph_data.data();
|
nav_data.geph = geph_data.data();
|
||||||
|
Loading…
Reference in New Issue
Block a user