Go to the documentation of this file.
25 #include <VirtualRobot/Robot.h>
33 #include <armarx/control/common/control_law/aron/CollisionAvoidanceControllerConfig.aron.generated.h>
36 #include <armarx/control/njoint_controller/task_space/ControllerInterface.h>
39 #include <simox/control/environment/CollisionRobot.h>
40 #include <simox/control/geodesics/metric/inertia.h>
41 #include <simox/control/impl/simox/robot/Robot.h>
64 using ConfigPtrT = ConfigurableNJointControllerConfigPtr;
66 CollisionAvoidanceTSMixedImpedanceVelocityControllerConfig;
70 const NJointControllerConfigPtr& config,
73 std::string
getClassName(
const Ice::Current& = Ice::emptyCurrent)
const override;
81 const Ice::Current& iceCurrent = Ice::emptyCurrent)
override;
87 const std::map<std::string, ConstControlDevicePtr>&,
88 const std::map<std::string, ConstSensorDevicePtr>&);
93 const Ice::Current& iceCurrent)
override;
112 std::atomic_bool collReady{
false};
static WidgetDescription::WidgetPtr GenerateConfigDescription(const VirtualRobot::RobotPtr &, const std::map< std::string, ConstControlDevicePtr > &, const std::map< std::string, ConstSensorDevicePtr > &)
std::map< std::string, VariantBasePtr > StringVariantBaseMap
void updateCollisionAvoidanceConfig(const ::armarx::aron::data::dto::DictPtr &dto, const Ice::Current &iceCurrent=Ice::emptyCurrent) override
NJointController interface for collision avoidance.
static ConfigPtrT GenerateConfigFromVariants(const StringVariantBaseMap &values)
Brief description of class NJointTaskspaceCollisionAvoidanceMixedImpedanceVelocityController.
NJointControllerConfigPtr ConfigPtrT
void onPublish(const SensorAndControl &sc, const DebugDrawerInterfacePrx &drawer, const DebugObserverInterfacePrx &) override
std::shared_ptr< CollisionAvoidanceBase > CollisionAvoidanceBasePtr
void rtRun(const IceUtil::Time &sensorValuesTimestamp, const IceUtil::Time &timeSinceLastIteration) override
TODO make protected and use attorneys.
void limbRT(ArmPtr &arm, const double deltaT)
Provides a ready-to-use ArViz client arviz as member variable.
Brief description of class NJointTaskspaceMixedImpedanceVelocityController.
armarx::aron::data::dto::Dict getCollisionAvoidanceConfig()
This file is part of ArmarX.
std::shared_ptr< CollisionAvoidanceArmData > CollArmPtr
void rtPostDeactivateController() override
This function is called after the controller is deactivated.
armarx::core::time::DateTime Time
::armarx::aron::data::dto::DictPtr getConfig(const Ice::Current &iceCurrent) override
std::string getClassName(const Ice::Current &=Ice::emptyCurrent) const override
std::shared_ptr< Dict > DictPtr
void rtPreActivateController() override
NJointControllerBase interface.
void updateConfig(const ::armarx::aron::data::dto::DictPtr &dto, const Ice::Current &iceCurrent) override
NJointTaskspaceCollisionAvoidanceMixedImpedanceVelocityController(const RobotUnitPtr &robotUnit, const NJointControllerConfigPtr &config, const VirtualRobot::RobotPtr &robot)
void collLimbPublish(core::CollisionAvoidanceBase::CollArmPtr &arm, const DebugObserverInterfacePrx &debugObs)
common::control_law::arondto::CollisionAvoidanceTSMixedImpedanceVelocityControllerConfig CollisionCtrlCfg
std::unique_ptr< ArmData > ArmPtr
std::shared_ptr< class Robot > RobotPtr