Skip to content
Snippets Groups Projects
Commit 6b357293 authored by Fabian Tërnava's avatar Fabian Tërnava
Browse files

Merge branch 'master' of https://gitlab.com/ArmarX/RobotAPI into armem/ltm/dev

parents d69e3f45 98d30fd5
No related branches found
No related tags found
1 merge request!226armem/ltm/dev
......@@ -23,7 +23,7 @@ namespace armarx::armem::server::grasp
defs->topic(debugObserver);
defs->optional(memoryName, "memory.Name", "Name of this memory server.");
defs->optional(enableRemoteGui, "remoteGui.enable", "Enable/Disable Remote GUI");
return defs;
}
......@@ -54,10 +54,11 @@ namespace armarx::armem::server::grasp
void GraspMemory::onConnectComponent()
{
createRemoteGuiTab();
RemoteGui_startRunningTask();
if (enableRemoteGui)
{
createRemoteGuiTab();
RemoteGui_startRunningTask();
}
}
void GraspMemory::onDisconnectComponent()
......
......@@ -99,5 +99,7 @@ namespace armarx::armem::server::grasp
};
GuiInfo gui;
bool enableRemoteGui{true};
};
}
......@@ -43,7 +43,7 @@ namespace armarx::aron::codegenerator::cpp::generator
{
CppBlockPtr block_if_data = std::make_shared<CppBlock>();
block_if_data->addLine(accessor + nextEl() + "resetSoft();");
return block_if_data;
return this->resolveMaybeResetSoftBlock(block_if_data, accessor);
}
CppBlockPtr IntEnum::getResetHardBlock(const std::string& accessor) const
......@@ -57,7 +57,7 @@ namespace armarx::aron::codegenerator::cpp::generator
{
b->addLine(accessor + nextEl() + "resetHard();");
}
return b;
return this->resolveMaybeResetHardBlock(b, accessor);
}
CppBlockPtr IntEnum::getWriteTypeBlock(const std::string& typeAccessor, const std::string& cppAccessor, const Path& p, std::string& variantAccessor) const
......
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