56 #include <armarx/control/common/control_law/aron/TaskspaceImpedanceControllerConfig.aron.generated.h>
83 def->optional(properties.snapshotToLoad,
85 "Memory snapshot to load at start up \n"
86 "(e.g. 'PriorKnowledgeData/navigation-graphs/snapshot').");
88 def->optional(properties.locationGraph.visuFrequency,
89 "p.locationGraph.visuFrequency",
90 "Visualization frequeny of locations and graph edges [Hz].");
94 def->optional(properties.coreSeg.defaultParameterization.maxHistorySize,
95 "p.coreSeg.defaultParameterization.maxHistorySize",
96 "Max history size of the " +
102 properties.coreSeg.parameterization.maxHistorySize,
103 "p.coreSeg.defaultParameterization.maxHistorySize",
104 "Max history size of the " +
124 .setMaxHistorySize(properties.coreSeg.defaultParameterization.maxHistorySize);
128 .setMaxHistorySize(properties.coreSeg.parameterization.maxHistorySize);
325 loadDefaultConfigs();
329 Component::loadDefaultConfigs()
478 tasks.visuTask->start();
500 return "ControlMemory";
509 tab.locationGraph.setup(*
this);
520 tab.locationGraph.update(*
this);
530 visuLocations.setValue(owner.properties.locationGraph.visuLocations);
531 visuGraphEdges.setValue(owner.properties.locationGraph.visuLocations);
533 grid.
add(
Label(
"Visualize Locations"), {row, 0}).add(visuLocations, {row, 1});
536 grid.
add(
Label(
"Visualize Graph Edges"), {row, 0}).add(visuGraphEdges, {row, 1});
546 if (visuLocations.hasValueChanged() or visuGraphEdges.hasValueChanged())
548 std::scoped_lock lock(owner.propertiesMutex);
549 owner.properties.locationGraph.visuLocations = visuLocations.getValue();
550 owner.properties.locationGraph.visuGraphEdges = visuGraphEdges.getValue();