-
Notifications
You must be signed in to change notification settings - Fork 67
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
Add the possibility to use iDynTree span as input/output for KinDyn computation object #716
Comments
I think that |
As far as I understood the iDynTree matrices are row-major only (I'm talking about Dense matrices) |
Yes, but if you want to permit to user to do:
we need to support also col major matrix in |
The code we developed in
|
This is the first implementation of the |
Sorry, just read this.
That is not a problem. We can keep the existing resizing methods that take in input concrete vectors, and just add new equivalent methods that take in input
I think we can just choose an equivalent vector/matrix representation of them (like 4x4 homogeneous matrix or other for Transform, or 6d vector for Twist), and then copy the data in the right data structure to pass to the rest of the methods. I don't think it is worth trying to avoid at all cost copies, especially if it is just for input/output data structures. |
This has been achieved in #736. I think we can close the issue |
Yes, thanks! |
This feature it will be very useful if we are going to use other libraries (i.e. Eigen) as input objects for
KinDyn
As regards vectors this can be easily handled by using the
iDynTree::Span
. For matrices the problem is more complex this could be a possible solutionThe text was updated successfully, but these errors were encountered: