Go to the documentation of this file.
4 #include <VirtualRobot/VirtualRobot.h>
12 #include <RobotAPI/interface/units/RobotUnit/NjointZeroTorqueController.h>
25 public NJointTorqueControllerInterface
32 std::string
getClassName(
const Ice::Current&)
const override;
40 const std::map<std::string, ConstControlDevicePtr>&,
41 const std::map<std::string, ConstSensorDevicePtr>&);
48 std::vector<ControlTarget1DoFActuatorTorque*>
targets;
Ice::FloatSeq targetTorques
std::map< std::string, VariantBasePtr > StringVariantBaseMap
static NJointTorqueControllerConfigPtr GenerateConfigFromVariants(const StringVariantBaseMap &values)
std::string getClassName(const Ice::Current &) const override
NJointTorqueController(RobotUnitPtr prov, const NJointTorqueControllerConfigPtr &config, const VirtualRobot::RobotPtr &)
std::vector< ControlTarget1DoFActuatorTorque * > targets
NJointControllerConfigPtr ConfigPtrT
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 > &)
TYPEDEF_PTRS_HANDLE(NJointTorqueController)
armarx::core::time::DateTime Time
void rtPreActivateController() override
This function is called before the controller is activated.
void rtPostDeactivateController() override
This function is called after the controller is deactivated.
void setControllerTarget(const Ice::FloatSeq &, const Ice::Current &) override
std::shared_ptr< class Robot > RobotPtr