Go to the documentation of this file.
4 #include <VirtualRobot/VirtualRobot.h>
9 #include <armarx/control/njoint_controller/joint_space/ControllerInterface.h>
26 using ConfigPtrT = NJointZeroTorqueOrVelocityControllerConfigPtr;
29 const NJointZeroTorqueOrVelocityControllerConfigPtr& config,
33 std::string
getClassName(
const Ice::Current&)
const override;
45 const std::map<std::string, ConstControlDevicePtr>&,
46 const std::map<std::string, ConstSensorDevicePtr>&);
48 static NJointZeroTorqueOrVelocityControllerConfigPtr
56 std::vector<ControlTarget1DoFActuatorZeroVelocity*>
targetsVel;
void rtPostDeactivateController() override
This function is called after the controller is deactivated.
NJointZeroTorqueOrVelocityController(RobotUnitPtr prov, const NJointZeroTorqueOrVelocityControllerConfigPtr &config, const VirtualRobot::RobotPtr &)
std::map< std::string, VariantBasePtr > StringVariantBaseMap
Ice::FloatSeq targetTorqueOrVelocity
std::vector< ControlTarget1DoFActuatorZeroTorque * > targetsTorque
NJointControllerConfigPtr ConfigPtrT
static NJointZeroTorqueOrVelocityControllerConfigPtr GenerateConfigFromVariants(const StringVariantBaseMap &values)
void rtRun(const IceUtil::Time &sensorValuesTimestamp, const IceUtil::Time &timeSinceLastIteration) override
TODO make protected and use attorneys.
void setControllerTarget(const Ice::FloatSeq &, const Ice::Current &) override
static WidgetDescription::WidgetPtr GenerateConfigDescription(const VirtualRobot::RobotPtr &, const std::map< std::string, ConstControlDevicePtr > &, const std::map< std::string, ConstSensorDevicePtr > &)
void rtPreActivateController() override
This function is called before the controller is activated.
TYPEDEF_PTRS_HANDLE(NJointTorqueController)
armarx::core::time::DateTime Time
std::string getClassName(const Ice::Current &) const override
std::vector< ControlTarget1DoFActuatorZeroVelocity * > targetsVel
std::vector< bool > torqueControlled
std::shared_ptr< class Robot > RobotPtr