Go to the documentation of this file.
27 #include <VirtualRobot/Robot.h>
31 #include "../ControlTargets/ControlTarget1DoFActuator.h"
32 #include "../SensorValues/SensorValue1DoFActuator.h"
55 using ConfigPtrT = NJointKinematicUnitPassThroughControllerConfigPtr;
59 const NJointKinematicUnitPassThroughControllerConfigPtr& cfg,
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);
TYPEDEF_PTRS_HANDLE(NJointCartesianNaturalPositionController)
std::conditional_t< ConstPtr, const T *, T * > maybe_const_ptr
NJointControllerConfigPtr ConfigPtrT
ptr_wrapper< true > sensor
The NJointKinematicUnitPassThroughController class.
std::string getClassName(const Ice::Current &=Ice::emptyCurrent) const override
void rtRun(const IceUtil::Time &, const IceUtil::Time &) override
TODO make protected and use attorneys.
std::vector< T > abs(const std::vector< T > &v)
NJointKinematicUnitPassThroughController(RobotUnit *prov, const NJointKinematicUnitPassThroughControllerConfigPtr &cfg, const VirtualRobot::RobotPtr &)
maybe_const_ptr< float > _float
maybe_const_ptr< std::int16_t > _int16
armarx::core::time::DateTime Time
ptr_wrapper< false > target
The RobotUnit class manages a robot and its controllers.
float sensorToControlOnActivateFactor
This file is part of ArmarX.
This file offers overloads of toIce() and fromIce() functions for STL container types.
void rtPreActivateController() override
This function is called before the controller is activated.
std::shared_ptr< class Robot > RobotPtr