31 NJointControllerRegistration<NJointKVILImpedanceMPController>
36 const NJointControllerConfigPtr& config,
41 ConfigPtrT cfg = ConfigPtrT::dynamicCast(config);
61 return "NJointKVILImpedanceMPController";
72 const Ice::Current& iceCurrent)
88 return ::armarx::toAronDict<AronDTO, BO>(
180 const Eigen::Vector3f& curve_vec_,
183 nl_mani_buffer.getWriteBuffer().pm_proj_point = curve_proj_point_;
184 nl_mani_buffer.getWriteBuffer().pm_proj_point_to_mean_distance = proj_value_;
185 nl_mani_buffer.getWriteBuffer().pm_tangent_vec = curve_vec_;
186 nl_mani_buffer.commitWrite();
196 return kpt_status_buffer.getUpToDateReadBuffer().curve_kpt_position;
void reconfigureMPs(const MPListConfig &mpListConfig)
bool isFinished(const std::string &mpName="all", const Ice::Current &iceCurrent=Ice::emptyCurrent) override
void createMPs(const MPListConfig &mpListConfig)
std::atomic< bool > isMPReady
ConfigurableNJointControllerConfigPtr ConfigPtrT
NJointKeypointsImpedanceController(const RobotUnitPtr &robotUnit, const NJointControllerConfigPtr &config, const VirtualRobot::RobotPtr &)
void validateConfigData(BO &config)
void updateConfig(const ::armarx::aron::data::dto::DictPtr &dto, const Ice::Current &iceCurrent=Ice::emptyCurrent) override
NJointController interface.
void additionalTask() override
NJointKVILImpedanceMPController(const RobotUnitPtr &robotUnit, const NJointControllerConfigPtr &config, const VirtualRobot::RobotPtr &)
void setCurveProjection(const Eigen::Vector3f &curve_proj_point_, float proj_value_, const Eigen::Vector3f &curve_vec_, const Ice::Current &) override
TripleBuffer< BO > bufferUserToAdditionalTask
void configureConstraints(const ConstraintList &c)
::armarx::aron::data::dto::DictPtr getConfig(const Ice::Current &iceCurrent=Ice::emptyCurrent) override
Eigen::Vector3f getCurveKeypointPosition(const Ice::Current &) override
TripleBuffer< BO > bufferUserToRt
void updateConfig(const ::armarx::aron::data::dto::DictPtr &dto, const Ice::Current &iceCurrent=Ice::emptyCurrent) override
TripleBuffer< BO > bufferAdditionalTaskToUser
std::string getClassName(const Ice::Current &) const override
void rtPreActivateController() override
This function is called before the controller is activated.
#define ARMARX_IMPORTANT
The logging level for always important information, but expected behaviour (in contrast to ARMARX_WAR...
std::shared_ptr< class Robot > RobotPtr
::IceInternal::Handle< Dict > DictPtr
This file is part of ArmarX.
This file is part of ArmarX.
NJointControllerRegistration< NJointKVILImpedanceMPController > registrationControllerNJointKVILImpedanceMPController("NJointKVILImpedanceMPController")
std::vector< Constraint1 > ConstraintList
T fromAronDict(const ::armarx::aron::data::dto::DictPtr &dto)
IceUtil::Handle< class RobotUnit > RobotUnitPtr