Giter Club home page Giter Club logo

Comments (9)

modenaxe avatar modenaxe commented on August 25, 2024

Hi Sina,
if you want to replicate the results of the study you have to set up OpenSim using the 3.3 version as specified in the requirements section of the documentation.
If you are trying to use the deformation tool for your own case, instead, you should be able to use OpenSim 4 as well.
Which one is your case?
Cheers,
Luca

from femoral-anteversion-paper.

modenaxe avatar modenaxe commented on August 25, 2024

just to be clear, getJoint is a method available in OpenSim 3.3 and removed in 4.0, so the error is due to an OpenSim version issue.

from femoral-anteversion-paper.

Sina-Tabeiy avatar Sina-Tabeiy commented on August 25, 2024

Hi Luca,
Actually, I was trying to use the tool for Opensim generic models like 2354 and 2392, but I ended up getting the error mentioned above. The installed API version on Matlab is 4.2; Do I need to install Opensim API 3.3 in this case?
Sincerely,
Sina

from femoral-anteversion-paper.

modenaxe avatar modenaxe commented on August 25, 2024

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.

from femoral-anteversion-paper.

Sina-Tabeiy avatar Sina-Tabeiy commented on August 25, 2024

Hi Luca,
I ran 'getOpenSimVersion' fun in my machine but this error showed up:

Error in getOpenSimVersion (line 18)
version = osimpath(sep_set(end)+1:end);

Does it mean that Opensim API 4.x is not supporting this code too?

from femoral-anteversion-paper.

modenaxe avatar modenaxe commented on August 25, 2024

Hi,
sorry I just realized I never merged the Opensim 4 code in the main branch.
Please download it again and let me know if it works...it should! :)
Luca

from femoral-anteversion-paper.

modenaxe avatar modenaxe commented on August 25, 2024

Obviously I am referring to the tool repository: https://github.com/modenaxe/msk-bone-deformation
The paper scripts run on OpenSim 3.3.

from femoral-anteversion-paper.

Sina-Tabeiy avatar Sina-Tabeiy commented on August 25, 2024

Hi Luca,
You did it well; I got the proper version of OpenSim after running the function. I also retried to deform the model 2354 and it ran perfectly. Great job!
Sincerely,
Sina

from femoral-anteversion-paper.

modenaxe avatar modenaxe commented on August 25, 2024

@Sina-Tabeiy glad it worked

from femoral-anteversion-paper.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.