Skip to content
Snippets Groups Projects

Fix/view selection

Merged Christoph Pohl requested to merge fix/view_selection into master
3 files
+ 17
7
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -62,11 +62,6 @@ namespace armarx::view_selection::gaze_scheduler
const std::string Component::defaultName = memory::constants::GazeSchedulerProviderName;
Component::Component()
{
addPlugin(virtualRobotReaderPlugin);
}
armarx::PropertyDefinitionsPtr
Component::createPropertyDefinitions()
{
@@ -87,6 +82,7 @@ namespace armarx::view_selection::gaze_scheduler
def->optional(properties.targetVizAlpha, "properties.targetVizAlpha", "");
def->optional(properties.visuEnabled, "properties.visuEnabled", "");
def->optional(properties.dummy, "properties.dummy", "");
def->optional(properties.rtUnitDynamicallyLoadLibraries,
"p.rtUnitDynamicallyLoadLibraries",
@@ -100,6 +96,12 @@ namespace armarx::view_selection::gaze_scheduler
void
Component::onMemoryUpdated(const std::vector<armarx::armem::MemoryID>& updatedSnapshotIDs)
{
if (properties.dummy)
{
// THE COMPONENT IS SET TO DISABLED
return;
}
ARMARX_CHECK(scheduler.has_value());
namespace armem = armarx::armem;
Loading