-
Notifications
You must be signed in to change notification settings - Fork 70
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
[Bindings] Can not access the visual objects in Matlab #656
Comments
It seems that we are missing a template for The solution is then to add something like :
Probably something like
Required classes seem to be available already in Line 86 in 685c080
|
I guess you need to esplicitly instantiate and give a name to both |
Should I define one before the other?
or
Does the order matters? |
I do not know. |
I'll give it a try to the second case first and see if it works. If not I'll try the first. |
The addition to the binding is failing for debugging purposes I tried to generate bindings alone and it is working. Then I tried to both and it failed. So I tried the following cases: Errors in the autogeneration step
|
Trying alone the SolishapesVector compiles with no error but when trying to include the second vector of vectors I get the following errors. Trying without SolishapesVectorTrying
|
For testing we use the following code:
The output is Therefore we can consider it a success. |
PR merged #658 |
In matlab when executing the following code 👍
linkSolids would be std::vector< std::vector<SolidShape *> > iDynTree::ModelSolidShapes::linkSolidShapes , but we seem unable to access the individual SolidShape variables.
When attempting to get the size of the vector we get:
It seems the bindings are not generating the code for those kinds of variables. We should update the bindings to achieve this.
An example ( courtesy of @traversaro ) of the a similar case can be seen in https://github.com/robotology/idyntree/blob/master/bindings/iDynTree.i#L9 what we do for std::vectorstd::string
The text was updated successfully, but these errors were encountered: