Go to the documentation of this file.
   26 const float armarx::JointSimulationDevice::nullFloat = 0;
 
   62     if (rtGetActiveJointController())
 
   65         curJointCtrl->
map->erase(getDeviceName());
 
   66         curJointCtrl->mapVal = 
nullptr;
 
   70     newJointCtrl->
mapVal = &(*(newJointCtrl->map))[getDeviceName()];
 
   71     *(newJointCtrl->mapVal) = *(newJointCtrl->sensVal);
 
   79         << 
"JointBaseCtrl(" + getControlMode() + 
") has null map target value";
 
  
 
void rtSetActiveJointController(JointController *jointCtrl) override
Activates the given JointController for this device.
JointSimController< ControlTarget1DoFActuatorTorque > jointCtrlTor
The ControlDevice class represents a logical unit accepting commands via its JointControllers.
JointSimController< DummyControlTargetEmergencyStop > jointCtrlESt
The JointController class represents one joint in one control mode.
JointSimController< ControlTarget1DoFActuatorVelocity > jointCtrlVel
JointSimController< ControlTarget1DoFActuatorPosition > jointCtrlPos
virtual void rtSetActiveJointController(JointController *jointCtrl)
Activates the given JointController for this device.
JointSimController< DummyControlTargetStopMovement > jointCtrlMSt
This class represents some part of the robot providing sensor values.
JointSimulationDevice(const std::string &name, NameValueMap &ctrlpos, NameValueMap &ctrlvel, NameValueMap &ctrltor)
armarx::core::time::DateTime Time
void rtRun(const IceUtil::Time &, const IceUtil::Time &) override
called when this JointController is run
SensorValue1DoFActuator sensorValue
#define ARMARX_CHECK_EXPRESSION(expression)
This macro evaluates the expression and if it turns out to be false it will throw an ExpressionExcept...
void addJointController(JointController *jointCtrl)
adds the Joint controller to this ControlDevice