Skip to content
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

iDynTree::KinDynComputations getFrameBiasAcc() returning nonsense with FrameVelocityRepresentation = MIXED_REPRESENTATION #366

Closed
paulinejmaurice opened this issue Sep 5, 2017 · 2 comments · Fixed by #368

Comments

@paulinejmaurice
Copy link

When calling KinDynComputations::getFrameBiasAcc(index), the last 3 elements (i.e. angular part) of the returned vector appeared to be nonsense (e.g. 10^230), when the FrameVelocityRepresentation is set to MIXED_REPRESENTATION.

I looked in the code of KinDynComputations.cpp, in the function "convertBodyFixedAccelerationToMixedAcceleration" which is called only when MIXED_REPRESENTATION is on. It seems that "mixedAcceleration" is never initialized, which might explain why I get nonsense angular part in the output vector.

@traversaro
Copy link
Member

Thanks for reporting this issue. I was able to reproduce it, I will come back to you shortly.

@traversaro
Copy link
Member

The issue has been fixed in #368 . As mentioned in the same PR, there is still an issue in the value returned by getFrameBiasAcc when the representation is MIXED_REPRESENTATION. This bug will be fixed soon (please follow #370 to be up to date) but it should be negligible for any real world use.

Thanks a lot for reporting the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants