Skip to content
Snippets Groups Projects
Commit 72d3051a authored by Amanda Sanjuan Sánchez's avatar Amanda Sanjuan Sánchez
Browse files

horfix: print sensot state block Dynamic status

parent 9e7a92f7
No related branches found
No related tags found
1 merge request!466devel->main
......@@ -551,7 +551,7 @@ void SensorBase::printState (bool _metric, bool _state_blocks, std::ostream& _st
{
auto sb = getStateBlockDynamic(key);
if (sb)
_stream << _tabs << " " << key << " [" << (sb->isFixed() ? "Fix" : "Est") << "] = ( "
_stream << _tabs << " " << key << " [" << (sb->isFixed() ? "Fix" : "Est") << ", " << (isStateBlockDynamic(key) ? "Dyn" : "Sta") << "] = ( "
<< std::setprecision(3) << sb->getState().transpose() << " )" << " @ " << sb << std::endl;
}
}
......@@ -567,7 +567,7 @@ void SensorBase::printState (bool _metric, bool _state_blocks, std::ostream& _st
{
auto sb = getStateBlockDynamic(key);
if (sb)
_stream << " " << key << " [" << (sb->isFixed() ? "Fix" : "Est") << "] @ " << sb;
_stream << " " << key << " [" << (sb->isFixed() ? "Fix" : "Est") << ", " << (isStateBlockDynamic(key) ? "Dyn" : "Sta") << "] @ " << sb;
}
_stream << std::endl;
}
......
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