Skip to content
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 message when converting the OpenSim with the O2IMPipeline #40

Open
Escoastin opened this issue Aug 20, 2024 · 4 comments
Open

Error message when converting the OpenSim with the O2IMPipeline #40

Escoastin opened this issue Aug 20, 2024 · 4 comments

Comments

@Escoastin
Copy link

Hello,
I am trying to convert an OpenSim model using the myoconverter. I've followed all the instructions perfectly (I fixed the geometry_file mistake after taking the screenshot)
myoconverter error message 1

I obtained this error message

myoconverter error message 2

After asking ChatGPT about this error message, it suggested that a ground function had not been defined in my model. Here is a pic of the OpenSim model to be converted
myoconverter error message 3

Any possible suggestions as to how to fix this?

@Escoastin
Copy link
Author

Okay, so I've just realised that I used the Arm26 python script (which could be adapted to the arm26 model) to convert my model, therefore there are missing attributes in the code. How would I be after to fix this issue?

@Vittorio-Caggiano
Copy link
Contributor

@Escoastin can you compare the xml models with one of the deafault gait models provided here? this will give you some reference to better troubleshoot the issues

@Escoastin
Copy link
Author

@Escoastin can you compare the xml models with one of the deafault gait models provided here? this will give you some reference to better troubleshoot the issues

So, I have started the comparison process and here is what I have noticed:
These are geometries for my model
Foetus geo pic

and here are the geometries for the gait models that you told me to look at
geo pic gait 2
geo pic gait

My model has way more geometries than the gaits (I don't if the names of the files contribute to the problem as well) therefore I must surely find a way to adapt the converter.py code to convert my model, right?

@Escoastin
Copy link
Author

Escoastin commented Aug 22, 2024

Here is a pic of the two models side by side:
xml model comparison

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants