From 3169f6774ff2bea1da73450e3b6161bdea000820 Mon Sep 17 00:00:00 2001 From: Joan Sola <jsola@iri.upc.edu> Date: Thu, 22 Feb 2018 11:36:25 +0100 Subject: [PATCH] Improve print() info with buffer length of CaptureMotion --- src/problem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/problem.cpp b/src/problem.cpp index 154e946f9..8b80490b1 100644 --- a/src/problem.cpp +++ b/src/problem.cpp @@ -835,9 +835,9 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks) try { CaptureMotionPtr CM = std::static_pointer_cast<CaptureMotion>(C); + cout << " buffer size : " << CM->getBuffer().get().size() << endl; if ( CM->getCalibSize() > 0 && ! CM->getBuffer().get().empty()) { - cout << " buffer size : " << CM->getBuffer().get().size() << endl; cout << " delta preint : (" << CM->getDeltaPreint().transpose() << ")" << endl; cout << " calib preint : (" << CM->getCalibrationPreint().transpose() << ")" << endl; cout << " jacob preint : (" << CM->getJacobianCalib().row(0) << ")" << endl; -- GitLab