Open alaurenzi opened 4 years ago
I don't understand why there are these errors since I just took the same xacro from the old repo... So for what concern the joint limits I suppose there is a sort of scaling or alternative values since most of them are different. For the pose of the links I see a constant 0.93... m error on the z and this should be the height which is used to place the robot in gazebo. For the orientation as well I see some ~0 to ~180 deg which I don't understand in this case.
I do not see the FT joints for the above URDF: should I generate a new one or do you have any alternatives?
Right...because it's the one we use for the robot. However, except for this, in terms of kinematics it should be the most up to date, right?
yes correct!
I set pelvis
as reference for pose comparisons (so that the fixed world - pelvis offset does not affect all measurements), and also added twist comparisons (which are good)
Checking poses...
\>\>\> Pose mismatch in link "world": error 0.93445 m, 1.20741826973e-06 deg
Old:
translation: [ 3.126, -1.522, 2.206]
rotation : [ 0.877, -0.1568, -0.4042, 0.2072]
New:
translation: [ 2.403, -1.743, 1.658]
rotation : [ 0.877, -0.1568, -0.4042, 0.2072]
\>\>\> Pose mismatch in link "arm1_8": error 0.0405 m, 180.0 deg
Old:
translation: [ 0.8894, 0.01411, 0.155]
rotation : [ 0.804, 0.2886, 0.474, -0.2136]
New:
translation: [ 0.8635, -0.01088, 0.1736]
rotation : [ 0.4862, -0.1842, -0.3645, 0.7726]
\>\>\> Twist mismatch in link "arm1_8": error is 0.0926670994888
Old:
[-0.24754931 0.35876708 0.36897771 -1.40888432 3.60232126 -0.89294139]
New:
[-0.16353423 0.39516493 0.38325549 -1.40888432 3.60232126 -0.89294139]
\>\>\> Pose mismatch in link "arm2_8": error 0.0405 m, 180.0 deg
Old:
translation: [ 0.2196, -0.7976, 0.1532]
rotation : [ 0.9532, -0.1254, 0.008719, 0.275]
New:
translation: [ 0.2217, -0.7763, 0.1875]
rotation : [-0.1883, -0.2006, -0.7627, 0.5854]
\>\>\> Twist mismatch in link "arm2_8": error is 0.076413909104
Old:
[ 1.72627472 0.82242625 -0.01644256 -4.11026323 1.04015053 -1.73739539]
New:
[ 1.69515433 0.76452129 0.02251411 -4.11026323 1.04015053 -1.73739539]
\>\>\> Pose mismatch in link "hip1_1": error 6.66133814775e-16 m, 2.61741876897 deg
Old:
translation: [ 0.25, 0.125, -0.0566]
rotation : [ 0.821, 0.571, 1.036e-14, -1.028e-13]
New:
translation: [ 0.25, 0.125, -0.0566]
rotation : [ 0.8338, 0.5521, 1.27e-14, -1.026e-13]
\>\>\> Pose mismatch in link "hip2_1": error 0.0035 m, 0.0 deg
Old:
translation: [ 0.25, 0.125, -0.1156]
rotation : [-0.2717, -0.6528, -0.3191, 0.631]
New:
translation: [ 0.25, 0.125, -0.1191]
rotation : [-0.2717, -0.6528, -0.3191, 0.631]
\>\>\> Twist mismatch in link "hip2_1": error is 0.00440680757818
Old:
[ 0.81503706 1.06460016 0.71145005 0.25791352 0.18079563 0.96451036]
New:
[ 0.81771474 1.06398863 0.70800389 0.25791352 0.18079563 0.96451036]
\>\>\> Pose mismatch in link "knee_1": error 0.0035 m, 0.0 deg
Old:
translation: [ 0.4796, 0.3169, -0.09349]
rotation : [ 0.5417, 0.4545, 0.007182, 0.7071]
New:
translation: [ 0.4796, 0.3169, -0.09699]
rotation : [ 0.5417, 0.4545, 0.007182, 0.7071]
\>\>\> Twist mismatch in link "knee_1": error is 0.0044068075779
Old:
[ 0.94580244 1.16801547 0.65709792 1. 0.7677352 0.64076725]
New:
[ 0.94848011 1.16740394 0.65365176 1. 0.7677352 0.64076725]
\>\>\> Pose mismatch in link "ankle1_1": error 0.0035 m, 0.0 deg
Old:
translation: [ 0.5318, 0.4935, -0.2205]
rotation : [-0.3585, -0.6095, -0.2296, 0.6688]
New:
translation: [0.5318, 0.4935, -0.224]
rotation : [-0.3585, -0.6095, -0.2296, 0.6688]
\>\>\> Twist mismatch in link "ankle1_1": error is 0.00440680757783
Old:
[ 1.0813227 1.1988068 0.40870843 0.25791352 0.18079563 0.96451036]
New:
[ 1.08400037 1.19819528 0.40526226 0.25791352 0.18079563 0.96451036]
\>\>\> Pose mismatch in link "ankle2_1": error 0.0035 m, 0.0 deg
Old:
translation: [ 0.5318, 0.4935, -0.2205]
rotation : [-0.09969, 0.01146, -0.6768, 0.7293]
New:
translation: [0.5318, 0.4935, -0.224]
rotation : [-0.09969, 0.01146, -0.6768, 0.7293]
\>\>\> Twist mismatch in link "ankle2_1": error is 0.00440680757783
Old:
[ 1.0813227 1.1988068 0.40870843 -0.33594011 0.532479 0.2408691 ]
New:
[ 1.08400037 1.19819528 0.40526226 -0.33594011 0.532479 0.2408691 ]
\>\>\> Pose mismatch in link "wheel_1": error 0.00128599472983 m, 180.0 deg
Old:
translation: [ 0.5682, 0.5241, 0.009644]
rotation : [-0.5591, -0.327, 0.6812, 0.3411]
New:
translation: [ 0.5686, 0.5244, 0.008447]
rotation : [ 0.6812, -0.3411, 0.5591, -0.327]
\>\>\> Twist mismatch in link "wheel_1": error is 0.00369681300859
Old:
[ 0.97060494 1.10800988 0.45501124 0.35393542 0.29223361 -0.44203199]
New:
[ 0.97217804 1.10649093 0.45203055 0.35393542 0.29223361 -0.44203199]
\>\>\> Pose mismatch in link "hip1_2": error 0.0 m, 2.61741876897 deg
Old:
translation: [ 0.25, -0.125, -0.0566]
rotation : [ 0.9952, 0.09752, 5.876e-14, -8.499e-14]
New:
translation: [ 0.25, -0.125, -0.0566]
rotation : [ 0.9927, 0.1202, 5.677e-14, -8.633e-14]
\>\>\> Pose mismatch in link "hip2_2": error 0.0035 m, 0.0 deg
Old:
translation: [ 0.25, -0.125, -0.1156]
rotation : [ 0.2605, -0.6574, 0.6701, -0.2258]
New:
translation: [ 0.25, -0.125, -0.1191]
rotation : [ 0.2605, -0.6574, 0.6701, -0.2258]
\>\>\> Twist mismatch in link "hip2_2": error is 0.00440680757818
Old:
[ 0.87791603 1.04944482 0.64925206 1.74098641 1.35843099 0.32136526]
New:
[ 0.8805937 1.0488333 0.6458059 1.74098641 1.35843099 0.32136526]
\>\>\> Pose mismatch in link "knee_2": error 0.0035 m, 0.0 deg
Old:
translation: [ 0.2357, -0.1324, -0.4152]
rotation : [-0.6734, -0.2156, 0.2705, 0.6533]
New:
translation: [ 0.2357, -0.1324, -0.4187]
rotation : [-0.6734, -0.2156, 0.2705, 0.6533]
\>\>\> Twist mismatch in link "knee_2": error is 0.00440680757779
Old:
[ 1.17899892 0.78098474 0.15294229 1. 0.7677352 0.64076725]
New:
[ 1.18167659 0.78037321 0.14949613 1. 0.7677352 0.64076725]
\>\>\> Pose mismatch in link "ankle1_2": error 0.0035 m, 0.0 deg
Old:
translation: [ 0.4526, -0.08004, -0.4317]
rotation : [0.06994, 0.7036, -0.4919, 0.508]
New:
translation: [ 0.4526, -0.08004, -0.4352]
rotation : [0.06994, 0.7036, -0.4919, 0.508]
\>\>\> Twist mismatch in link "ankle1_2": error is 0.00440680757807
Old:
[ 1.09723449 1.03016982 -0.01801484 1.74098641 1.35843099 0.32136526]
New:
[ 1.09991217 1.02955829 -0.021461 1.74098641 1.35843099 0.32136526]
\>\>\> Pose mismatch in link "ankle2_2": error 0.0035 m, 0.0 deg
Old:
translation: [ 0.4526, -0.08004, -0.4317]
rotation : [ 0.8413, 0.429, -0.3201, 0.07527]
New:
translation: [ 0.4526, -0.08004, -0.4352]
rotation : [ 0.8413, 0.429, -0.3201, 0.07527]
\>\>\> Twist mismatch in link "ankle2_2": error is 0.00440680757807
Old:
[ 1.09723449 1.03016982 -0.01801484 2.12741982 1.37233761 1.24357773]
New:
[ 1.09991217 1.02955829 -0.021461 2.12741982 1.37233761 1.24357773]
\>\>\> Pose mismatch in link "wheel_2": error 0.00553754371728 m, 180.0 deg
Old:
translation: [ 0.3418, -0.1749, -0.616]
rotation : [-0.5503, -0.3509, 0.2417, 0.718]
New:
translation: [ 0.3407, -0.1758, -0.6213]
rotation : [-0.2417, 0.718, -0.5503, 0.3509]
\>\>\> Twist mismatch in link "wheel_2": error is 0.00834307060898
Old:
[ 1.3897577 0.68360103 -0.13598921 2.97793186 1.75376054 0.88143713]
New:
[ 1.39536887 0.67950828 -0.14061209 2.97793186 1.75376054 0.88143713]
\>\>\> Pose mismatch in link "hip1_3": error 0.0 m, 2.61741876885 deg
Old:
translation: [ -0.25, 0.125, -0.0566]
rotation : [ 0.8237, -0.567, 9.877e-15, 1.028e-13]
New:
translation: [ -0.25, 0.125, -0.0566]
rotation : [ 0.8364, -0.5481, 1.226e-14, 1.026e-13]
\>\>\> Pose mismatch in link "hip2_3": error 0.0035 m, 0.0 deg
Old:
translation: [ -0.25, 0.125, -0.1156]
rotation : [ 0.1306, 0.6949, -0.6161, -0.347]
New:
translation: [ -0.25, 0.125, -0.1191]
rotation : [ 0.1306, 0.6949, -0.6161, -0.347]
\>\>\> Twist mismatch in link "hip2_3": error is 0.00440680757818
Old:
[ 1.29896365 0.91015965 1.12310426 0.93749337 1.49919031 1.31978591]
New:
[ 1.30164133 0.90954813 1.1196581 0.93749337 1.49919031 1.31978591]
\>\>\> Pose mismatch in link "knee_3": error 0.0035 m, 0.0 deg
Old:
translation: [-0.3215, 0.1898, -0.3997]
rotation : [-0.6932, 0.1395, -0.339, 0.6205]
New:
translation: [-0.3215, 0.1898, -0.4032]
rotation : [-0.6932, 0.1395, -0.339, 0.6205]
\>\>\> Twist mismatch in link "knee_3": error is 0.00440680757818
Old:
[ 1.85670513 0.86091244 0.7828612 1. 0.7677352 0.64076725]
New:
[ 1.85938281 0.86030092 0.77941504 1. 0.7677352 0.64076725]
\>\>\> Pose mismatch in link "ankle1_3": error 0.0035 m, 0.0 deg
Old:
translation: [ -0.2397, -0.009745, -0.3403]
rotation : [ 0.4755, -0.5233, 0.09488, 0.7007]
New:
translation: [ -0.2397, -0.009745, -0.3438]
rotation : [ 0.4755, -0.5233, 0.09488, 0.7007]
\>\>\> Twist mismatch in link "ankle1_3": error is 0.00440680757818
Old:
[ 1.69397116 0.9766896 0.89811016 0.93749337 1.49919031 1.31978591]
New:
[ 1.69664884 0.97607808 0.894664 0.93749337 1.49919031 1.31978591]
\>\>\> Pose mismatch in link "ankle2_3": error 0.0035 m, 0.0 deg
Old:
translation: [ -0.2397, -0.009745, -0.3403]
rotation : [ 0.2922, 0.05267, 0.6106, 0.7341]
New:
translation: [ -0.2397, -0.009745, -0.3438]
rotation : [ 0.2922, 0.05267, 0.6106, 0.7341]
\>\>\> Twist mismatch in link "ankle2_3": error is 0.00440680757818
Old:
[ 1.69397116 0.9766896 0.89811016 0.83946624 2.17175028 0.58626443]
New:
[ 1.69664884 0.97607808 0.894664 0.83946624 2.17175028 0.58626443]
\>\>\> Pose mismatch in link "wheel_3": error 0.00205503781138 m, 179.999999146 deg
Old:
translation: [ -0.1384, -0.09539, -0.1463]
rotation : [-0.5169, 0.6925, -0.3384, 0.3725]
New:
translation: [ -0.1374, -0.09625, -0.1479]
rotation : [-0.3384, -0.3725, 0.5169, 0.6925]
\>\>\> Twist mismatch in link "wheel_3": error is 0.00266125412562
Old:
[ 1.22748473 1.10718609 1.082658 -0.05550934 2.43450752 0.94678816]
New:
[ 1.2254922 1.10788656 1.08103892 -0.05550934 2.43450752 0.94678816]
\>\>\> Pose mismatch in link "hip1_4": error 4.4408920985e-16 m, 2.61741876885 deg
Old:
translation: [ -0.25, -0.125, -0.0566]
rotation : [ 0.7293, 0.6842, -2.519e-14, 1.002e-13]
New:
translation: [ -0.25, -0.125, -0.0566]
rotation : [ 0.7447, 0.6674, -2.746e-14, 9.962e-14]
\>\>\> Pose mismatch in link "hip2_4": error 0.0035 m, 0.0 deg
Old:
translation: [ -0.25, -0.125, -0.1156]
rotation : [ 0.679, -0.1975, -0.678, -0.2007]
New:
translation: [ -0.25, -0.125, -0.1191]
rotation : [ 0.679, -0.1975, -0.678, -0.2007]
\>\>\> Twist mismatch in link "hip2_4": error is 0.00440680757818
Old:
[ 1.36184262 0.89500431 1.06090628 0.23575792 0.3908211 1.16409297]
New:
[ 1.36452029 0.89439279 1.05746011 0.23575792 0.3908211 1.16409297]
\>\>\> Pose mismatch in link "knee_4": error 0.0035 m, 0.0 deg
Old:
translation: [-0.4091, -0.3794, -0.117]
rotation : [ 0.5728, -0.4146, 0.706, -0.03926]
New:
translation: [-0.4091, -0.3794, -0.1205]
rotation : [ 0.5728, -0.4146, 0.706, -0.03926]
\>\>\> Twist mismatch in link "knee_4": error is 0.00440680757818
Old:
[ 1.15857033 0.86811505 1.11110153 1. 0.7677352 0.64076725]
New:
[ 1.16124801 0.86750352 1.10765537 1. 0.7677352 0.64076725]
\>\>\> Pose mismatch in link "ankle1_4": error 0.0035 m, 0.0 deg
Old:
translation: [-0.5615, -0.4313, 0.03827]
rotation : [ -0.459, 0.5378, 0.6769, -0.2045]
New:
translation: [-0.5615, -0.4313, 0.03477]
rotation : [ -0.459, 0.5378, 0.6769, -0.2045]
\>\>\> Twist mismatch in link "ankle1_4": error is 0.00440680757818
Old:
[ 1.10048141 0.71879647 1.38066283 0.23575792 0.3908211 1.16409297]
New:
[ 1.10315909 0.71818494 1.37721667 0.23575792 0.3908211 1.16409297]
\>\>\> Pose mismatch in link "ankle2_4": error 0.0035 m, 0.0 deg
Old:
translation: [-0.5615, -0.4313, 0.03827]
rotation : [-0.1658, 0.8205, -0.3926, -0.3809]
New:
translation: [-0.5615, -0.4313, 0.03477]
rotation : [-0.1658, 0.8205, -0.3926, -0.3809]
\>\>\> Twist mismatch in link "ankle2_4": error is 0.00440680757818
Old:
[ 1.10048141 0.71879647 1.38066283 0.52649452 0.91378834 1.96532794]
New:
[ 1.10315909 0.71818494 1.37721667 0.52649452 0.91378834 1.96532794]
\>\>\> Pose mismatch in link "wheel_4": error 0.00493727041338 m, 180.0 deg
Old:
translation: [ -0.6783, -0.6119, -0.05651]
rotation : [ 0.487, -0.0616, 0.6585, 0.5704]
New:
translation: [ -0.6794, -0.6137, -0.06096]
rotation : [ 0.6585, -0.5704, -0.487, -0.0616]
\>\>\> Twist mismatch in link "wheel_4": error is 0.00396479116747
Old:
[ 1.03270959 0.75316459 1.3828387 0.22189628 0.17053661 2.56097614]
New:
[ 1.03469251 0.75290451 1.37941526 0.22189628 0.17053661 2.56097614]
To recap, main discrepancies are:
The rest looks due to rounding
The script
centauro_cartesio_configs/pose_check.py
checks that the old model is the same as the new. This should be useful to have the guarantee that everything working with the old model will work on the new as well.Dependencies:
urdf_parser_py
xbot_interface
python bindingscartesian_interface
python bindingsThe report right now shows some errors, not all of which are significant