3#include <experimental/memory>
14#include <armarx/control/skills/aron/ZeroTorque.aron.generated.h>
38 def->component(remote.kinematicUnit);
39 def->component(remote.leftHandUnit,
"LeftHandUnit",
"LeftHandUnit");
40 def->component(remote.rightHandUnit,
"RightHandUnit",
"RightHandUnit");
42 def->required(properties.robotName,
"RobotName",
"Name of the robot.");
43 def->optional(properties.homePoseConfiguration,
44 "homePoseConfiguration",
45 "Named configuration used as `Home` pose.");
46 def->required(properties.disableWaitUntilFinished,
47 "disableWaitUntilFinished",
48 "This property disables the 'waitUntilFinished' functionality of the "
49 "'ShapeHands' skill when set to true. This is needed when no finger joint "
50 "encoder are available (e.g. when using the Vincent hand).");
73 .controlComponentPluginUser = controlComponentPluginUser};
78 .controlComponentPluginUser = controlComponentPluginUser};
83 .controlComponentPluginUser = controlComponentPluginUser};
88 .kinematicUnit = remote.kinematicUnit,
89 .virtualRobotReader = robotStateReader,
90 .robotName = properties.robotName};
95 remote.kinematicUnit};
100 .virtualRobotReader = robotStateReader, .robotName = properties.robotName};
106 .leftHandUnit = remote.leftHandUnit, .rightHandUnit = remote.rightHandUnit};
111 .leftHandUnit = remote.leftHandUnit, .rightHandUnit = remote.rightHandUnit};
113 .disableWaitUntilFinished = properties.disableWaitUntilFinished};
123 armarx::control::skills::config::ZeroTorque skillConfig;
124 skillConfig.robotName = properties.robotName;
129 .virtualRobotReader =
131 .robotUnitPlugin_ = remote.robotUnitPlugin};
132 skillBlueprints.zeroTorque->connectTo(context);
144 properties.homePoseConfiguration);
169 return Component::defaultName;
175 return Component::defaultName;
#define ARMARX_REGISTER_COMPONENT_EXECUTABLE(ComponentT, applicationName)
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
bool usingProxy(const std::string &name, const std::string &endpoints="")
Registers a proxy for retrieval after initialization and adds it to the dependency list.
PluginT * addPlugin(const std::string prefix="", ParamsT &&... params)
FacT * addCustomSkillFactory(Args &&... args)
skills::SkillBlueprint * addSkillFactory(const skills::SkillDescription &desc, const skills::LambdaSkill::FunctionType &f)
MemoryNameSystem & memoryNameSystem()
virtual void connect(armem::client::MemoryNameSystem &memoryNameSystem)
The VirtualRobotReader class.
ComponentPlugin & getControlComponentPlugin()
void onInitComponent() override
void onDisconnectComponent() override
::armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void onConnectComponent() override
static std::string GetDefaultName()
Get the component's default name.
void onExitComponent() override
std::string getDefaultName() const override
std::string CONTROL_SKILL_PROVIDER_NAME
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
observer_ptr< _Tp > make_observer(_Tp *__p) noexcept