diff --git a/src/capture/capture_base.cpp b/src/capture/capture_base.cpp index 0ee44db531dc690d196c31958e343d683f8c56be..489d67637c0069c0cd555472571803e5519c6b46 100644 --- a/src/capture/capture_base.cpp +++ b/src/capture/capture_base.cpp @@ -236,6 +236,8 @@ void CaptureBase::setProblem(ProblemPtr _problem) void CaptureBase::printHeader(int _depth, bool _constr_by, bool _metric, bool _state_blocks, std::ostream& _stream, std::string _tabs) const { + _stream << _tabs << "Cap" << id() << " " << getType(); + if(getSensor() != nullptr) { _stream << " -> Sen" << getSensor()->id(); @@ -260,7 +262,7 @@ void CaptureBase::printHeader(int _depth, bool _constr_by, bool _metric, bool _s { auto sb = getStateBlock(key); if (sb) - _stream << _tabs << key << "[" << (sb->isFixed() ? "Fix" : "Est") << "] = ( " << sb->getState().transpose() << " ) @ " << sb << std::endl; + _stream << " " + _tabs << key << "[" << (sb->isFixed() ? "Fix" : "Est") << "] = ( " << sb->getState().transpose() << " ) @ " << sb << std::endl; } } else if (_metric) diff --git a/src/feature/feature_base.cpp b/src/feature/feature_base.cpp index b864e27c8172671572026ce4f83b4d279bb1b669..c2af9127c6a2e028d98f4f5413490117bfbd7825 100644 --- a/src/feature/feature_base.cpp +++ b/src/feature/feature_base.cpp @@ -194,7 +194,6 @@ void FeatureBase::printHeader(int _depth, bool _constr_by, bool _metric, bool _s void FeatureBase::print(int _depth, bool _constr_by, bool _metric, bool _state_blocks, std::ostream& _stream, std::string _tabs) const { - _stream << _tabs << "id: " << id() << std::endl; printHeader(_depth, _constr_by, _metric, _state_blocks, _stream, _tabs); if (_depth >= 4) for (auto c : getFactorList())