VisualServoTCPControlSkillProvider.cpp
Go to the documentation of this file.
2 
6 
7 //#include <RobotAPI/libraries/armem/client/MemoryNameSystem.h>
9 
11 {
13  {
15 
16  visualServoTCPControlSkillContext.defineProperties(defs, "visualServoTCPControlSkills.");
17 
18  return defs;
19  }
20 
22  {
23  return "VisualServoTCPControlSkillProvider";
24  }
25 
27  {
28  visualServoTCPControlSkillContext.onInit(*this);
29  }
30 
32  {
33  visualServoTCPControlSkillContext.onConnected(*this);
34 
35  auto& mns = memoryNameSystem();
36 
37  // Add move skill
38  addSkill(std::make_unique<VisualServoToTargetPose>(mns, arviz, visualServoTCPControlSkillContext));
39  }
40 
42  {
43 
44  }
45 
47  {}
48 }
client.h
armarx::skills::VisualServoTCPControlSkillContext::defineProperties
void defineProperties(const armarx::PropertyDefinitionsPtr &defs, const std::string &prefix) final
Definition: VisualServoTCPControlSkill.h:54
armarx::armem::client::plugins::PluginUser::memoryNameSystem
MemoryNameSystem & memoryNameSystem()
Definition: PluginUser.cpp:22
String.h
armarx::skills::SkillContext::onInit
virtual void onInit(armarx::Component &parent)
Definition: SkillContext.h:21
armarx::skills::SkillContext::onConnected
virtual void onConnected(armarx::Component &parent)
Definition: SkillContext.h:22
NLohmannJSONConverter.h
VisualServoTCPControlSkillProvider.h
Object.h
armarx::skills::provider::VisualServoTCPControlSkillProvider::createPropertyDefinitions
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition: VisualServoTCPControlSkillProvider.cpp:12
armarx::skills::provider::VisualServoTCPControlSkillProvider::getDefaultName
std::string getDefaultName() const override
Definition: VisualServoTCPControlSkillProvider.cpp:21
armarx::skills::provider::VisualServoTCPControlSkillProvider::onConnectComponent
void onConnectComponent() override
Pure virtual hook for the subclass.
Definition: VisualServoTCPControlSkillProvider.cpp:31
armarx::skills::provider::VisualServoTCPControlSkillProvider::onInitComponent
void onInitComponent() override
Pure virtual hook for the subclass.
Definition: VisualServoTCPControlSkillProvider.cpp:26
armarx::skills::provider::VisualServoTCPControlSkillProvider::onDisconnectComponent
void onDisconnectComponent() override
Hook for subclass.
Definition: VisualServoTCPControlSkillProvider.cpp:41
armarx::skills::provider
Definition: BusyWaiting.cpp:6
armarx::Component::getConfigIdentifier
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
Definition: Component.cpp:74
armarx::ComponentPropertyDefinitions
Default component property definition container.
Definition: Component.h:70
armarx::ArVizComponentPluginUser::arviz
armarx::viz::Client arviz
Definition: ArVizComponentPlugin.h:43
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::skills::provider::VisualServoTCPControlSkillProvider::onExitComponent
void onExitComponent() override
Hook for subclass.
Definition: VisualServoTCPControlSkillProvider.cpp:46