DeprecatedNJointTaskSpaceAdmittanceDMPController.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include <VirtualRobot/Robot.h>
5 #include <VirtualRobot/IK/DifferentialIK.h>
7 
13 
14 #include <dmp/representation/dmp/umidmp.h>
15 
16 #include <armarx/control/deprecated_njoint_mp_controller/task_space/ControllerInterface.h>
18 
19 
21 {
23 
24  TYPEDEF_PTRS_HANDLE(DeprecatedNJointTaskSpaceAdmittanceDMPController);
25  TYPEDEF_PTRS_HANDLE(DeprecatedNJointTaskSpaceAdmittanceDMPControllerControlData);
26 
28  {
29  public:
32  Eigen::VectorXf targetNullSpaceJointValues;
33  double canVal;
34  double mpcFactor;
35  };
36 
37 
38 
39  /**
40  * @brief The DeprecatedNJointTaskSpaceAdmittanceDMPController class
41  * @ingroup Library-RobotUnit-NJointControllers
42  */
44  public NJointControllerWithTripleBuffer<DeprecatedNJointTaskSpaceAdmittanceDMPControllerControlData>,
46  {
47  public:
48  using ConfigPtrT = DeprecatedNJointTaskSpaceAdmittanceDMPControllerConfigPtr;
49  DeprecatedNJointTaskSpaceAdmittanceDMPController(const RobotUnitPtr& robotUnit, const NJointControllerConfigPtr& config, const VirtualRobot::RobotPtr&);
50 
51  // NJointControllerInterface interface
52  std::string getClassName(const Ice::Current&) const override;
53 
54  // NJointController interface
55  void rtRun(const IceUtil::Time& sensorValuesTimestamp, const IceUtil::Time& timeSinceLastIteration) override;
56 
57  // DeprecatedNJointTaskSpaceAdmittanceDMPControllerInterface interface
58  void learnDMPFromFiles(const Ice::StringSeq& fileNames, const Ice::Current&) override;
59  bool isFinished(const Ice::Current&) override;
60 
61  void setViaPoints(Ice::Double u, const Ice::DoubleSeq& viapoint, const Ice::Current&) override;
62  void setGoals(const Ice::DoubleSeq& goals, const Ice::Current&) override;
63 
64  void learnJointDMPFromFiles(const std::string& fileName, const Ice::FloatSeq& currentJVS, const Ice::Current&) override;
65  void runDMP(const Ice::DoubleSeq& goals, const Ice::Current& iceCurrent = Ice::emptyCurrent) override;
66  void runDMPWithTime(const Ice::DoubleSeq& goals, Ice::Double timeDuration, const Ice::Current&) override;
67 
68  Ice::Double getVirtualTime(const Ice::Current&) override;
69 
70  void stopDMP(const Ice::Current&) override;
71  void resumeDMP(const Ice::Current&) override;
72  void pauseDMP(const Ice::Current&) override;
73  void resetDMP(const Ice::Current&) override;
74 
75  void setMPWeights(const DoubleSeqSeq& weights, const Ice::Current&) override;
76  DoubleSeqSeq getMPWeights(const Ice::Current&) override;
77 
78  void removeAllViaPoints(const Ice::Current&) override;
79 
80  void setKpImpedance(const Eigen::Vector6f& kpImpedance, const Ice::Current&) override;
81  void setKdImpedance(const Eigen::Vector6f& kdImpedance, const Ice::Current&) override;
82 
83  void setKpAdmittance(const Eigen::Vector6f& kpAdmittance, const Ice::Current&) override;
84  void setKdAdmittance(const Eigen::Vector6f& kdAdmittance, const Ice::Current&) override;
85  void setKmAdmittance(const Eigen::Vector6f& kmAdmittance, const Ice::Current&) override;
86 
87  void setTCPMass(Ice::Float mass, const Ice::Current&) override;
88  void setTCPCoMInFTFrame(const Eigen::Vector3f& com, const Ice::Current&) override;
89 
90  void setNullspaceVelocityKd(const Eigen::VectorXf& kd, const Ice::Current&) override;
91  void setNullspaceVelocityKp(const Eigen::VectorXf& kp, const Ice::Current&) override;
92  void setUseNullSpaceJointDMP(bool enable, const Ice::Current&) override;
93  void setTargetNullSpaceJointValues(const Eigen::VectorXf& jointValues, const Ice::Current&) override;
94  void setPotentialForceBaseline(const Eigen::Vector3f&, const Eigen::Vector3f&, const Ice::Current&) override;
95 
96  std::string getDMPAsString(const Ice::Current&) override;
97  Ice::DoubleSeq createDMPFromString(const std::string&, const Ice::Current&) override;
98  Ice::Double getCanVal(const Ice::Current&) override;
99  void setStartAndGoals(const Ice::DoubleSeq& starts, const Ice::DoubleSeq& goals, const Ice::Current& ice) override;
100 
101  Eigen::Vector6f getFilteredForceTorque(Eigen::Vector3f& forceBaseline, Eigen::Vector3f& torqueBaseline, Eigen::Vector6f& handCompensatedFT);
102  Eigen::Vector6f getTCPGravityCompensation(Eigen::Matrix4f& currentPose, float tcpMass);
103  // RTController::ControllerInfo getControllerInfo(const Ice::Current& ice) override;
104  std::string getKinematicChainName(const Ice::Current&) override;
105 
106  protected:
107  virtual void onPublish(const SensorAndControl&, const DebugDrawerInterfacePrx&, const DebugObserverInterfacePrx&) override;
108 
109  void onInitNJointController() override;
110  void onDisconnectNJointController() override;
111  void controllerRun();
112 
113  private:
114 // RTController::ControllerInfo info;
115  std::string kinematic_chain;
116  // ---------------------- Buffer: rt 2 debug data ----------------------
117  struct DebugRTData
118  {
119  double currentCanVal;
120  double mpcfactor;
121  float targetPose_x;
122  float targetPose_y;
123  float targetPose_z;
124  float targetPose_qw;
125  float targetPose_qx;
126  float targetPose_qy;
127  float targetPose_qz;
128 
129  float virtualPose_x;
130  float virtualPose_y;
131  float virtualPose_z;
132  float virtualPose_qw;
133  float virtualPose_qx;
134  float virtualPose_qy;
135  float virtualPose_qz;
136 
137  float currentPose_x;
138  float currentPose_y;
139  float currentPose_z;
140  float currentPose_qw;
141  float currentPose_qx;
142  float currentPose_qy;
143  float currentPose_qz;
144 
145  float currentKpos_x;
146  float currentKpos_y;
147  float currentKpos_z;
148  float currentKori_x;
149  float currentKori_y;
150  float currentKori_z;
151  float currentKnull_x;
152  float currentKnull_y;
153  float currentKnull_z;
154 
155  float currentDpos_x;
156  float currentDpos_y;
157  float currentDpos_z;
158  float currentDori_x;
159  float currentDori_y;
160  float currentDori_z;
161  float currentDnull_x;
162  float currentDnull_y;
163  float currentDnull_z;
164 
165  StringFloatDictionary desired_torques;
166  StringFloatDictionary desired_nullspaceJoint;
167  float forceDesired_x;
168  float forceDesired_y;
169  float forceDesired_z;
170  float forceDesired_rx;
171  float forceDesired_ry;
172  float forceDesired_rz;
173 
174  float ft_InRoot_x;
175  float ft_InRoot_y;
176  float ft_InRoot_z;
177  float ft_InRoot_rx;
178  float ft_InRoot_ry;
179  float ft_InRoot_rz;
180 
181  float ft_FilteredInRoot_x;
182  float ft_FilteredInRoot_y;
183  float ft_FilteredInRoot_z;
184  float ft_FilteredInRoot_rx;
185  float ft_FilteredInRoot_ry;
186  float ft_FilteredInRoot_rz;
187 
188  float deltaT;
189 
190  Eigen::Vector6f kmAdmittance;
191  Eigen::Vector6f gravityCompensation;
192  Eigen::Vector3f forceBaseline;
193  Eigen::Vector3f torqueBaseline;
194  Eigen::Vector3f forceOffset;
195  Eigen::Vector3f torqueOffset;
196  };
198 
199  // ---------------------- Buffer: rt 2 MP thread data ----------------------
200  struct RT2MPData
201  {
202  double currentTime;
203  double deltaT;
204  Eigen::Matrix4f currentPose;
205  Eigen::VectorXf currentTwist;
206  };
208 
209  // ---------------------- Buffer: rt 2 interface data ----------------------
210  struct RT2InterfaceData
211  {
212  Eigen::Matrix4f currentTcpPose;
213  };
215 
216  // ---------------------- Buffer: control parameter ----------------------
217  struct CtrlParams
218  {
219  Eigen::Vector6f kpImpedance;
220  Eigen::Vector6f kdImpedance;
221 
222  Eigen::Vector6f kpAdmittance;
223  Eigen::Vector6f kdAdmittance;
224  Eigen::Vector6f kmAdmittance;
225 
226  Eigen::VectorXf knull;
227  Eigen::VectorXf dnull;
228 
229  Eigen::Vector3f forceBaseline;
230  Eigen::Vector3f torqueBaseline;
231 
232  float tcpMass;
233  Eigen::Vector3f tcpCoMInForceSensorFrame;
234  };
236 
237 
238  // ---------------------- Admittance Control Variables ----------------------
239 
240  Eigen::Vector6f virtualAcc;
241  Eigen::Vector6f virtualVel;
242  Eigen::Matrix4f virtualPose;
243 
244  // ---------------------- low-level control variables ----------------------
245  // device
246  std::vector<const SensorValue1DoFActuatorTorque*> torqueSensors;
247  std::vector<const SensorValue1DoFActuatorVelocity*> velocitySensors;
248  std::vector<const SensorValue1DoFActuatorPosition*> positionSensors;
249  std::vector<ControlTarget1DoFActuatorTorque*> targets;
250 
251  VirtualRobot::DifferentialIKPtr ik;
252  VirtualRobot::RobotNodePtr tcp;
253 
254  // ---------------------- MP variables ----------------------
255  DMP::Vec<DMP::DMPState> currentJointState;
256  DMP::UMIDMPPtr nullSpaceJointDMPPtr;
257 
258  mutable MutexType mpMutex;
260  DeprecatedNJointTaskSpaceAdmittanceDMPControllerConfigPtr cfg;
262 
263  // phaseStop parameters
264  double phaseL;
265  double phaseK;
266  double phaseDist0;
267  double phaseDist1;
268  double posToOriRatio;
269 
270  float torqueLimit;
271  int numOfJoints;
272  std::vector<std::string> jointNames;
273 
274  std::atomic_bool useNullSpaceJointDMP;
275  bool isNullSpaceJointDMPLearned;
276 
277  std::atomic_bool rtFirstRun = true;
278  std::atomic_bool rtReady = false;
279  std::atomic_bool mpRunning = false;
280  std::atomic_bool mpFinished = false;
281 
282  Eigen::Matrix4f previousTargetPose;
283  Eigen::VectorXf qvel_filtered;
284 
285  /// force torque sensor
286  const SensorValueForceTorque* forceSensor;
287  Eigen::Vector3f forceOffset;
288  Eigen::Vector3f torqueOffset;
289  Eigen::Vector3f filteredForce;
290  Eigen::Vector3f filteredTorque;
291  Eigen::Vector3f filteredForceInRoot;
292  Eigen::Vector3f filteredTorqueInRoot;
293  std::atomic<float> timeForCalibration;
294 
295  std::atomic_bool enableTCPGravityCompensation;
296  Eigen::Matrix4f forceFrameInTCP = Eigen::Matrix4f::Identity();
297  Eigen::Vector3f tcpCoMInTCPFrame;
298 
299  protected:
300  void rtPreActivateController() override;
301  };
302 
303 } // namespace armarx
304 
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPControllerControlData::mpcFactor
double mpcFactor
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.h:34
armarx::VariantType::Float
const VariantTypeId Float
Definition: Variant.h:918
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::runDMPWithTime
void runDMPWithTime(const Ice::DoubleSeq &goals, Ice::Double timeDuration, const Ice::Current &) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:673
armarx::NJointControllerWithTripleBuffer
Definition: NJointControllerWithTripleBuffer.h:10
RobotUnit.h
armarx::DeprecatedNJointTaskSpaceAdmittanceDMPControllerInterface::getCanVal
double getCanVal()
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::onDisconnectNJointController
void onDisconnectNJointController() override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:831
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::setKpAdmittance
void setKpAdmittance(const Eigen::Vector6f &kpAdmittance, const Ice::Current &) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:877
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::setKdImpedance
void setKdImpedance(const Eigen::Vector6f &kdImpedance, const Ice::Current &) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:871
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::setMPWeights
void setMPWeights(const DoubleSeqSeq &weights, const Ice::Current &) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:836
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPControllerControlData::targetNullSpaceJointValues
Eigen::VectorXf targetNullSpaceJointValues
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.h:32
armarx::control::deprecated_njoint_mp_controller::task_space
Definition: DeprecatedNJointPeriodicTSDMPCompliantController.cpp:6
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::getClassName
std::string getClassName(const Ice::Current &) const override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:170
SensorValueForceTorque.h
armarx::NJointControllerBase::ConfigPtrT
NJointControllerConfigPtr ConfigPtrT
Definition: NJointControllerBase.h:586
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::setPotentialForceBaseline
void setPotentialForceBaseline(const Eigen::Vector3f &, const Eigen::Vector3f &, const Ice::Current &) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:932
armarx::DeprecatedNJointTaskSpaceAdmittanceDMPControllerInterface::getKinematicChainName
string getKinematicChainName()
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::setGoals
void setGoals(const Ice::DoubleSeq &goals, const Ice::Current &) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:570
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::setKdAdmittance
void setKdAdmittance(const Eigen::Vector6f &kdAdmittance, const Ice::Current &) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:883
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::getTCPGravityCompensation
Eigen::Vector6f getTCPGravityCompensation(Eigen::Matrix4f &currentPose, float tcpMass)
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:489
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::setTCPCoMInFTFrame
void setTCPCoMInFTFrame(const Eigen::Vector3f &com, const Ice::Current &) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:901
armarx::DeprecatedNJointTaskSpaceAdmittanceDMPControllerInterface::getMPWeights
DoubleSeqSeq getMPWeights()
armarx::DeprecatedNJointTaskSpaceAdmittanceDMPControllerInterface::stopDMP
void stopDMP()
armarx::detail::ControlThreadOutputBufferEntry
Definition: ControlThreadOutputBuffer.h:177
armarx::DeprecatedNJointTaskSpaceAdmittanceDMPControllerInterface::resumeDMP
void resumeDMP()
armarx::VariantType::Double
const VariantTypeId Double
Definition: Variant.h:919
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::rtPreActivateController
void rtPreActivateController() override
This function is called before the controller is activated.
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:176
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::setViaPoints
void setViaPoints(Ice::Double u, const Ice::DoubleSeq &viapoint, const Ice::Current &) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:561
GfxTL::Identity
void Identity(MatrixXX< N, N, T > *a)
Definition: MatrixXX.h:523
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::setUseNullSpaceJointDMP
void setUseNullSpaceJointDMP(bool enable, const Ice::Current &) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:667
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::onInitNJointController
void onInitNJointController() override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:128
armarx::DeprecatedNJointTaskSpaceAdmittanceDMPControllerInterface::isFinished
bool isFinished()
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::setTCPMass
void setTCPMass(Ice::Float mass, const Ice::Current &) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:895
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::setTargetNullSpaceJointValues
void setTargetNullSpaceJointValues(const Eigen::VectorXf &jointValues, const Ice::Current &) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:924
armarx::DeprecatedNJointTaskSpaceAdmittanceDMPControllerInterface::removeAllViaPoints
void removeAllViaPoints()
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::learnJointDMPFromFiles
void learnJointDMPFromFiles(const std::string &fileName, const Ice::FloatSeq &currentJVS, const Ice::Current &) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:585
ControlTarget1DoFActuator.h
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::setKmAdmittance
void setKmAdmittance(const Eigen::Vector6f &kmAdmittance, const Ice::Current &) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:889
armarx::DeprecatedNJointTaskSpaceAdmittanceDMPControllerInterface::getVirtualTime
double getVirtualTime()
armarx::control::deprecated_njoint_mp_controller::tsvmp
Definition: NJointTaskSpaceImpedanceDMPController.h:20
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPControllerControlData::targetTSVel
Eigen::Vector6f targetTSVel
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.h:30
armarx::armem::Time
armarx::core::time::DateTime Time
Definition: forward_declarations.h:13
TaskSpaceVMP.h
CycleUtil.h
NJointController.h
armarx::control::deprecated_njoint_mp_controller::tsvmp::TaskSpaceDMPControllerPtr
std::shared_ptr< TaskSpaceDMPController > TaskSpaceDMPControllerPtr
Definition: NJointTaskSpaceImpedanceDMPController.h:24
armarx::DeprecatedNJointTaskSpaceAdmittanceDMPControllerInterface::pauseDMP
void pauseDMP()
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController
The DeprecatedNJointTaskSpaceAdmittanceDMPController class.
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.h:43
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::controllerRun
void controllerRun()
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:182
GfxTL::Matrix4f
MatrixXX< 4, 4, float > Matrix4f
Definition: MatrixXX.h:601
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::runDMP
void runDMP(const Ice::DoubleSeq &goals, const Ice::Current &iceCurrent=Ice::emptyCurrent) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:687
armarx::NJointControllerWithTripleBuffer< DeprecatedNJointTaskSpaceAdmittanceDMPControllerControlData >::MutexType
std::recursive_mutex MutexType
Definition: NJointControllerWithTripleBuffer.h:13
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::learnDMPFromFiles
void learnDMPFromFiles(const Ice::StringSeq &fileNames, const Ice::Current &) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:550
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPControllerControlData
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.h:27
IceUtil::Handle
Definition: forward_declarations.h:29
armarx::DeprecatedNJointTaskSpaceAdmittanceDMPControllerInterface
Definition: ControllerInterface.ice:518
IceInternal::ProxyHandle<::IceProxy::armarx::DebugDrawerInterface >
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPControllerControlData::targetTSPose
Eigen::Matrix4f targetTSPose
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.h:31
armarx::control::deprecated_njoint_mp_controller::task_space::TYPEDEF_PTRS_HANDLE
TYPEDEF_PTRS_HANDLE(DeprecatedNJointPeriodicTSDMPCompliantController)
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::createDMPFromString
Ice::DoubleSeq createDMPFromString(const std::string &, const Ice::Current &) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:650
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::DeprecatedNJointTaskSpaceAdmittanceDMPController
DeprecatedNJointTaskSpaceAdmittanceDMPController(const RobotUnitPtr &robotUnit, const NJointControllerConfigPtr &config, const VirtualRobot::RobotPtr &)
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:10
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::setNullspaceVelocityKp
void setNullspaceVelocityKp(const Eigen::VectorXf &kp, const Ice::Current &) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:915
armarx::WriteBufferedTripleBuffer< DebugRTData >
Eigen::Matrix< float, 6, 1 >
armarx::DeprecatedNJointTaskSpaceAdmittanceDMPControllerInterface::getDMPAsString
string getDMPAsString()
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::setStartAndGoals
void setStartAndGoals(const Ice::DoubleSeq &starts, const Ice::DoubleSeq &goals, const Ice::Current &ice) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:576
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::setNullspaceVelocityKd
void setNullspaceVelocityKd(const Eigen::VectorXf &kd, const Ice::Current &) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:907
armarx::SensorValueForceTorque
Definition: SensorValueForceTorque.h:31
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::getFilteredForceTorque
Eigen::Vector6f getFilteredForceTorque(Eigen::Vector3f &forceBaseline, Eigen::Vector3f &torqueBaseline, Eigen::Vector6f &handCompensatedFT)
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:505
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPControllerControlData::canVal
double canVal
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.h:33
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::onPublish
virtual void onPublish(const SensorAndControl &, const DebugDrawerInterfacePrx &, const DebugObserverInterfacePrx &) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:713
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::setKpImpedance
void setKpImpedance(const Eigen::Vector6f &kpImpedance, const Ice::Current &) override
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:865
armarx::control::deprecated_njoint_mp_controller::task_space::DeprecatedNJointTaskSpaceAdmittanceDMPController::rtRun
void rtRun(const IceUtil::Time &sensorValuesTimestamp, const IceUtil::Time &timeSinceLastIteration) override
TODO make protected and use attorneys.
Definition: DeprecatedNJointTaskSpaceAdmittanceDMPController.cpp:233
SensorValue1DoFActuator.h
armarx::DeprecatedNJointTaskSpaceAdmittanceDMPControllerInterface::resetDMP
void resetDMP()
VirtualRobot::RobotPtr
std::shared_ptr< class Robot > RobotPtr
Definition: Bus.h:18