25 #include <RobotAPI/interface/units/RobotUnit/NJointController.ice>
26 #include <RobotAPI/interface/core/Trajectory.ice>
36 string dmpMode =
"MinimumJerk";
37 string dmpType =
"Discrete";
42 double phaseDist0 = 50;
43 double phaseDist1 = 10;
44 double phaseKpPos = 1;
45 double phaseKpOri = 0.1;
46 double posToOriRatio = 10;
47 double timeDuration = 10;
104 void learnDMPFromFiles(Ice::StringSeq trajfiles);
106 void runDMP(Ice::DoubleSeq goals,
double timeDuration);
107 void runDMPWithVirtualStart(Ice::DoubleSeq starts, Ice::DoubleSeq goals,
double timeDuration);
110 void setGoals(Ice::DoubleSeq goals);
111 void setViaPoints(
double u, Ice::DoubleSeq viapoint);
112 void removeAllViaPoints();
113 double getVirtualTime();
115 void setKpImpedance(Ice::FloatSeq
value);
116 void setKdImpedance(Ice::FloatSeq
value);
117 void setKmAdmittance(Ice::FloatSeq
value);
118 void setKpAdmittance(Ice::FloatSeq
value);
119 void setKdAdmittance(Ice::FloatSeq
value);
121 Ice::FloatSeq getCurrentObjVel();
122 Ice::FloatSeq getCurrentObjForce();
124 void setMPWeights(DoubleSeqSeq weights);
125 DoubleSeqSeq getMPWeights();
126 void setMPRotWeights(DoubleSeqSeq weights);
127 DoubleSeqSeq getMPRotWeights();
135 string dmpMode =
"Linear";
136 string dmpType =
"Discrete";
137 double timeDuration = 10;
155 void learnDMPFromFiles(Ice::StringSeq trajfiles);
157 void runDMP(Ice::DoubleSeq goals,
double timeDuration);
158 void runDMPWithVirtualStart(Ice::DoubleSeq starts, Ice::DoubleSeq goals,
double timeDuration);
160 void setGoals(Ice::DoubleSeq goals);
161 void setViaPoints(
double u, Ice::DoubleSeq viapoint);
162 void removeAllViaPoints();
163 double getVirtualTime();
165 void setKpImpedance(Ice::FloatSeq
value);
166 void setKdImpedance(Ice::FloatSeq
value);
168 Ice::FloatSeq getCurrentObjVel();
170 void setMPWeights(DoubleSeqSeq weights);
171 DoubleSeqSeq getMPWeights();
172 void setMPRotWeights(DoubleSeqSeq weights);
173 DoubleSeqSeq getMPRotWeights();
179 int kernelSize = 100;
180 string dmpMode =
"MinimumJerk";
181 string dmpObjType =
"Discrete";
182 string dmpLeftType =
"Discrete";
183 string dmpRightType =
"Discrete";
185 float dmpAmplitude = 1.0;
190 double phaseDist0 = 50;
191 double phaseDist1 = 10;
192 double phaseKpPos = 1;
193 double phaseKpOri = 0.1;
194 double posToOriRatio = 10;
195 double timeDuration = 10;
242 void learnDMPFromFiles(Ice::StringSeq trajfiles);
243 void learnMultiDMPFromFiles(Ice::StringSeq objFileNames, Ice::StringSeq leftFileNames, Ice::StringSeq rightFileNames);
246 void runDMP(Ice::DoubleSeq goalObj, Ice::DoubleSeq goalLeft, Ice::DoubleSeq goalRight,
double timeDuration);
247 void runDMPWithVirtualStart(Ice::DoubleSeq starts, Ice::DoubleSeq goals,
double timeDuration);
250 void setGoals(Ice::DoubleSeq goals);
251 void setMultiMPGoals(Ice::DoubleSeq goalObj, Ice::DoubleSeq goalLeft, Ice::DoubleSeq goalRight);
253 void setViaPoints(
double u, Ice::DoubleSeq viapoint);
254 void removeAllViaPoints();
256 double getVirtualTime();
258 void setKpImpedance(Ice::FloatSeq
value);
259 void setKdImpedance(Ice::FloatSeq
value);
260 void setKmAdmittance(Ice::FloatSeq
value);
261 void setKpAdmittance(Ice::FloatSeq
value);
262 void setKdAdmittance(Ice::FloatSeq
value);
263 void setAmplitude(
double amp);
265 Ice::FloatSeq getCurrentObjVel();
266 Ice::FloatSeq getCurrentObjForce();