57 const std::string& provider,
63 e.entityID.memoryName = properties.memoryName;
64 e.entityID.coreSegmentName = properties.coreSegmentName;
65 e.entityID.providerSegmentName = provider;
66 e.entityID.entityName = inst.pose.objectID.dataset +
"/" + inst.pose.objectID.className +
67 "/" + inst.pose.objectID.instanceName;
70 e.instancesData = {inst.toAron()};
72 e.confidence = inst.pose.confidence;
74 auto res = memoryWriter.commit(
c);
76 if (!res.allSuccess())
78 ARMARX_ERROR <<
"Failed to commit an ObjectInstance to memory: "
79 << res.allErrorMessages();