24 #include <RobotAPI/interface/units/KinematicUnitInterface.h>
31 #define make_SensorValue1DoFActuator(type, name, varname) \
32 class name : virtual public SensorValueBase \
35 DETAIL_SensorValueBase_DEFAULT_METHOD_IMPLEMENTATION type varname = 0.0f; \
36 static SensorValueInfo<name> \
37 GetClassMemberInfo() \
39 SensorValueInfo<name> svi; \
40 svi.addMemberVariable(&name::varname, #varname); \
55 #undef make_SensorValue1DoFActuator
63 static SensorValueInfo<SensorValue1DoFInverseDynamicsTorque>
66 SensorValueInfo<SensorValue1DoFInverseDynamicsTorque> svi;
67 svi.addBaseClass<SensorValue1DoFGravityTorque>();
69 "inverseDynamicsTorque");
77 virtual public SensorValue1DoFActuatorPosition,
78 virtual public SensorValue1DoFActuatorVelocity,
79 virtual public SensorValue1DoFActuatorAcceleration,
80 virtual public SensorValue1DoFActuatorTorque,
88 SensorValueInfo<SensorValue1DoFActuator> svi;
89 svi.addBaseClass<SensorValue1DoFActuatorPosition>();
90 svi.addBaseClass<SensorValue1DoFActuatorVelocity>();
91 svi.addBaseClass<SensorValue1DoFActuatorAcceleration>();
92 svi.addBaseClass<SensorValue1DoFActuatorTorque>();
108 .setFieldNames({
"JointStatusError",
109 "JointStatusOperation",
110 "JointStatusEnabled",
111 "JointStatusEmergencyStop"});
118 virtual public SensorValue1DoFActuatorCurrent,
119 virtual public SensorValue1DoFActuatorMotorTemperature
126 SensorValueInfo<SensorValue1DoFRealActuator> svi;
128 svi.addBaseClass<SensorValue1DoFActuatorCurrent>();
129 svi.addBaseClass<SensorValue1DoFActuatorMotorTemperature>();