diff --git a/src/sensor/sensor_base.cpp b/src/sensor/sensor_base.cpp index f8c3c76c7e5865d241846516ce9989226d9985cd..7d15881a6aea62a9a01591ac5bede38d1b3c6342 100644 --- a/src/sensor/sensor_base.cpp +++ b/src/sensor/sensor_base.cpp @@ -480,7 +480,7 @@ void SensorBase::printHeader(int _depth, bool _constr_by, bool _metric, bool _st for (auto& _key : getStructure()) { auto key = std::string(1,_key); - auto sb = getStateBlock(key); + auto sb = getStateBlockDynamic(key); _stream << key << "[" << (isStateBlockDynamic(key) ? "Dyn" : "Sta") << "," << (sb->isFixed() ? "Fix" : "Est") << "] = ( " << sb->getState().transpose() << " ); "; } _stream << std::endl; @@ -491,7 +491,7 @@ void SensorBase::printHeader(int _depth, bool _constr_by, bool _metric, bool _st for (auto& _key : getStructure()) { auto key = std::string(1,_key); - auto sb = getStateBlock(key); + auto sb = getStateBlockDynamic(key); _stream << sb->getState().transpose() << " "; } _stream << ")" << std::endl; @@ -502,7 +502,7 @@ void SensorBase::printHeader(int _depth, bool _constr_by, bool _metric, bool _st for (auto& _key : getStructure()) { auto key = std::string(1,_key); - auto sb = getStateBlock(key); + auto sb = getStateBlockDynamic(key); _stream << key << "[" << (isStateBlockDynamic(key) ? "Dyn" : "Sta") << "," << (sb->isFixed() ? "Fix" : "Est") << "]; "; } _stream << std::endl;