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

Fix call to emplaceFrame() and stateZero()

parent bde0eaac
No related branches found
No related tags found
1 merge request!366Resolve "Complete state vector new data structure?"
Pipeline #5487 passed
...@@ -572,7 +572,7 @@ TEST(SolverManager, MultiThreadingTruncatedNotifications) ...@@ -572,7 +572,7 @@ TEST(SolverManager, MultiThreadingTruncatedNotifications)
while (true) while (true)
{ {
// Emplace Frame, Capture, feature and factor pose 2d // Emplace Frame, Capture, feature and factor pose 2d
FrameBasePtr F = P->emplaceFrame(KEY, P->zeroState(), TimeStamp(0)); FrameBasePtr F = P->emplaceFrame(KEY, TimeStamp(0), P->stateZero());
auto C = CaptureBase::emplace<CaptureVoid>(F, 0, nullptr); auto C = CaptureBase::emplace<CaptureVoid>(F, 0, nullptr);
auto f = FeatureBase::emplace<FeatureBase>(C, "FeaturePose2d", Vector3d::Zero(), Matrix3d::Identity()); auto f = FeatureBase::emplace<FeatureBase>(C, "FeaturePose2d", Vector3d::Zero(), Matrix3d::Identity());
auto c = FactorBase::emplace<FactorPose2d>(f, f, nullptr, false); auto c = FactorBase::emplace<FactorPose2d>(f, f, nullptr, false);
......
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