From 9ce760679e07aba35f06fc3d45c12f37be6d7a27 Mon Sep 17 00:00:00 2001
From: Fabian Reister <fabian.reister@kit.edu>
Date: Wed, 5 May 2021 10:44:27 +0200
Subject: [PATCH] removing articulated object memory interface

---
 .../server/ObjectMemory/ObjectMemory.cpp      |  1 -
 .../ArticulatedObjectMemoryInterface.ice      | 72 -------------------
 2 files changed, 73 deletions(-)
 delete mode 100644 source/RobotAPI/interface/armem/server/ArticulatedObjectMemoryInterface.ice

diff --git a/source/RobotAPI/components/armem/server/ObjectMemory/ObjectMemory.cpp b/source/RobotAPI/components/armem/server/ObjectMemory/ObjectMemory.cpp
index 4b3406074..67f47577a 100644
--- a/source/RobotAPI/components/armem/server/ObjectMemory/ObjectMemory.cpp
+++ b/source/RobotAPI/components/armem/server/ObjectMemory/ObjectMemory.cpp
@@ -41,7 +41,6 @@ namespace armarx::armem::server::obj
 
         // Subscribe
         defs->topic<objpose::ObjectPoseTopic>(); // "ObjectPoseTopic", "ObjectPoseTopicName", "Name of the Object Pose Topic.");
-        defs->topic<articulated_object::ArticulatedObjectTopic>(); // "ObjectPoseTopic", "ObjectPoseTopicName", "Name of the Object Pose Topic.");
 
         // Use
         // defs->component(kinematicUnitObserver);  // Optional dependency.
diff --git a/source/RobotAPI/interface/armem/server/ArticulatedObjectMemoryInterface.ice b/source/RobotAPI/interface/armem/server/ArticulatedObjectMemoryInterface.ice
deleted file mode 100644
index cd27341d4..000000000
--- a/source/RobotAPI/interface/armem/server/ArticulatedObjectMemoryInterface.ice
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * This file is part of ArmarX.
- *
- * ArmarX is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * ArmarX is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- * @author     Fabian Reister ( fabian dot reister at kit dot edu )
- * @date       2021
- * @copyright  http://www.gnu.org/licenses/gpl-2.0.txt
- *             GNU General Public License
- */
-
-#pragma once
-
-#include <RobotAPI/interface/armem/server/MemoryInterface.ice>
-
-#include <RobotAPI/interface/objectpose/ObjectPoseStorageInterface.ice>
-
-module armarx
-{
-
-    module articulated_object
-    {
-
-        interface ArticulatedObjectPoseStorageInterface extends
-                armarx::articulated_object::ArticulatedObjectTopic
-        {
-            // Object poses
-
-            data::ArticulatedObjects getArticulatedObjects();
-            data::ArticulatedObjects getArticulatedObjectsByProvider(string providerName);
-
-            // Provider information
-
-            bool hasProvider(string providerName);
-            Ice::StringSeq getAvailableProviderNames();
-            // ProviderInfoMap getAvailableProvidersInfo();
-            // ProviderInfo getProviderInfo(string providerName);
-
-            // Requesting
-
-            //observer::RequestObjectsOutput requestArticulatedObjects(
-            //        observer::RequestObjectsInput input);
-        };
-    }
-
-    module armem
-    {
-        module server
-        {
-
-            interface ArticulatedObjectInstanceSegmentInterface extends
-                    armarx::objpose::ObjectPoseStorageInterface{
-
-                    };
-
-            interface ArticulatedObjectMemoryInterface extends MemoryInterface,
-                    ArticulatedObjectInstanceSegmentInterface{
-
-                    };
-        };
-    };
-};
-- 
GitLab