34 #include <RobotAPI/interface/components/TrajectoryPlayerInterface.h>
36 #include <ArmarXSimulation/interface/MMMSimulationInterface.h>
37 #include <ArmarXSimulation/interface/simulator/SimulatorInterface.h>
42 class MotionFileWrapper;
54 defineOptionalProperty<std::string>(
"AgentName",
"MMM",
"");
55 defineOptionalProperty<std::string>(
"MMMFile",
"");
56 defineOptionalProperty<std::string>(
57 "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);
99 return "MMMSimulation";
102 bool isMotionLoaded(
const Ice::Current& = Ice::emptyCurrent)
override;
104 const std::string& projects = std::string(),
106 const Ice::Current& = Ice::emptyCurrent)
override;
107 void playMotion(
const Ice::Current& = Ice::emptyCurrent)
override;
108 void pauseMotion(
const Ice::Current& = Ice::emptyCurrent)
override;
109 void stopMotion(
const Ice::Current& = Ice::emptyCurrent)
override;
110 void setLoopBack(
bool state,
const Ice::Current& = Ice::emptyCurrent)
override;
114 const Ice::Current& = Ice::emptyCurrent)
override