New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test-jacobians is not passing #51
Comments
This test passes on my computer... I have no clue about what's going on. |
Thanks for your answer, I will try a few things |
The bug disappeared when I compiled hpp-pinocchio from the latest release tarball instead of using robotpkg's binary version. It appeared again when I applied a robotpkg's patch that was meant to allow compilation on 14.04. I will ask Anthony to remove this patch. |
I understand what happened but I am surprised you did not get an assert. Are you in debug mode ? To be compliant with old version of Eigen, we should do something like this for all changes in the patch: if (LgT::NV==Eigen::Dynamic) {
Jq_.middleRows (row_, lg.nv()).applyOnTheLeft (JqInt)
} else {
Jq_.middleRows<LgT::NV> (row_).applyOnTheLeft (JqInt)
} |
No, I am always in Release mode. I will try to update the patch following your example |
humanoid-path-planner/hpp-pinocchio@749a76a should fix the problem. |
But I cannot easily test it with Eigen 3.2.0. |
Thanks a lot, I will try it |
This doesn't work, as the operands of the ternary operator must have the same type, and here we have a fixed and a dynamic type:
I tried a few things without success |
for more readability, the types are:
|
I forgot about that. I fixed it. |
Could you push your fix in the topic/eigen32 branch ? |
done. |
no more luck:
|
@jcarpent That is a bug in Pinocchio. The problem is that explog does not accept dynamic size vector. |
jmirabel/pinocchio@2d8882c should fix the issue. |
So there was 2 typos, fixed in nim65s/pinocchio@400deb5 After that, here is what I get in hpp-constraints in 14.04:
|
Thanks for the feedback. I pushed the fix on hpp-constraints branch topic/eigen32. |
I had this error:
So I changed your And now I have a bunch of:
It turns out that the rank() method has not been added in Eigen before 3.2.2 |
It's gonna be tedious to be compatible with Eigen 3.2.0. In 14.04 previously, we installed a more recent version of Eigen. Let's not put HPP in robotpkg for Ubuntu 14.04 (or at least keep this for later). I think @florent-lamiraux will agree. |
I agree. I will just cc @pFernbach here, because I think that he needs to get a few things to work with the current HPP in 14.04 before being able to upgrade to 16.04. Still, should we open PRs for:
|
We changed our mind and I will stop trying to use the current devel/master on 14.04. |
For the one in pinocchio, yes, we can open a PR. |
perfect, thanks :) |
Is this still ongoing ? |
Hi,
When trying to run tests, I have this error:
The text was updated successfully, but these errors were encountered: