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

const correctness

parent e81e17f2
No related branches found
No related tags found
No related merge requests found
......@@ -224,7 +224,7 @@ namespace armarx
Transform transform;
fromAron(aronTransform, transform);
return transform.transform;
});
......@@ -246,7 +246,7 @@ namespace armarx
.entities().all() // parentFrame,frame
.snapshots().atTime(IceUtil::Time::microSeconds(query.header.timestamp)); // transformation
armem::client::QueryResult qResult = memoryReader.query(qb.buildQueryInput());
const armem::client::QueryResult qResult = memoryReader.query(qb.buildQueryInput());
ARMARX_INFO << qResult;
......@@ -277,9 +277,9 @@ namespace armarx
};
}
std::vector<Eigen::Affine3f> transforms = obtainTransforms(qResult.memory, tfChain, query.header.agent);
const std::vector<Eigen::Affine3f> transforms = obtainTransforms(qResult.memory, tfChain, query.header.agent);
Eigen::Affine3f transform = std::accumulate(transforms.begin(), transforms.end(), Eigen::Affine3f::Identity(), std::multiplies<>());
const Eigen::Affine3f transform = std::accumulate(transforms.begin(), transforms.end(), Eigen::Affine3f::Identity(), std::multiplies<>());
return TransformResult
......
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