Skip to content
Snippets Groups Projects
Commit f8c4ebcd authored by Christoph Pohl's avatar Christoph Pohl
Browse files

Added removeAllViaPoints interface method to NJointTaskSpaceImpedanceDMPController

parent 0a26b410
No related branches found
No related tags found
No related merge requests found
......@@ -340,6 +340,7 @@ module armarx
void resetDMP();
void stopDMP();
void resumeDMP();
void removeAllViaPoints();
void setMPWeights(DoubleSeqSeq weights);
DoubleSeqSeq getMPWeights();
......
......@@ -575,6 +575,12 @@ namespace armarx
return resvec;
}
void NJointTaskSpaceImpedanceDMPController::removeAllViaPoints(const Ice::Current&)
{
LockGuardType guard {controllerMutex};
ARMARX_INFO << "setting via points ";
dmpCtrl->removeAllViaPoints();
}
}
......@@ -74,6 +74,8 @@ namespace armarx
void setMPWeights(const DoubleSeqSeq& weights, const Ice::Current&);
DoubleSeqSeq getMPWeights(const Ice::Current&);
void removeAllViaPoints(const Ice::Current&) override;
protected:
virtual void onPublish(const SensorAndControl&, const DebugDrawerInterfacePrx&, const DebugObserverInterfacePrx&);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment