diff --git a/src/capture/capture_motion.cpp b/src/capture/capture_motion.cpp index 8c07410f606c2a11001dbaee338e9743b4256927..994c12996c5443629f62762cdcf819ebc983ce94 100644 --- a/src/capture/capture_motion.cpp +++ b/src/capture/capture_motion.cpp @@ -126,7 +126,10 @@ void CaptureMotion::printHeader(int _depth, bool _constr_by, bool _metric, bool if (getStateBlockMap().size() > 0) printState(_metric, _state_blocks, _stream, _tabs); - _stream << _tabs << " " << "buffer size : " << getBuffer().size() << std::endl; + _stream << _tabs << " " << "buffer size : " << getBuffer().size(); + if (getBuffer().size() > 0) _stream << " ; nbr of data samples : " << getBuffer().size() - 1; + _stream << std::endl; + if ( _metric && ! getBuffer().empty()) { _stream << _tabs << " " << "delta preint : (" << getDeltaPreint().transpose() << ")" << std::endl;