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

renaming commit: c -> proprioceptionCommit

parent 3d0d3959
No related branches found
No related tags found
2 merge requests!157armem/dev => master,!144robot state memory update
......@@ -309,8 +309,7 @@ namespace armarx::armem::server::robot_state
auto start = std::chrono::high_resolution_clock::now();
// send batch to memory
armem::data::Commit c;
armem::data::Commit proprioceptionCommit;
armem::data::Commit odometryCommit;
for (unsigned int i = 0; i < robotUnitMemoryBatchSize; ++i)
......@@ -327,7 +326,7 @@ namespace armarx::armem::server::robot_state
const auto& timeUSec = encTimestep.timestamp;
const auto& aron = encTimestep.data;
armem::data::EntityUpdate& update = c.updates.emplace_back();
armem::data::EntityUpdate& update = proprioceptionCommit.updates.emplace_back();
update.entityID = entityID;
update.timeCreatedMicroSeconds = timeUSec;
update.instancesData = {aron->toAronDictPtr()};
......@@ -372,7 +371,7 @@ namespace armarx::armem::server::robot_state
robotUnitDataQueue.pop();
}
auto results = commit(c);
auto results = commit(proprioceptionCommit);
auto stop = std::chrono::high_resolution_clock::now();
ARMARX_DEBUG << "RobotUnitData: The total runtime of sending a batch to the memory is: " << std::chrono::duration_cast<std::chrono::microseconds>(stop - start);
......
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