Skip to content
Snippets Groups Projects
Commit 238744af authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Use entity name as object ID

parent a7eb5e0e
No related branches found
No related tags found
1 merge request!242Add Prediction Interface and linear position prediction model to Object Memory
......@@ -240,9 +240,7 @@ namespace armarx::armem::server::obj
{
objpose::ObjectPosePredictionRequest objPoseRequest;
toIce(objPoseRequest.timeWindow, Duration::SecondsDouble(predictionTimeWindow));
toIce(objPoseRequest.objectID,
ObjectID(boRequest.snapshotID.entityName + "/" +
boRequest.snapshotID.instanceIndexStr()));
objPoseRequest.objectID = toIce(ObjectID(request.snapshotID.entityName));
objPoseRequest.settings = request.settings;
toIce(objPoseRequest.timestamp, boRequest.snapshotID.timestamp);
objpose::ObjectPosePredictionResult objPoseResult =
......@@ -252,7 +250,6 @@ namespace armarx::armem::server::obj
if (objPoseResult.success)
{
armem::client::QueryBuilder builder;
builder.singleEntitySnapshot(boRequest.snapshotID);
auto queryResult = armarx::fromIce<armem::client::QueryResult>(
......
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