-
Notifications
You must be signed in to change notification settings - Fork 64
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
Introduce Eigen::Vector to describe the iDynTree::VectorFixSize #709
Introduce Eigen::Vector to describe the iDynTree::VectorFixSize #709
Conversation
Probably it is also worth changing the corresponding |
Given that the Eigen::Map may have tricky semantics differences from |
To enable C++17, let's use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I don't know what it could be the effect of this for Matlab and Python bindings though.
Before merging we should understand if the MATLAB bindings are generated without any errors. See here |
When I try to generate the MatLab bindings I obtain the following output
I think it's expected right? @traversaro |
This commit 6ea2d4b introduced Indeed |
Yes, that basically means that the base class is ignored. |
53d34b0
to
cb82571
Compare
However, there are functions like The same story also for |
With "the base class is ignored in SWIG" we meant that SWIG does not try to generate glue code to call the methods of the base class from Python/MATLAB. However, the glue code to call the methods of the child class ( |
@traversaro shall I push also the autogenerated files of the matlab bindings? |
If you don't use them, I do not think is necessary, I think a check just to make sure they continue to work is ok. |
Close in view of #707 (comment) |
This PR is in view of #707.
In details the with this PR
DynTree::VectorFixSize
will inherit fromEigen::Matrix<double, VecSize, 1>
, consequentially, the methods already implemented inEigen
(e.g.data()
) have been removed.