Go to the documentation of this file.
29 #include <RobotComponents/interface/components/MMMPlayerInterface.h>
38 class MotionFileWrapper;
52 defineOptionalProperty<std::string>(
"ArmarXProjects",
"",
"Comma-separated list with names of ArmarXProjects (e.g. 'Armar3,Armar4'). The MMM XML File can be specified relatively to a data path of one of these projects.");
54 defineOptionalProperty<bool>(
"ApplyButterworthFilter",
false,
"If true a butterworth filter is applied on the trajectory.");
55 defineOptionalProperty<float>(
"ButterworthFilterCutOffFreq", 20,
"Cut off frequency for the butterworth lowpass filter.");
75 public armarx::MMMPlayerInterface
113 void load(
const std::string&
filename,
const std::string& projects);
115 std::shared_ptr<MotionFileWrapper> motionWrapper;
116 std::shared_ptr<MotionData> motionData;
117 std::string motionPath;
119 std::recursive_mutex mmmMutex;
122 bool loadMMMFile(
const std::string&
filename,
const std::string& projects,
const Ice::Current&)
override;
123 bool setMotionData(
const std::string& motionName,
const Ice::Current&)
override;
131 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