Skip to content
Snippets Groups Projects
Commit 1b578ed3 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Avoid local minima with lower perturbation

parent 3efa6fc5
No related branches found
No related tags found
No related merge requests found
......@@ -166,7 +166,7 @@ int main()
// PERTURB initial guess
for (auto kf : problem->getTrajectoryPtr()->getFrameList())
kf->setState(Vector3s::Random()); // We perturb A LOT !
kf->setState(Vector3s::Random() * 0.5); // We perturb A LOT !
for (auto lmk : problem->getMapPtr()->getLandmarkList())
lmk->getPPtr()->setState(Vector2s::Random()); // We perturb A LOT !
......
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