From 415a72a1061132fc17ba0f97325271650cc0ad7f Mon Sep 17 00:00:00 2001 From: Paul Beuchat <beuchatp@control.ee.ethz.ch> Date: Mon, 30 Mar 2020 12:24:41 +0200 Subject: [PATCH] For the system config GUI, this commit comments out some debugging print out statements that fills the terminal with unecessary information --- .../GUI_Qt/systemConfigGUI/src/myGraphicsRectItem.cpp | 4 ++-- .../dfall_pkg/GUI_Qt/systemConfigGUI/src/myGraphicsScene.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dfall_ws/src/dfall_pkg/GUI_Qt/systemConfigGUI/src/myGraphicsRectItem.cpp b/dfall_ws/src/dfall_pkg/GUI_Qt/systemConfigGUI/src/myGraphicsRectItem.cpp index d328de46..fd2807c3 100755 --- a/dfall_ws/src/dfall_pkg/GUI_Qt/systemConfigGUI/src/myGraphicsRectItem.cpp +++ b/dfall_ws/src/dfall_pkg/GUI_Qt/systemConfigGUI/src/myGraphicsRectItem.cpp @@ -101,12 +101,12 @@ QVariant myGraphicsRectItem::itemChange(GraphicsItemChange change, const QVarian { if(checkCornerGrabbers() == CornerGrabber::noCorner) { - qDebug("move now!"); + //qDebug("move now!"); return QPointF(value.toPointF().x(), value.toPointF().y()); } else { - qDebug("dont move now!"); + //qDebug("dont move now!"); return QPointF(pos().x(), pos().y()); } } diff --git a/dfall_ws/src/dfall_pkg/GUI_Qt/systemConfigGUI/src/myGraphicsScene.cpp b/dfall_ws/src/dfall_pkg/GUI_Qt/systemConfigGUI/src/myGraphicsScene.cpp index 8fe4b7da..e8011243 100755 --- a/dfall_ws/src/dfall_pkg/GUI_Qt/systemConfigGUI/src/myGraphicsScene.cpp +++ b/dfall_ws/src/dfall_pkg/GUI_Qt/systemConfigGUI/src/myGraphicsScene.cpp @@ -227,8 +227,8 @@ void myGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent *mouseEvent) { tmp_crazyfly_zone_item->setRect(QRectF(*p1, mouseEvent->scenePos())); tmp_crazyfly_zone_item->updateCenterMarker(); - qDebug("Mouse Position: %d, %d", (mouseEvent->scenePos()).toPoint().x(), (mouseEvent->scenePos()).toPoint().y()); - qDebug("Rectangle BottomRight Position: %f, %f", tmp_crazyfly_zone_item->rect().bottomRight().x(), tmp_crazyfly_zone_item->rect().bottomRight().y()); + //qDebug("Mouse Position: %d, %d", (mouseEvent->scenePos()).toPoint().x(), (mouseEvent->scenePos()).toPoint().y()); + //qDebug("Rectangle BottomRight Position: %f, %f", tmp_crazyfly_zone_item->rect().bottomRight().x(), tmp_crazyfly_zone_item->rect().bottomRight().y()); break; } } -- GitLab