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

Fix size of covariance matrices

This commit is contained in:
Carles Fernandez 2017-05-04 09:39:35 +02:00
parent 0a4f6cf499
commit 4c1f3f1de9

View File

@ -306,8 +306,6 @@ RtklibPvt::RtklibPvt(ConfigurationInterface* configuration,
double sigma_pos = configuration->property(role + ".sigma_pos", 0.0);
snrmask_t snrmask = { {}, {{},{}} };
sbssat_t sbssat;
sbsion_t sbsion[MAXBAND+1] = {};
prcopt_t rtklib_configuration_options = {positioning_mode, /* positioning mode (PMODE_XXX) see src/algorithms/libs/rtklib/rtklib.h */
0, /* solution type (0:forward,1:backward,2:combined) */
@ -398,9 +396,9 @@ RtklibPvt::RtklibPvt(ConfigurationInterface* configuration,
if(positioning_mode >= PMODE_PPP_KINEMA) nx = NX_PPP(&rtklib_configuration_options);
int na = NR_PPP(&rtklib_configuration_options);
double x[nx];
double Px[nx];
double Px[nx*nx];
double xa[na];
double Pa[na];
double Pa[na*na];
rtk = { sol_, /* RTK solution */
{}, /* base position/velocity (ecef) (m|m/s) */
nx, /* number of float states */