34#include <RobotComponents/interface/components/MMMPlayerInterface.h>
53 "Comma-separated list with names of ArmarXProjects (e.g. 'Armar3,Armar4'). The MMM "
54 "XML File can be specified relatively to a data path of one of these projects.");
57 "ApplyButterworthFilter",
59 "If true a butterworth filter is applied on the trajectory.");
62 "Cut off frequency for the butterworth lowpass filter.");
119 void load(
const std::string& filename,
const std::string& projects);
121 std::shared_ptr<MotionFileWrapper> motionWrapper;
122 std::shared_ptr<MotionData> motionData;
123 std::string motionPath;
125 std::recursive_mutex mmmMutex;
130 const std::string& projects,
131 const Ice::Current&)
override;
132 bool setMotionData(
const std::string& motionName,
const Ice::Current&)
override;
140 TrajectoryBasePtr
getJointTraj(
const Ice::Current&)
override;
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
Baseclass for all ArmarX ManagedIceObjects requiring properties.
MMMPlayerPropertyDefinitions(std::string prefix)
void onInitComponent() override
std::string getMotionPath(const Ice::Current &) override
void onDisconnectComponent() override
bool isMotionLoaded(const Ice::Current &) override
Ice::StringSeq getMotionNames(const Ice::Current &) override
bool loadMMMFile(const std::string &filename, const std::string &projects, const Ice::Current &) override
std::string getModelPath(const Ice::Current &) override
int getNumberOfFrames(const Ice::Current &) override
void onConnectComponent() override
PropertyDefinitionsPtr createPropertyDefinitions() override
Ice::StringSeq getJointNames(const Ice::Current &) override
TrajectoryBasePtr getJointTraj(const Ice::Current &) override
bool setMotionData(const std::string &motionName, const Ice::Current &) override
void onExitComponent() override
std::string getDefaultName() const override
TrajectoryBasePtr getBasePoseTraj(const Ice::Current &) 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)
This file offers overloads of toIce() and fromIce() functions for STL container types.
::IceInternal::Handle<::armarx::MMMPlayer > MMMPlayerPtr
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.