Go to the documentation of this file.
34 const RobotUnitPtr& robotUnit,
35 const NJointControllerConfigPtr& config,
41 ConfigPtrT cfg = ConfigPtrT::dynamicCast(config);
42 auto configData = ::armarx::fromAronDict<AronDTO, BO>(cfg->config);
44 bufferUserToAdditionalTask.reinitAllBuffers(configData);
45 bufferAdditionalTaskToUser.reinitAllBuffers(configData);
46 bufferUserToRt.reinitAllBuffers(configData);
48 createMPs(configData.mpList);
60 return "NJointKVILImpedanceMPController";
176 nl_mani_buffer.
getWriteBuffer().pm_proj_point = curve_proj_point_;
177 nl_mani_buffer.
getWriteBuffer().pm_proj_point_to_mean_distance = proj_value_;
std::atomic< bool > isMPReady
void reconfigureMPs(const MPListConfig &mpListConfig)
Brief description of class NJointKeypointsImpedanceController.
void validateConfigData(arondto::CollisionAvoidanceConfig &cfg)
NJointKVILImpedanceMPController(const RobotUnitPtr &robotUnit, const NJointControllerConfigPtr &config, const VirtualRobot::RobotPtr &)
std::vector< Constraint1 > ConstraintList
Eigen::Vector3f getCurveKeypointPosition()
TripleBuffer< BO > bufferAdditionalTaskToUser
void updateConfig(const ::armarx::aron::data::dto::DictPtr &dto, const Ice::Current &iceCurrent=Ice::emptyCurrent) override
NJointControllerRegistration< NJointKVILImpedanceMPController > registrationControllerNJointKVILImpedanceMPController("NJointKVILImpedanceMPController")
::armarx::aron::data::dto::DictPtr getConfig(const Ice::Current &iceCurrent=Ice::emptyCurrent) override
This file is part of ArmarX.
std::shared_ptr< Dict > DictPtr
void rtPreActivateController() override
This function is called before the controller is activated.
void updateConfig(const ::armarx::aron::data::dto::DictPtr &dto, const Ice::Current &iceCurrent=Ice::emptyCurrent) override
NJointController interface.
void setCurveProjection(const Eigen::Vector3f &curve_proj_point_, float proj_value_, const Eigen::Vector3f &curve_vec_, const Ice::Current &) override
void additionalTask() override
TripleBuffer< BO > bufferUserToAdditionalTask
const T & getUpToDateReadBuffer() const
std::string getClassName(const Ice::Current &) const override
void configureConstraints(const ConstraintList &c)
std::shared_ptr< class Robot > RobotPtr
bool isFinished(const std::string &mpName="all", const Ice::Current &iceCurrent=Ice::emptyCurrent) override