Improve prior mechanism for tests
Use case:
comment out these lines in hello_wolf_autocinf.cpp
:
// APPLY PRIOR and SET PROCESSOR ODOM ORIGIN ===================================================
TimeStamp t(0.0);
// FrameBasePtr KF1 = problem->applyPriorOptions(t);
// std::static_pointer_cast<ProcessorMotion>(problem->getMotionProviderMap().begin()->second)->setOrigin(KF1);
produces a segfault.
Having especially the last line as mandatory is really ugly. We must think of a nicer solution.