Skip to content
Snippets Groups Projects

changes related to robotapi skills/dev

Merged Fabian Tërnava requested to merge skills/dev into main
1 file
+ 2
12
Compare changes
  • Side-by-side
  • Inline
@@ -58,8 +58,7 @@ namespace armarx::kinesthetic_learning::components::kinesthetic_teaching
const std::string Component::defaultName = "kinesthetic_teaching";
Component::Component() : virtualRobotReader(memoryNameSystem())
Component::Component() : virtualRobotReader()
{
// addPlugin(robotUnitPlugin);
}
@@ -95,7 +94,6 @@ namespace armarx::kinesthetic_learning::components::kinesthetic_teaching
return def;
}
void
Component::onInitComponent()
{
@@ -111,7 +109,6 @@ namespace armarx::kinesthetic_learning::components::kinesthetic_teaching
logDir = std::filesystem::path(std::string(home)) / "kinesthetic_teaching";
}
void
Component::onConnectComponent()
{
@@ -140,7 +137,7 @@ namespace armarx::kinesthetic_learning::components::kinesthetic_teaching
RemoteGui_startRunningTask();
}
virtualRobotReader.connect();
virtualRobotReader.connect(memoryNameSystem());
robot = virtualRobotReader.getRobot(properties.robot.name);
}
@@ -269,7 +266,6 @@ namespace armarx::kinesthetic_learning::components::kinesthetic_teaching
ARMARX_INFO << "Done.";
}
void
Component::onDisconnectComponent()
{
@@ -277,20 +273,17 @@ namespace armarx::kinesthetic_learning::components::kinesthetic_teaching
runTask = nullptr;
}
void
Component::onExitComponent()
{
}
std::string
Component::getDefaultName() const
{
return Component::defaultName;
}
std::string
Component::GetDefaultName()
{
@@ -342,7 +335,6 @@ namespace armarx::kinesthetic_learning::components::kinesthetic_teaching
runTask = nullptr;
}
void
Component::createRemoteGuiTab()
{
@@ -382,7 +374,6 @@ namespace armarx::kinesthetic_learning::components::kinesthetic_teaching
RemoteGui_createTab(getName(), root, &tab);
}
void
Component::RemoteGui_update()
{
@@ -420,7 +411,6 @@ namespace armarx::kinesthetic_learning::components::kinesthetic_teaching
// }
}
/* (Requires the armarx::ArVizComponentPluginUser.)
void
Component::drawBoxes(const Component::Properties& p, viz::Client& arviz)
Loading