From 45b4a92c4c5899083b4c977c9749a7c8aabf02f5 Mon Sep 17 00:00:00 2001 From: Tyler Marr Date: Wed, 18 Dec 2024 10:58:33 -0600 Subject: [PATCH] Switch to string for collision summary --- .../planning/src/nodes/continuous_contact_check_task.cpp | 2 +- .../planning/src/nodes/discrete_contact_check_task.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tesseract_task_composer/planning/src/nodes/continuous_contact_check_task.cpp b/tesseract_task_composer/planning/src/nodes/continuous_contact_check_task.cpp index ff24e593d2..d24975cd54 100644 --- a/tesseract_task_composer/planning/src/nodes/continuous_contact_check_task.cpp +++ b/tesseract_task_composer/planning/src/nodes/continuous_contact_check_task.cpp @@ -174,7 +174,7 @@ ContinuousContactCheckTask::runImpl(TaskComposerContext& context, OptionalTaskCo const auto& contact_map = contacts[i]; if (!contact_map.empty()) { - ss << contact_map.getCollisionSummary().str() << "\n"; + ss << contact_map.getCollisionSummary() << "\n"; } } info->status_message = ss.str(); diff --git a/tesseract_task_composer/planning/src/nodes/discrete_contact_check_task.cpp b/tesseract_task_composer/planning/src/nodes/discrete_contact_check_task.cpp index 5bcef6648b..e033688727 100644 --- a/tesseract_task_composer/planning/src/nodes/discrete_contact_check_task.cpp +++ b/tesseract_task_composer/planning/src/nodes/discrete_contact_check_task.cpp @@ -170,7 +170,7 @@ std::unique_ptr DiscreteContactCheckTask::runImpl(TaskComp const auto& contact_map = contacts[i]; if (!contact_map.empty()) { - ss << contact_map.getCollisionSummary().str() << "\n"; + ss << contact_map.getCollisionSummary() << "\n"; } } info->status_message = ss.str();