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

laser_scanner_features/Reader: temporary fix

parent 212625a1
No related branches found
No related tags found
1 merge request!240armem vision: laser scanner features
......@@ -95,21 +95,26 @@ namespace armarx::armem::vision::laser_scanner_features::client
{
armarx::armem::client::query::Builder qb;
auto sel = qb.coreSegments()
.withName(properties.memoryName)
qb.coreSegments()
.withName(properties.coreSegmentName)
.providerSegments()
.withName(query.providerName);
.withName(query.providerName)
.entities()
.all()
.snapshots()
.beforeOrAtTime(query.timestamp);
auto entitySel = [&]()
{
if (query.name.empty())
{
return sel.entities().all();
}
return sel.entities().withName(query.name);
}();
// auto entitySel = [&]()
// {
// if (query.name.empty())
// {
// ARMARX_INFO << "querying all entities";
// return sel.entities().all();
// }
// return sel.entities().withName(query.name);
// }();
entitySel.snapshots().beforeOrAtTime(query.timestamp);
// entitySel.snapshots().beforeOrAtTime(query.timestamp);
return qb;
}
......
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