Skip to content
Snippets Groups Projects
Commit 205edf16 authored by Dinesh Atchuthan's avatar Dinesh Atchuthan
Browse files

Add origin frame info on capture motion

parent 867e195d
No related branches found
No related tags found
1 merge request!177Hotfix
...@@ -822,6 +822,12 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks) ...@@ -822,6 +822,12 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks)
} }
else else
cout << " -> S-"; cout << " -> S-";
if (C->isMotion())
{
auto CM = std::static_pointer_cast<CaptureMotion>(C);
if (CM->getOriginFramePtr())
cout << " -> OF" << CM->getOriginFramePtr()->id();
}
cout << ((depth < 3) ? " -- " + std::to_string(C->getFeatureList().size()) + "f" : ""); cout << ((depth < 3) ? " -- " + std::to_string(C->getFeatureList().size()) + "f" : "");
if (constr_by) if (constr_by)
......
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