GraspControlSkillProvider.cpp
Go to the documentation of this file.
2
4{
7 {
10
11 graspControlSkillContext.defineProperties(defs, "graspControlSkills.");
12
13 return defs;
14 }
15
16 std::string
18 {
19 return "GraspControlSkillProvider";
20 }
21
22 void
24 {
25 graspControlSkillContext.onInit(*this);
26 }
27
28 void
30 {
31 graspControlSkillContext.onConnected(*this);
32
33 auto& mns = memoryNameSystem();
34
35 // Add move skill
36 addSkill(std::make_unique<CloseHandAndAttachSkill>(mns, arviz, graspControlSkillContext));
37 addSkill(std::make_unique<MovePlatformForGraspSkill>(mns, arviz, graspControlSkillContext));
38 addSkill(
39 std::make_unique<MovePlatformAfterGraspSkill>(mns, arviz, graspControlSkillContext));
40 addSkill(std::make_unique<ExecuteGraspSkill>(mns, arviz, graspControlSkillContext));
41 addSkill(std::make_unique<GraspObjectSkill>(mns, arviz, graspControlSkillContext));
42
43 addSkill(std::make_unique<OpenHandAndDetachSkill>(mns, arviz, graspControlSkillContext));
44 addSkill(
45 std::make_unique<MovePlatformForPutdownSkill>(mns, arviz, graspControlSkillContext));
46 addSkill(
47 std::make_unique<MovePlatformAfterPutdownSkill>(mns, arviz, graspControlSkillContext));
48 addSkill(std::make_unique<ExecutePutdownSkill>(mns, arviz, graspControlSkillContext));
49 addSkill(std::make_unique<PutdownObjectSkill>(mns, arviz, graspControlSkillContext));
50 }
51
52 void
56
57 void
61} // 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.