PlatformControlSkillProvider.cpp
Go to the documentation of this file.
1 
2 
4 
8 
9 //#include <RobotAPI/libraries/armem/client/MemoryNameSystem.h>
11 
13 {
15  {
17 
18  platformControlSkillContext.defineProperties(defs, "platformControlSkills.");
19 
20  return defs;
21  }
22 
24  {
25  return "PlatformControlSkillProvider";
26  }
27 
29  {
30  platformControlSkillContext.onInit(*this);
31  }
32 
34  {
35  platformControlSkillContext.onConnected(*this);
36 
37  auto& mns = memoryNameSystem();
38 
39  // Add move skill
40  addSkill(std::make_unique<MovePlatformToLandmark>(mns, arviz, platformControlSkillContext));
41  addSkill(std::make_unique<MovePlatformToPose>(mns, arviz, platformControlSkillContext));
42 
43  }
44 
46  {
47 
48  }
49 
51  {}
52 }
armarx::skills::provider::PlatformControlSkillProvider::onExitComponent
void onExitComponent() override
Hook for subclass.
Definition: PlatformControlSkillProvider.cpp:50
client.h
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::provider::PlatformControlSkillProvider::getDefaultName
std::string getDefaultName() const override
Definition: PlatformControlSkillProvider.cpp:23
armarx::skills::SkillContext::onConnected
virtual void onConnected(armarx::Component &parent)
Definition: SkillContext.h:22
NLohmannJSONConverter.h
Object.h
armarx::skills::provider::PlatformControlSkillProvider::onInitComponent
void onInitComponent() override
Pure virtual hook for the subclass.
Definition: PlatformControlSkillProvider.cpp:28
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::skills::provider::PlatformControlSkillProvider::onConnectComponent
void onConnectComponent() override
Pure virtual hook for the subclass.
Definition: PlatformControlSkillProvider.cpp:33
armarx::ArVizComponentPluginUser::arviz
armarx::viz::Client arviz
Definition: ArVizComponentPlugin.h:43
IceUtil::Handle< class PropertyDefinitionContainer >
PlatformControlSkillProvider.h
armarx::skills::provider::PlatformControlSkillProvider::createPropertyDefinitions
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition: PlatformControlSkillProvider.cpp:14
armarx::skills::provider::PlatformControlSkillProvider::onDisconnectComponent
void onDisconnectComponent() override
Hook for subclass.
Definition: PlatformControlSkillProvider.cpp:45
armarx::skills::PlatformControlSkillContext::defineProperties
void defineProperties(const armarx::PropertyDefinitionsPtr &defs, const std::string &prefix) final
Definition: PlatformControlSkill.h:50