50 const auto* torqueSensor = sv->
asA<SensorValue1DoFActuatorTorque>();
51 const auto* velocitySensor = sv->
asA<SensorValue1DoFActuatorVelocity>();
52 const auto* positionSensor = sv->
asA<SensorValue1DoFActuatorPosition>();
The SensorValueBase class.
#define ARMARX_CHECK_EXPRESSION(expression)
This macro evaluates the expression and if it turns out to be false it will throw an ExpressionExcept...
This file is part of ArmarX.
std::vector< const SensorValue1DoFActuatorTorque * > torqueSensors
std::vector< const SensorValue1DoFActuatorPosition * > positionSensors
void getJointAngles(Eigen::VectorXf &qpos)
std::vector< const SensorValue1DoFActuatorVelocity * > velocitySensors
void updateJointValues(Eigen::VectorXf &qpos, Eigen::VectorXf &qvel, Eigen::VectorXf &qtor)
void append(const SensorValueBase *sv, const std::string &jointName)