-
Notifications
You must be signed in to change notification settings - Fork 1
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
error in testRNEA_iCub_load.m #8
Comments
The issue is related to different versions in the featherstone toolbox. Drake is using Spatial Vector and Rigid Body Dynamics Software (version 1), actually it contains a copy of the toolbox itself. Our software, bnt_time_varying, requires version 2. If both toolboxes are in the matlab path the above error occurs. If only the version 1 is in the path another error occurs:
This second error occurs since the function get_gravity is in featherstone version 2 but not in version 1. There are different workarounds possible, I leave the implementation of a clean solution to @naveenoid. |
cec1ddf has a workaround on this issue. The workaround is useful only if you are trying to parse the urdf of the iCub. The workaround consists in a matlab script (tests/icub_tests/iCub.m) which creates a featherstone-like model, as obtained by the drake urdf-parser. This workaround does not need to install the drake dependency, which is still needed to obtain a featherstone-like model from an urdf file. |
The workaround I tried was to simply unload Drake as soon as the URDF Perhaps another alternative is timedated dump of a mat file storing Cheers, NaveenNaveen Kuppuswamy, PhD On Mon, Jan 5, 2015 at 4:38 PM, Francesco Nori notifications@github.com wrote:
|
The testRNEA_iCub_load.m currently in repository is not working. The thing is, bnt_time_varying requires spatial_v2. Drake requires spatial_v1. The current code loads drake (and therefore the associated spatial_v1) by calling addpath_drake. The code either fails at line 23 (if spatial_v2 is loaded) or at line 51 (if spatial_v2 is not loaded). The only possibility I see is loading spatial_v2 just after unloading drake. However, I don't like this solution and I don't even like the current solution. The reason is: the code should not contain user dependent configurations (in this case the path to drake currently at line 6). We should find a cleaner solution. |
cc @claudia-lat |
We could fork the loading api in drake and update that in our repo... Naveen Kuppuswamy, PhD On Fri, Jul 31, 2015 at 12:51 PM, Silvio Traversaro <
|
👍 |
I am running testRNEA_iCub_load.m using the drake-binary downloaded here. I am getting this error at opening the URDF file. A very similar error is obtained when launching testRNEA_URDF_load.m
The text was updated successfully, but these errors were encountered: