-
Notifications
You must be signed in to change notification settings - Fork 0
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
'getJoint' error in Matlab #4
Comments
Hi Sina, |
just to be clear, |
Hi Luca, |
The deformation tool should be able to detect which OpenSim version you are using, otherwise it means that this function is not producing the correct output. Please check in your machine. If you are trying to replicate the paper results, instead, you should use OpenSim 3.3, I have used that version and not tested for OpenSim 4. |
Hi Luca, Error in getOpenSimVersion (line 18) Does it mean that Opensim API 4.x is not supporting this code too? |
Hi, |
Obviously I am referring to the tool repository: https://github.com/modenaxe/msk-bone-deformation |
Hi Luca, |
@Sina-Tabeiy glad it worked |
Hi Luca,
While running 'create_femAnt_models.m' I faced some error in the function 'getJointCentresForBone' which said:
Processing body: femur_l
Undefined function 'getJoint' for input arguments of type 'org.opensim.modeling.Body'.
Error in getJointCentresForBone (line 23)
proxJoint = cur_body.getJoint();
Error in create_femAnt_models (line 60)
[Pprox, Pdist, total_L, V] = getJointCentresForBone(osimModel, bone_to_deform);
I double-checked Doxygen to find any probable mistake in scripting, but everything seemed to be correct. Any advice?
The text was updated successfully, but these errors were encountered: