From 3464e27642725c6c143a2850399f42563c35b42a Mon Sep 17 00:00:00 2001
From: Johannes Mey <johannes.mey@tu-dresden.de>
Date: Fri, 15 Jul 2022 12:41:35 +0200
Subject: [PATCH] note if scene is delta

---
 src/moveit_sorting_controller.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/moveit_sorting_controller.cpp b/src/moveit_sorting_controller.cpp
index 5a3bc92..9283b92 100644
--- a/src/moveit_sorting_controller.cpp
+++ b/src/moveit_sorting_controller.cpp
@@ -50,9 +50,9 @@ int main(int argc, char** argv)
   controller.addConnection(std::move(mqtt_connection));
 
   controller.addCallback(other_cell_topic, [&controller](auto msg) {
-    ROS_INFO_STREAM("Updating scene from other cell.");
     Scene scene;
     scene.ParseFromString(msg);
+    ROS_INFO_STREAM("Updating scene from other cell. Is delta: " << scene.is_delta());
     controller.initScene(scene, false);
   });
 
-- 
GitLab