Go to the documentation of this file.
34 #include <RobotComponents/interface/components/MMMPlayerInterface.h>
38 class MotionFileWrapper;
50 defineOptionalProperty<std::string>(
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.");
56 defineOptionalProperty<bool>(
57 "ApplyButterworthFilter",
59 "If true a butterworth filter is applied on the trajectory.");
60 defineOptionalProperty<float>(
"ButterworthFilterCutOffFreq",
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;
void onConnectComponent() override
int getNumberOfFrames(const Ice::Current &) override
bool loadMMMFile(const std::string &filename, const std::string &projects, const Ice::Current &) override
void onDisconnectComponent() override
bool setMotionData(const std::string &motionName, const Ice::Current &) override
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
PropertyDefinitionsPtr createPropertyDefinitions() override
void onExitComponent() override
Ice::StringSeq getMotionNames(const Ice::Current &) override
void onInitComponent() override
TrajectoryBasePtr getBasePoseTraj(const Ice::Current &) override
TrajectoryBasePtr getJointTraj(const Ice::Current &) override
std::string getModelPath(const Ice::Current &) override
Baseclass for all ArmarX ManagedIceObjects requiring properties.
std::string getDefaultName() const override
Default component property definition container.
MMMPlayerPropertyDefinitions(std::string prefix)
Ice::StringSeq getJointNames(const Ice::Current &) override
bool isMotionLoaded(const Ice::Current &) override
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::string getMotionPath(const Ice::Current &) override