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

hotfix setprior

parent 2def2637
No related branches found
No related tags found
No related merge requests found
Pipeline #5294 failed
...@@ -141,8 +141,9 @@ int main() ...@@ -141,8 +141,9 @@ int main()
TimeStamp t(0.0); // t : 0.0 TimeStamp t(0.0); // t : 0.0
Vector3d x(0,0,0); Vector3d x(0,0,0);
Matrix3d P = Matrix3d::Identity() * 0.1; Matrix3d P = Matrix3d::Identity() * 0.1;
FrameBasePtr KF1 = problem->setPriorFactor(x, P, t, 0.5); // KF1 : (0,0,0) //FrameBasePtr KF1 = problem->setPriorFactor(x, P, 0.5); // KF1 : (0,0,0)
std::static_pointer_cast<ProcessorMotion>(processor)->setOrigin(KF1); //std::static_pointer_cast<ProcessorMotion>(processor)->setOrigin(KF1);
problem->setPriorOptions("factor", 0.5, x, P);
// SELF CALIBRATION =================================================== // SELF CALIBRATION ===================================================
......
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