27#include <VirtualRobot/VirtualRobot.h>
55 using ConfigPtrT = NJointKinematicUnitPassThroughControllerConfigPtr;
59 const NJointKinematicUnitPassThroughControllerConfigPtr& cfg,
63 rtRun(
const IceUtil::Time&,
const IceUtil::Time&)
override
85 getClassName(
const Ice::Current& = Ice::emptyCurrent)
const override
87 return "NJointKinematicUnitPassThroughController";
99 template <
bool ConstPtr>
112 template <
bool constPtr = ConstPtr, std::enable_if_t<!constPtr,
int> = 0>
122 *
_int16 =
static_cast<std::int16_t
>(val);
#define TYPEDEF_PTRS_HANDLE(T)
The NJointKinematicUnitPassThroughController class.
std::string getClassName(const Ice::Current &=Ice::emptyCurrent) const override
ptr_wrapper< false > target
ptr_wrapper< true > sensor
float sensorToControlOnActivateFactor
void rtRun(const IceUtil::Time &, const IceUtil::Time &) override
TODO make protected and use attorneys.
NJointKinematicUnitPassThroughController(RobotUnit *prov, const NJointKinematicUnitPassThroughControllerConfigPtr &cfg, const VirtualRobot::RobotPtr &)
void rtPreActivateController() override
This function is called before the controller is activated.
NJointKinematicUnitPassThroughControllerConfigPtr ConfigPtrT
The RobotUnit class manages a robot and its controllers.
std::shared_ptr< class Robot > RobotPtr
This file offers overloads of toIce() and fromIce() functions for STL container types.
SynchronousNJointController NJointController
This file is part of ArmarX.
maybe_const_ptr< float > _float
std::conditional_t< ConstPtr, const T *, T * > maybe_const_ptr
maybe_const_ptr< std::int16_t > _int16