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

robotstatememory: byebye, batch size!

parent 38eb0ab8
No related branches found
No related tags found
No related merge requests found
......@@ -66,9 +66,6 @@ namespace armarx::armem::server::robot_state
defs->optional(robotUnit.reader.properties.sensorPrefix, robotUnitPrefix + "SensorValuePrefix",
"Prefix of all sensor values.");
defs->optional(robotUnit.writer.properties.memoryBatchSize, robotUnitPrefix + "MemoryBatchSize",
"The size of the entity snapshot to send to the memory. Minimum is 1.")
.setMin(1);
defs->optional(robotUnit.pollFrequency, robotUnitPrefix + "UpdateFrequency",
"The frequency to store values in Hz. All other values get discarded. "
"Minimum is 1, max is " + std::to_string(ROBOT_UNIT_MAXIMUM_FREQUENCY) + ".")
......@@ -102,7 +99,6 @@ namespace armarx::armem::server::robot_state
commonVisu.init();
robotUnit.pollFrequency = std::clamp(robotUnit.pollFrequency, 0.f, ROBOT_UNIT_MAXIMUM_FREQUENCY);
robotUnit.writer.properties.memoryBatchSize = std::max(static_cast<unsigned int>(1), robotUnit.writer.properties.memoryBatchSize);
std::vector<std::string> includePaths;
std::vector<std::string> packages = armarx::Application::GetProjectDependencies();
......
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