From e5544d4d236290ee279efc1c750ab414c2eca174 Mon Sep 17 00:00:00 2001 From: Fabian Reister <fabian.reister@kit.edu> Date: Mon, 2 Dec 2024 13:21:56 +0100 Subject: [PATCH] cleanup --- .../ArticulatedObjectReader.cpp | 39 ------------------- 1 file changed, 39 deletions(-) diff --git a/source/RobotAPI/libraries/armem_objects/client/articulated_object/ArticulatedObjectReader.cpp b/source/RobotAPI/libraries/armem_objects/client/articulated_object/ArticulatedObjectReader.cpp index d30821f09..f0ec31369 100644 --- a/source/RobotAPI/libraries/armem_objects/client/articulated_object/ArticulatedObjectReader.cpp +++ b/source/RobotAPI/libraries/armem_objects/client/articulated_object/ArticulatedObjectReader.cpp @@ -56,45 +56,6 @@ namespace armarx::armem::articulated_object obj->setType(typeName); return obj; - - - // const auto descriptions = queryDescriptions(timestamp, providerName); - - // ARMARX_INFO << "Found " << descriptions.size() << " articulated object descriptions"; - // for (const auto& desc : descriptions) - // { - // ARMARX_INFO << "- " << desc.name; - // } - - // const auto it = std::find_if( - // descriptions.begin(), - // descriptions.end(), - // [&](const armem::articulated_object::ArticulatedObjectDescription& desc) -> bool - // { return desc.name == typeName; }); - - // if (it == descriptions.end()) - // { - // ARMARX_WARNING << "Description for articulate object with type <" << typeName - // << "> not (yet) available!"; - // return nullptr; - // } - - // ARMARX_DEBUG << "Description for articulate object with type <" << typeName - // << "> available!"; - - // auto obj = VirtualRobot::RobotIO::loadRobot(it->xml.toSystemPath(), loadMode); - - // if (not obj) - // { - // ARMARX_WARNING << "Failed to load description for articulated object <" << typeName - // << ">!"; - // return nullptr; - // } - - // obj->setName(instanceName); - // obj->setType(it->name); - - // return obj; } bool -- GitLab