27#include <ArmarXCore/interface/observers/ObserverInterface.h>
29#include <ArmarXGui/interface/RemoteGuiInterface.h>
51 "Name of the debug observer that should be used");
75 return "KITProstheticHandUnit";
82 const Ice::Current& = Ice::emptyCurrent)
override;
85 void addShape(
const std::string& name,
const std::map<std::string, float>& shape);
89 void setShape(
const std::string& shapeName,
90 const Ice::Current&
c = Ice::emptyCurrent)
override;
99 std::unique_ptr<BLEProthesisInterface> _driver;
100 std::map<std::string, std::map<std::string, float>> _shapes;
104 RemoteGuiInterfacePrx _remoteGuiPrx;
107 float _lastGuiValueThumb{0};
108 float _lastGuiValueFingers{0};
Defines all necessary properties for armarx::HandUnit.
HandUnitPropertyDefinitions(std::string prefix)
Base unit for high-level access to robot hands.
KITProstheticHandUnitPropertyDefinitions(std::string prefix)
Brief description of class KITProstheticHandUnit.
void addShapeName(const std::string &name)
void onInitHandUnit() override
void onExitHandUnit() override
NameValueMap getCurrentJointValues(const Ice::Current &) override
void setShape(const std::string &shapeName, const Ice::Current &c=Ice::emptyCurrent) override
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void addShape(const std::string &name, const std::map< std::string, float > &shape)
void onStartHandUnit() override
void setJointAngles(const NameValueMap &targetJointAngles, const Ice::Current &=Ice::emptyCurrent) override
std::string getDefaultName() const override
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)
This file offers overloads of toIce() and fromIce() functions for STL container types.
::IceInternal::ProxyHandle<::IceProxy::armarx::DebugObserverInterface > DebugObserverInterfacePrx
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.