Hi all,
I am attempting to build a URDF for the UR10 that can be automatically generated using DH parameters.
What I currently do is read urcontrol.conf.UR10 and apply calibration.conf to them as follows:
I then use the corrected values to build my DH model. This works correctly if my values from calibration.conf are 0, but as soon as I use real robot values the transformation from ur_base to ee_link does not match the ee_link / tcp position readout on the UR simulator.
So my question is, how does the UR internally perform it’s IK using the calibration.conf to calculate its TCP position. Are all the values used? Are some omitted?
A follow up question on the same topic, what specifically is delta_theta in calibration.conf. Is it the 'angle about previous Z axis from old X to new X" as in a normal DH model?
Hi,
Adding DH calibration coefficients to urcontrol coefficients is the right way to go, and all values are used. Either robot is not using calibration file (wrong place, wrong format, wrong name, etc…) or your calculations are wrong. delta_theta is an offset from joint “zero” position, to true zero for achieving repeatable home position. q_home_offset is home position error magnitude in joint space. Home position - q_home_offset = [0, 0, 0, 0, 0, 0]
For anyone in the future going down this path, the final approach I used which worked was to add the coefficients together, giving a set of a, d, theta and alpha which were the sum of the calibration.conf and urcontrol files.
To use these with your system they need to be applied in order as specified by the unmodified DH model on wiki. So the final tansform from link to link will be: https://wikimedia.org/api/rest_v1/media/math/render/svg/70a95f9836e5efbe052491c0d73a1a76d729bc4d
In ROS tranformations are applied in XYZ R_x R_Y R_Z order so you cannot just feed the raw offset DH parameters into the joint definition in a URDF. First compute the final combined transform as follows:
Hi following his topics.
Which are the units in the calibration.conf file. Because I see that in the urcontrol.conf.Ur10 the denabit hatemberrs are in meters and radians.
However taking a look at the my calibration file which has these values
is imposible that delta_d is in m since it has values around 90, an also delta_theta in radians it seems to me that has very large values 0.3 radians is like 20Âş which I think is two much. So I understand the for delta_d and delta_a units are mm and for delta_alpha and delta_theta are degrees. Is that correct?
Hello @mojer, were you able to correctly use the DH-parameter deltas?
I am getting similar values and most of them are either very small or cancel each other, however, delta_a[1] (which is around 22mm in your case: 0.0220582…) does not cancel out and causes a corresponding offset in the final position in my case.
Did this work for you or did you have problems with this as well?
See here for my topic on this problem: Robot Calibration DH-Parameters mismatch