Go to the documentation of this file.
25 #include <VirtualRobot/Robot.h>
33 #include <armarx/control/interface/ConfigurableNJointControllerInterface.h>
34 #include <armarx/control/njoint_controller/task_space/ControllerInterface.h>
57 using ConfigPtrT = ConfigurableNJointControllerConfigPtr;
58 using AronDTO = law::arondto::KeypointControllerConfig;
59 using BO = law::KeypointsImpedanceController::Config;
62 const NJointControllerConfigPtr& config,
65 std::string
getClassName(
const Ice::Current&)
const override;
74 const Ice::Current& iceCurrent = Ice::emptyCurrent)
override;
94 std::vector<ControlTarget1DoFActuatorTorque*>
targets;
std::vector< const SensorValue1DoFActuatorVelocity * > velocitySensors
TripleBuffer< law::RobotStatus > bufferRtToAdditionalTask
TripleBuffer< BO > bufferAdditionalTaskToUser
law::KeypointsImpedanceController::Config BO
std::string kinematicChainName
variables
Brief description of class NJointKeypointsImpedanceController.
TripleBuffer< BO > bufferUserToRt
SensorDevices sensorDevices
VirtualRobot::RobotPtr nonRtRobot
NJointControllerConfigPtr ConfigPtrT
void onInitNJointController() override
NJointControllerBase interface.
std::atomic_bool rtFirstRun
std::vector< ControlTarget1DoFActuatorTorque * > targets
common::control_law::ControlTarget controlTargets
void rtPostDeactivateController() override
This function is called after the controller is deactivated.
void validateConfigData(BO &config)
std::vector< std::string > jointNames
virtual void additionalTask()
This file is part of ArmarX.
NJointKeypointsImpedanceController(const RobotUnitPtr &robotUnit, const NJointControllerConfigPtr &config, const VirtualRobot::RobotPtr &)
law::arondto::KeypointControllerConfig AronDTO
armarx::core::time::DateTime Time
std::vector< const SensorValue1DoFActuatorTorque * > torqueSensors
std::atomic_bool reInitPreActivate
std::shared_ptr< Dict > DictPtr
TripleBuffer< BO > bufferUserToAdditionalTask
set buffers
void rtPreActivateController() override
This function is called before the controller is activated.
std::string getClassName(const Ice::Current &) const override
void updateConfig(const ::armarx::aron::data::dto::DictPtr &dto, const Ice::Current &iceCurrent=Ice::emptyCurrent) override
NJointController interface.
void onPublish(const SensorAndControl &, const DebugDrawerInterfacePrx &, const DebugObserverInterfacePrx &) override
::armarx::aron::data::dto::DictPtr getConfig(const Ice::Current &iceCurrent=Ice::emptyCurrent) override
void rtRun(const IceUtil::Time &sensorValuesTimestamp, const IceUtil::Time &timeSinceLastIteration) override
TODO make protected and use attorneys.
law::KeypointsImpedanceController controller
std::vector< const SensorValue1DoFActuatorPosition * > positionSensors
std::shared_ptr< class Robot > RobotPtr