27 #ifndef _ARMARX_COMPONENT_RobotComponents_MotionFileWrapper_H
28 #define _ARMARX_COMPONENT_RobotComponents_MotionFileWrapper_H
44 data.second[0] *= factor;
45 data.second[1] *= factor;
46 data.second[2] *= factor;
80 static MotionFileWrapperPtr create(
const std::string& motionFilePath,
double butterworthFilterCutOffFreq = 0.0,
const std::string relativeModelRoot =
"mmm");
92 bool loadMotion(
const std::string& motionFilePath,
const std::string relativeModelRoot =
"mmm");
93 bool loadLegacyMotion(
const std::string& motionFilePath,
const std::string relativeModelRoot =
"mmm");
96 DoubleSeqSeq getTrajData(
const Eigen::VectorXf&
jointAngles);
98 std::map<std::string, MotionDataPtr> motionData;
99 std::vector<std::string> motionNames;
100 double butterworthFilterCutOffFreq;
104 #endif // _ARMARX_COMPONENT_RobotComponents_MotionFileWrapper_H