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

adding debug output

parent 949fea30
No related branches found
No related tags found
1 merge request!135Resolve "Add Grasp (Affordance) Memory"
...@@ -270,14 +270,15 @@ namespace armarx::armem::articulated_object ...@@ -270,14 +270,15 @@ namespace armarx::armem::articulated_object
{ {
instance = i; instance = i;
}); });
if (instance.has_value()) if (instance.has_value())
{ {
return convertRobotDescription(instance.value()); return convertRobotDescription(instance.value());
} }
else
{ ARMARX_DEBUG << "No robot description";
return std::nullopt; return std::nullopt;
}
} }
......
...@@ -187,6 +187,8 @@ namespace armarx::armem::articulated_object ...@@ -187,6 +187,8 @@ namespace armarx::armem::articulated_object
const auto& timestamp = obj.timestamp; const auto& timestamp = obj.timestamp;
ARMARX_DEBUG << "Storing articulated object instance '" << obj.description.name << "' (provider '" << properties.providerName << "')";
const auto providerId = armem::MemoryID() const auto providerId = armem::MemoryID()
.withMemoryName(properties.memoryName) .withMemoryName(properties.memoryName)
.withCoreSegmentName(properties.coreInstanceSegmentName) .withCoreSegmentName(properties.coreInstanceSegmentName)
......
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