31#include <RobotAPI/interface/units/HeadIKUnit.h>
32#include <RobotAPI/interface/visualization/DebugDrawerInterface.h>
48 "Name of the KinematicUnit Proxy");
50 "HeadIKUnitTopicName",
"HeadIKUnitTopic",
"Name of the HeadIKUnit Topic");
52 "RobotStateComponentName",
53 "RobotStateComponent",
54 "Name of the RobotStateComponent that should be used");
57 "Visualize the current IK target using the debug drawer");
89 const Ice::Current&
c = Ice::emptyCurrent)
override;
91 const FramedPositionBasePtr& targetPosition,
92 const Ice::Current&
c = Ice::emptyCurrent)
override;
95 void init(
const Ice::Current&
c = Ice::emptyCurrent)
override;
96 void start(
const Ice::Current&
c = Ice::emptyCurrent)
override;
97 void stop(
const Ice::Current&
c = Ice::emptyCurrent)
override;
98 UnitExecutionState
getExecutionState(
const Ice::Current&
c = Ice::emptyCurrent)
override;
101 void request(
const Ice::Current&
c = Ice::emptyCurrent)
override;
102 void release(
const Ice::Current&
c = Ice::emptyCurrent)
override;
111 std::mutex accessMutex;
117 KinematicUnitInterfacePrx kinematicUnitPrx;
122 Ice::StringSeq robotNodeSetNames;
126 armarx::HeadIKUnitListenerPrx headIKUnitListener;
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
Component()
Protected default constructor. Used for virtual inheritance. Use createManagedIceObject() instead.
HeadIKUnitPropertyDefinitions(std::string prefix)
void onInitComponent() override
Pure virtual hook for the subclass.
void start(const Ice::Current &c=Ice::emptyCurrent) override
void release(const Ice::Current &c=Ice::emptyCurrent) override
UnitExecutionState getExecutionState(const Ice::Current &c=Ice::emptyCurrent) override
void onDisconnectComponent() override
Hook for subclass.
void init(const Ice::Current &c=Ice::emptyCurrent) override
void setCycleTime(Ice::Int milliseconds, const Ice::Current &c=Ice::emptyCurrent) override
void stop(const Ice::Current &c=Ice::emptyCurrent) override
void setHeadTarget(const std::string &robotNodeSetName, const FramedPositionBasePtr &targetPosition, const Ice::Current &c=Ice::emptyCurrent) override
void onConnectComponent() override
Pure virtual hook for the subclass.
void request(const Ice::Current &c=Ice::emptyCurrent) override
PropertyDefinitionsPtr createPropertyDefinitions() override
void onExitComponent() override
Hook for subclass.
std::string getDefaultName() const override
Retrieve default name of component.
IceUtil::Handle< PeriodicTask< T > > pointer_type
Shared pointer type for convenience.
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
PropertyDefinition< PropertyType > & defineOptionalProperty(const std::string &name, PropertyType defaultValue, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
PropertyDefinition< PropertyType > & defineRequiredProperty(const std::string &name, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
std::shared_ptr< class Robot > RobotPtr
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
IceInternal::Handle< FramedPosition > FramedPositionPtr
::IceInternal::ProxyHandle<::IceProxy::armarx::RobotStateComponentInterface > RobotStateComponentInterfacePrx
::IceInternal::ProxyHandle<::IceProxy::armarx::DebugDrawerInterface > DebugDrawerInterfacePrx