we are having problems with the cartesian impedance control mode for SmartServo / SmartServoLIN with the KUKA LBR iiwa 14 robot (SunriseOS 22.214.171.124).
The problems occurs when we try to call ServoMotion.validateForImpedanceMode(gripper);.
It is more likely to happen if the robot is in an outstreched arm position.
The error message is variance of LBRExtTorqueObs@LBR_iiwa_14_R820_1 is 10.05559201000732 should be less than 10.
However,the external axis torques that are shown on the KUKA SmartPad are less than 2 Nm for every axis (in case the correct tool is selected).
It seems like the RoboticsAPI is not choosing the correct load data for determining the external axis torques.
This is how we load the tool:
The values in RoboticsAPI.data.xml are exactly those that were found by calling Determining the load data on the SmartPad.
Thank you in advance for your help