PlatformControlSkillProvider.cpp
Go to the documentation of this file.
1
2
4
8
9//#include <RobotAPI/libraries/armem/client/MemoryNameSystem.h>
11
13{
16 {
19
20 platformControlSkillContext.defineProperties(defs, "platformControlSkills.");
21
22 return defs;
23 }
24
25 std::string
27 {
28 return "PlatformControlSkillProvider";
29 }
30
31 void
33 {
34 platformControlSkillContext.onInit(*this);
35 }
36
37 void
39 {
40 platformControlSkillContext.onConnected(*this);
41
42 auto& mns = memoryNameSystem();
43
44 // Add move skill
45 addSkill(std::make_unique<MovePlatformToLandmark>(mns, arviz, platformControlSkillContext));
46 addSkill(std::make_unique<MovePlatformToPose>(mns, arviz, platformControlSkillContext));
47 }
48
49 void
53
54 void
58} // namespace armarx::skills::provider
Default component property definition container.
Definition Component.h:70
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
Definition Component.cpp:90
void onInitComponent() override
Pure virtual hook for the subclass.
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void onConnectComponent() override
Pure virtual hook for the subclass.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.