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

armem: articulated object reader and writer: provider segment properties should be independent

parent 90e63cf9
No related branches found
No related tags found
1 merge request!135Resolve "Add Grasp (Affordance) Memory"
......@@ -44,7 +44,7 @@ namespace armarx::armem::articulated_object
def->optional(properties.coreClassSegmentName,
prefix + "CoreSegment",
"Name of the memory core segment to use for object classes.");
def->optional(properties.providerName, prefix + "ProviderName");
def->optional(properties.providerName, prefix + "read.ProviderName");
}
void Reader::connect()
......
......@@ -46,7 +46,7 @@ namespace armarx::armem::articulated_object
"Name of the memory core segment to use for object classes.");
ARMARX_IMPORTANT << "Writer: add property '" << prefix << "ProviderName'";
def->required(properties.providerName, prefix + "ProviderName", "Name of this provider");
def->required(properties.providerName, prefix + "write.ProviderName", "Name of this provider");
}
void Writer::connect()
......
......@@ -33,4 +33,5 @@ namespace armarx::armem::articulated_object
return robotDescription;
}
} // namespace armarx::armem::articulated_object
......@@ -28,6 +28,7 @@ namespace armarx::armem::server::robot_state::proprioception
this->robotUnit = robotUnitPrx;
std::string providerSegmentName = "Robot";
KinematicUnitInterfacePrx kinematicUnit = robotUnit->getKinematicUnit();
if (kinematicUnit)
{
......
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