29 #include <ArmarXSimulation/interface/MMMSimulationInterface.h>
31 #include <RobotAPI/interface/components/TrajectoryPlayerInterface.h>
32 #include <ArmarXSimulation/interface/simulator/SimulatorInterface.h>
41 class MotionFileWrapper;
55 defineOptionalProperty<std::string>(
"AgentName",
"MMM",
"");
56 defineOptionalProperty<std::string>(
"MMMFile",
"");
57 defineOptionalProperty<std::string>(
"RobotFileName",
"RobotAPI/robots/MMM/mmm.xml",
"Path to MMM XML File");
58 defineOptionalProperty<std::string>(
"RobotFileNameProject",
"RobotAPI",
"");
60 defineOptionalProperty<std::string>(
"RobotNodeSetName",
"Joints_Revolute");
61 defineOptionalProperty<std::string>(
"WorkingMemoryName",
"WorkingMemory");
62 defineOptionalProperty<std::string>(
"SimulatorName",
"Simulator");
63 defineOptionalProperty<bool>(
"LoopPlayback",
false);
64 defineOptionalProperty<float>(
"Scaling", 1.8);
65 defineOptionalProperty<float>(
"StartPose.x", 0);
66 defineOptionalProperty<float>(
"StartPose.y", 0);
67 defineOptionalProperty<float>(
"StartPose.z", 0);
68 defineOptionalProperty<float>(
"StartPose.roll", 0);
69 defineOptionalProperty<float>(
"StartPose.pitch", 0);
70 defineOptionalProperty<float>(
"StartPose.yaw", 0);
71 defineOptionalProperty<bool>(
"AutoPlay",
false);
72 defineOptionalProperty<bool>(
"LoadToMemory",
false);
92 public armarx::MMMSimulationInferface
100 return "MMMSimulation";
103 bool isMotionLoaded(
const Ice::Current& = Ice::emptyCurrent)
override;
104 bool loadMMMFile(
const std::string& filePath,
const std::string& projects = std::string(),
bool createTrajectoryPlayer =
true,
const Ice::Current& = Ice::emptyCurrent)
override;
105 void playMotion(
const Ice::Current& = Ice::emptyCurrent)
override;
106 void pauseMotion(
const Ice::Current& = Ice::emptyCurrent)
override;
107 void stopMotion(
const Ice::Current& = Ice::emptyCurrent)
override;
108 void setLoopBack(
bool state,
const Ice::Current& = Ice::emptyCurrent)
override;