Skip to content
Snippets Groups Projects
Commit e5544d4d authored by Fabian Reister's avatar Fabian Reister
Browse files

cleanup

parent 8518632b
No related branches found
No related tags found
1 merge request!497euROBIN
Pipeline #21874 failed
...@@ -56,45 +56,6 @@ namespace armarx::armem::articulated_object ...@@ -56,45 +56,6 @@ namespace armarx::armem::articulated_object
obj->setType(typeName); obj->setType(typeName);
return obj; 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 bool
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment