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

using latest() for snapshot query atm

parent 1bf6d82e
No related branches found
No related tags found
No related merge requests found
......@@ -172,7 +172,7 @@ namespace armarx::armem::robot_state
.coreSegments().withName(properties.proprioceptionCoreSegment)
.providerSegments().withName(description.name) // agent
.entities().all() // TODO
.snapshots().beforeTime(timestamp);
.snapshots().latest();
// clang-format on
const armem::client::QueryResult qResult = memoryReader.query(qb.buildQueryInput());
......
......@@ -146,7 +146,7 @@ namespace armarx::armem::client::robot_state::localization
.coreSegments().withName(properties.localizationSegment)
.providerSegments().withName(query.header.agent) // agent
.entities().all() // parentFrame,frame
.snapshots().atTimeApprox(timestamp, durationEpsilon);
.snapshots().latest();
// clang-format on
const armem::client::QueryResult qResult = memoryReader.query(qb.buildQueryInput());
......
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