Go to the documentation of this file.
27 #include <Ice/ProxyHandle.h>
34 class DebugDrawerInterface;
35 class DebugObserverInterface;
109 std::atomic_bool activated {
false};
111 std::size_t controlModeHash {0};
112 std::size_t hardwareControlModeHash {0};
117 template<
class ControlTargetType>
122 using JointController::JointController;
160 return controlModeHash;
165 return controlModeHash;
170 return hardwareControlModeHash;
175 return hardwareControlModeHash;
193 inline void JointController::rtActivate()
199 inline void JointController::rtDeactivate()
206 template<
class ControlTargetType>
209 return &controlTarget;
virtual StringVariantBaseMap publish(const DebugDrawerInterfacePrx &draw, const DebugObserverInterfacePrx &observer) const
Hook for publishing data from JointController, mainly for debugging purposes.
std::map< std::string, VariantBasePtr > StringVariantBaseMap
virtual void rtRun(const IceUtil::Time &sensorValuesTimestamp, const IceUtil::Time &timeSinceLastIteration)=0
called when this JointController is run
ControlTargetType controlTarget
Brief description of class JointControlTargetBase.
The ControlDevice class represents a logical unit accepting commands via its JointControllers.
virtual void rtPostDeactivateController()
::IceInternal::ProxyHandle< ::IceProxy::armarx::DebugObserverInterface > DebugObserverInterfacePrx
The JointController class represents one joint in one control mode.
virtual const std::string & getControlMode() const =0
std::size_t rtGetHardwareControlModeHash() const
std::shared_ptr< Value > value()
ControlTargetType * getControlTarget() final
virtual std::string getHardwareControlMode() const
virtual bool isValid() const =0
virtual void rtPreActivateController()
called when this JointController is activated
virtual bool rtIsTargetValid() const
armarx::core::time::DateTime Time
const T * getControlTarget() const
ControlDevice & rtGetParent() const
std::size_t getHardwareControlModeHash() const
virtual ~JointController()=default
std::size_t rtGetControlModeHash() const
virtual const std::string & getControlMode() const
virtual ControlTargetBase * getControlTarget()=0
::IceInternal::ProxyHandle< ::IceProxy::armarx::DebugDrawerInterface > DebugDrawerInterfacePrx
virtual void rtResetTarget()
This file offers overloads of toIce() and fromIce() functions for STL container types.
ControlDevice & getParent() const
std::size_t getControlModeHash() const