29#include <VirtualRobot/VirtualRobot.h>
36#include <RobotAPI/interface/units/KinematicUnitInterface.h>
51 "Robot node set name as defined in robot xml file, e.g. 'LeftArm'");
53 "Robot file name, e.g. robot_model.xml");
56 "Project in which the robot filename is located "
57 "(if robot is loaded from an external project)");
59 "TopicPrefix",
"",
"Prefix for the sensor value topic name.");
62 "Topic where skill providers provide their skills");
89 return "KinematicUnit";
99 std::string
getRobotFilename(
const Ice::Current& = Ice::emptyCurrent)
const override;
105 std::vector<std::string>
112 std::string
getRobotName(
const Ice::Current& = Ice::emptyCurrent)
const override;
123 std::string
getReportTopicName(
const Ice::Current& = Ice::emptyCurrent)
const override;
131 const Ice::Current&
c = Ice::emptyCurrent);
133 const Ice::Current&
c = Ice::emptyCurrent);
135 const Ice::Current&
c = Ice::emptyCurrent)
override;
137 const Ice::Current&
c = Ice::emptyCurrent)
override;
139 const Ice::Current&
c = Ice::emptyCurrent)
override;
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
KinematicUnitPropertyDefinitions(std::string prefix)
std::string getRobotName(const Ice::Current &=Ice::emptyCurrent) const override
void onInitComponent() override
Pure virtual hook for the subclass.
void setJointVelocitiesToZero()
virtual void onStartKinematicUnit()=0
VirtualRobot::RobotPtr robot
std::vector< std::string > armarXPackages
std::string relativeRobotFile
void setJointAngles(const NameValueMap &targetJointAngles, const Ice::Current &c=Ice::emptyCurrent) override
void switchControlMode(const NameControlModeMap &targetJointModes, const Ice::Current &c=Ice::emptyCurrent) override
virtual void releaseKinematicUnit(const Ice::StringSeq &nodes, const Ice::Current &c=Ice::emptyCurrent)
std::vector< VirtualRobot::RobotNodePtr > robotNodes
std::vector< std::string > getArmarXPackages(const Ice::Current &=Ice::emptyCurrent) const override
getArmarXPackages
std::string robotNodeSetName
virtual void requestKinematicUnit(const Ice::StringSeq &nodes, const Ice::Current &c=Ice::emptyCurrent)
void onConnectComponent() override
Pure virtual hook for the subclass.
virtual void onExitKinematicUnit()=0
PropertyDefinitionsPtr createPropertyDefinitions() override
virtual void onInitKinematicUnit()=0
void onExitComponent() override
Hook for subclass.
std::string getRobotFilename(const Ice::Current &=Ice::emptyCurrent) const override
KinematicUnitListenerPrx listenerPrx
std::string getRobotNodeSetName(const Ice::Current &=Ice::emptyCurrent) const override
void setJointVelocities(const NameValueMap &targetJointVelocities, const Ice::Current &c=Ice::emptyCurrent) override
void setJointAnglesToZero()
std::string getDefaultName() const override
Retrieve default name of component.
std::string getReportTopicName(const Ice::Current &=Ice::emptyCurrent) const override
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)
SensorActorUnit()
Constructs a SensorActorUnit.
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.