28 #include <RobotAPI/interface/units/KinematicUnitInterface.h>
32 using namespace MotionControlGroup;
54 auto targetValues = in.getJointTargetValues();
55 std::map<std::string, float> distances;
57 for (
auto& pair : targetValues)
61 if (!dataFieldIdentifier)
68 if (!dataField || !dataField->getInitialized())
73 float currentValue = dataField->getFloat();
74 distances[pair.first] = pair.second - currentValue;
77 out.setJointFinalDistancesToTarget(distances);