Skip to content
Snippets Groups Projects
Commit 7d42a010 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

gtest proc landmark external smaller steps and covariance

parent 7b677b4a
No related branches found
No related tags found
1 merge request!470Resolve "ProcessorLandmarkExternal add class and id not mandatory"
Pipeline #17513 canceled
...@@ -211,7 +211,7 @@ void ProcessorLandmarkExternalTest::randomStep() ...@@ -211,7 +211,7 @@ void ProcessorLandmarkExternalTest::randomStep()
MatrixXd delta_cov; MatrixXd delta_cov;
if (dim == 2) if (dim == 2)
{ {
delta = Vector2d::Random() * 5; delta = Vector2d::Random() * 0.1;
delta_cov = Matrix2d::Identity() * 0.1; delta_cov = Matrix2d::Identity() * 0.1;
} }
else else
...@@ -260,8 +260,8 @@ CaptureLandmarksExternalPtr ProcessorLandmarkExternalTest::computeCaptureLandmar ...@@ -260,8 +260,8 @@ CaptureLandmarksExternalPtr ProcessorLandmarkExternalTest::computeCaptureLandmar
.coeffs(); .coeffs();
} }
// cov // cov
MatrixXd cov = MatrixXd::Identity(meas.size(), meas.size()); MatrixXd cov = 0.01 * MatrixXd::Identity(meas.size(), meas.size());
if (orientation and dim != 2) cov = MatrixXd::Identity(6, 6); if (orientation and dim != 2) cov = 0.01 * MatrixXd::Identity(6, 6);
// quality // quality
double quality = (double)i / (double)(landmarks.size() - 1); // increasing from 0 to 1 double quality = (double)i / (double)(landmarks.size() - 1); // increasing from 0 to 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment