Go to the documentation of this file.
4 #include <VirtualRobot/VirtualRobot.h>
11 #include <RobotAPI/interface/units/RobotUnit/NjointZeroTorqueController.h>
26 public NJointZeroTorqueControllerInterface
33 std::string
getClassName(
const Ice::Current&)
const override;
41 const std::map<std::string, ConstControlDevicePtr>&,
42 const std::map<std::string, ConstSensorDevicePtr>&);
49 std::vector<ControlTarget1DoFActuatorZeroTorque*>
targets;
std::map< std::string, VariantBasePtr > StringVariantBaseMap
void rtPreActivateController() override
This function is called before the controller is activated.
NJointControllerConfigPtr ConfigPtrT
NJointZeroTorqueController(RobotUnitPtr prov, const NJointZeroTorqueControllerConfigPtr &config, const VirtualRobot::RobotPtr &)
void setControllerTarget(const Ice::FloatSeq &, const Ice::Current &) override
Ice::FloatSeq targetTorques
TYPEDEF_PTRS_HANDLE(NJointTorqueController)
armarx::core::time::DateTime Time
void rtPostDeactivateController() override
This function is called after the controller is deactivated.
static NJointZeroTorqueControllerConfigPtr GenerateConfigFromVariants(const StringVariantBaseMap &values)
std::vector< ControlTarget1DoFActuatorZeroTorque * > targets
void rtRun(const IceUtil::Time &sensorValuesTimestamp, const IceUtil::Time &timeSinceLastIteration) override
TODO make protected and use attorneys.
static WidgetDescription::WidgetPtr GenerateConfigDescription(const VirtualRobot::RobotPtr &, const std::map< std::string, ConstControlDevicePtr > &, const std::map< std::string, ConstSensorDevicePtr > &)
std::shared_ptr< class Robot > RobotPtr
std::string getClassName(const Ice::Current &) const override