From e163f57f9c264f40b10a861999a1132fbd356574 Mon Sep 17 00:00:00 2001 From: Robert Haschke Date: Wed, 25 Oct 2023 22:59:14 +0200 Subject: [PATCH] Cleanup debug output --- core/src/stage.cpp | 2 +- .../motion_planning_tasks/src/remote_task_model.cpp | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/core/src/stage.cpp b/core/src/stage.cpp index 40dd413f2..620b5a257 100644 --- a/core/src/stage.cpp +++ b/core/src/stage.cpp @@ -865,7 +865,7 @@ template bool ConnectingPrivate::hasPendingOpposites(const const InterfaceState* start) const; bool ConnectingPrivate::canCompute() const { - ROS_DEBUG_STREAM("canCompute " << name() << ": " << pendingPairsPrinter()); + // ROS_DEBUG_STREAM("canCompute " << name() << ": " << pendingPairsPrinter()); // Do we still have feasible pending state pairs? return !pending.empty() && pending.front().first->priority().enabled() && pending.front().second->priority().enabled(); diff --git a/visualization/motion_planning_tasks/src/remote_task_model.cpp b/visualization/motion_planning_tasks/src/remote_task_model.cpp index 8ab980476..430a31578 100644 --- a/visualization/motion_planning_tasks/src/remote_task_model.cpp +++ b/visualization/motion_planning_tasks/src/remote_task_model.cpp @@ -501,14 +501,12 @@ QVariant RemoteSolutionModel::data(const QModelIndex& index, int role) const { return item.id; case Qt::ToolTipRole: - switch (index.column()) { -#if 1 // show internal solution id in first column return item - case 0: - return item.id; - default: - return item.comment; +#if 0 // show internal solution id in first column + if (index.column() == 0) + return item.id; #endif - } + // usually just show the comment + return item.comment; break; case Qt::DisplayRole: