4 #include <VirtualRobot/Robot.h>
5 #include <dmp/representation/dmp/umidmp.h>
13 #include <armarx/control/deprecated_njoint_mp_controller/joint_space/ControllerInterface.h>
47 using ConfigPtrT = NJointJointSpaceDMPControllerConfigPtr;
51 std::string
getClassName(
const Ice::Current&)
const override;
62 void learnDMPFromFiles(
const Ice::StringSeq& fileNames,
const Ice::Current&)
override;
65 void runDMP(
const Ice::DoubleSeq& goals,
double tau,
const Ice::Current&)
override;
76 struct DebugBufferData
78 StringFloatDictionary latestTargetVelocities;
79 StringFloatDictionary dmpTargetState;
84 std::map<std::string, const SensorValue1DoFActuatorTorque*> torqueSensors;
85 std::map<std::string, const SensorValue1DoFGravityTorque*> gravityTorqueSensors;
86 std::map<std::string, const SensorValue1DoFActuatorPosition*> positionSensors;
87 std::map<std::string, const SensorValue1DoFActuatorVelocity*> velocitySensors;
88 std::map<std::string, ControlTarget1DoFActuatorVelocity*> targets;
94 std::vector<double> goals;
95 DMP::UMIDMPPtr dmpPtr;
96 bool DMPAsForwardControl;
114 std::vector<std::string> dimNames;
115 DMP::Vec<DMP::DMPState> currentState;