Skip to content

Commit

Permalink
Inflate instead of deflating the covariance for target observation un…
Browse files Browse the repository at this point in the history
…certainty
  • Loading branch information
Guilherme Lawless committed Jan 11, 2017
1 parent ae58171 commit edb2ee5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pfuclt_particles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,8 @@ void ParticleFilter::fuseTarget()
Z_Zcap[1] = Z[1] - Zcap[1];
Z_Zcap[2] = Z[2] - Zcap[2];

expArg = -0.5 * (Z_Zcap[0] * Z_Zcap[0] / (3 * obs->covXX) +
Z_Zcap[1] * Z_Zcap[1] / (3 * obs->covYY) +
expArg = -0.5 * (Z_Zcap[0] * Z_Zcap[0] / (.3 * obs->covXX) +
Z_Zcap[1] * Z_Zcap[1] / (.3 * obs->covYY) +
Z_Zcap[2] * Z_Zcap[2] * 10.0);
detValue =
1.0; // pow((2 * M_PI * obs->covXX * obs->covYY * 10.0), -0.5);
Expand Down

0 comments on commit edb2ee5

Please sign in to comment.