Open Hilton-Marques opened 2 months ago
After some hours of search, I found here that the parameter rho_opt
, instead of zero, should be 0.20. This also suggests that the initial height of the robot, instead of 0.15 should be 0.35. I recommend the following fixes in the code:
(1) first
rho_opt << 0.20, 0.20, 0.20;
(2) second
Eigen::Vector3d(0,0,0.35)
Hi, I am comparing the kinematics function provided in the code with the one provided by a1.urdf (attached). For example, using the following joint values:
I got the following results for the foot contact using your source code
0.13425 0.138573 -0.201489 0.136302 -0.143812 -0.199491 -0.228419 0.138466 -0.201147 -0.228085 -0.13825 -0.201325
While pinocchio with the urdf provided me with0.1933 0.1455 -0.3834 0.1946 -0.1555 -0.3813 -0.1716 0.1454 -0.3837 -0.1708 -0.1449 -0.3837
Did you notice the difference, am I missing something? Interestingly, however, when I got the values for the calf joints with pinocchio, they were quite close to those in your source code:0.1365 0.1382 -0.1917 0.1384 -0.1432 -0.1897 -0.2261 0.1381 -0.1914 -0.2258 -0.1379 -0.1916
a1.zip