person_simulator_skill_provider.cpp
Go to the documentation of this file.
2
4
8
10{
12 {
13 addPlugin(virtualRobotReaderPlugin);
14 }
15
16 const std::string Component::defaultName = "person_simulator_skill_provider";
17
20 {
23
24 def->required(properties.robotName, "RobotName", "Default robot name.");
25 def->required(properties.poseProviderName, "Pose provider segment name");
26 def->required(properties.profileProviderName, "Profile provider segment name");
27 def->required(properties.poseModelId, "Pose Model ID");
28 def->required(properties.jointDisplacement,
29 "Joint displacement",
30 "The distance between a joint and the middle axis in generated poses.");
31
32
33 return def;
34 }
35
36 void
38 {
39 // Topics and properties defined above are automagically registered.
40
41 // Keep debug observer data until calling `sendDebugObserverBatch()`.
42 // (Requies the armarx::DebugObserverComponentPluginUser.)
43 // setDebugObserverBatchModeEnabled(true);
44 }
45
46 void
48 {
49 // Do things after connecting to topics and components.
51 memoryNameSystem(), virtualRobotReaderPlugin->get()};
52
53 {
55 properties);
56 }
57
58 {
60 }
61
62 {
64 remote, properties);
65 }
66 }
67
68 void
72
73 void
77
78 std::string
80 {
81 return Component::defaultName;
82 }
83
84 std::string
86 {
87 return Component::defaultName;
88 }
89
91
92} // namespace visionx::components::person_simulator_skill_provider
#define ARMARX_REGISTER_COMPONENT_EXECUTABLE(ComponentT, applicationName)
Definition Decoupled.h:29
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
PluginT * addPlugin(const std::string prefix="", ParamsT &&... params)
skills::SkillBlueprint * addSkillFactory(const skills::SkillDescription &desc, const skills::LambdaSkill::FunctionType &f)
static std::string GetDefaultName()
Get the component's default name.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
Remote parameters of this skill implementation.