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

Fix some labels

parent 7213728a
No related branches found
No related tags found
1 merge request!346Resolve "Frame/Capture/Feature/Landmark Other as list/vectors in FactorBase"
Pipeline #5050 failed
...@@ -945,13 +945,13 @@ void Problem::print(int depth, std::ostream& stream, bool constr_by, bool metric ...@@ -945,13 +945,13 @@ void Problem::print(int depth, std::ostream& stream, bool constr_by, bool metric
stream << " PrcM" << p->id() << " " << p->getType() << " \"" << p->getName() << "\"" << std::endl; stream << " PrcM" << p->id() << " " << p->getType() << " \"" << p->getName() << "\"" << std::endl;
ProcessorMotionPtr pm = std::static_pointer_cast<ProcessorMotion>(p); ProcessorMotionPtr pm = std::static_pointer_cast<ProcessorMotion>(p);
if (pm->getOrigin()) if (pm->getOrigin())
stream << " o: C" << pm->getOrigin()->id() << " - " << (pm->getOrigin()->getFrame()->isKeyOrAux() ? (pm->getOrigin()->getFrame()->isKey() ? " KFrm" : " AFrm" ) : " Frm") stream << " o: Cap" << pm->getOrigin()->id() << " - " << (pm->getOrigin()->getFrame()->isKeyOrAux() ? (pm->getOrigin()->getFrame()->isKey() ? " KFrm" : " AFrm" ) : " Frm")
<< pm->getOrigin()->getFrame()->id() << std::endl; << pm->getOrigin()->getFrame()->id() << std::endl;
if (pm->getLast()) if (pm->getLast())
stream << " l: C" << pm->getLast()->id() << " - " << (pm->getLast()->getFrame()->isKeyOrAux() ? (pm->getLast()->getFrame()->isKey() ? " KFrm" : " AFrm") : " Frm") stream << " l: Cap" << pm->getLast()->id() << " - " << (pm->getLast()->getFrame()->isKeyOrAux() ? (pm->getLast()->getFrame()->isKey() ? " KFrm" : " AFrm") : " Frm")
<< pm->getLast()->getFrame()->id() << std::endl; << pm->getLast()->getFrame()->id() << std::endl;
if (pm->getIncoming()) if (pm->getIncoming())
stream << " i: C" << pm->getIncoming()->id() << std::endl; stream << " i: Cap" << pm->getIncoming()->id() << std::endl;
} }
else else
{ {
...@@ -960,13 +960,13 @@ void Problem::print(int depth, std::ostream& stream, bool constr_by, bool metric ...@@ -960,13 +960,13 @@ void Problem::print(int depth, std::ostream& stream, bool constr_by, bool metric
if (pt) if (pt)
{ {
if (pt->getOrigin()) if (pt->getOrigin())
stream << " o: C" << pt->getOrigin()->id() << " - " << (pt->getOrigin()->getFrame()->isKeyOrAux() ? (pt->getOrigin()->getFrame()->isKey() ? " KFrm" : " AFrm") : " Frm") stream << " o: Cap" << pt->getOrigin()->id() << " - " << (pt->getOrigin()->getFrame()->isKeyOrAux() ? (pt->getOrigin()->getFrame()->isKey() ? " KFrm" : " AFrm") : " Frm")
<< pt->getOrigin()->getFrame()->id() << std::endl; << pt->getOrigin()->getFrame()->id() << std::endl;
if (pt->getLast()) if (pt->getLast())
stream << " l: C" << pt->getLast()->id() << " - " << (pt->getLast()->getFrame()->isKeyOrAux() ? (pt->getLast()->getFrame()->isKey() ? " KFrm" : " AFrm") : " Frm") stream << " l: Cap" << pt->getLast()->id() << " - " << (pt->getLast()->getFrame()->isKeyOrAux() ? (pt->getLast()->getFrame()->isKey() ? " KFrm" : " AFrm") : " Frm")
<< pt->getLast()->getFrame()->id() << std::endl; << pt->getLast()->getFrame()->id() << std::endl;
if (pt->getIncoming()) if (pt->getIncoming())
stream << " i: C" << pt->getIncoming()->id() << std::endl; stream << " i: Cap" << pt->getIncoming()->id() << std::endl;
} }
} }
} // for p } // for p
...@@ -1015,7 +1015,7 @@ void Problem::print(int depth, std::ostream& stream, bool constr_by, bool metric ...@@ -1015,7 +1015,7 @@ void Problem::print(int depth, std::ostream& stream, bool constr_by, bool metric
stream << " -> Sen" << C->getSensor()->id(); stream << " -> Sen" << C->getSensor()->id();
} }
else else
stream << " -> S-"; stream << " -> Sen-";
if (C->isMotion()) if (C->isMotion())
{ {
auto CM = std::static_pointer_cast<CaptureMotion>(C); auto CM = std::static_pointer_cast<CaptureMotion>(C);
......
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