Setting Up Mimic Measure

SCONE is a software tool for predictive simulations of biomechanical movement. It uses OpenSim for modeling and simulation, and performs optimization using various control strategies, including feed-forward control, proprioceptic feedback control, and bal
User avatar
Eliezer Gill
Posts: 11
Joined: Fri Sep 29, 2023 10:45 am

Re: Setting Up Mimic Measure

Post by Eliezer Gill » Sat Jun 01, 2024 7:44 am

Thank you for all of your help. I included the proper type of date for MimicMeasure, but SCONE still is not able to find the file. Please let me know if there is an error with the file or the code or both.
Attachments
Screenshot 2024-06-01 103331.png
Screenshot 2024-06-01 103331.png (306.44 KiB) Viewed 3525 times
Screenshot 2024-06-01 103313.png
Screenshot 2024-06-01 103313.png (43.4 KiB) Viewed 3525 times
Screenshot 2024-06-01 103256.png
Screenshot 2024-06-01 103256.png (35.58 KiB) Viewed 3525 times

User avatar
Thomas Geijtenbeek
Posts: 439
Joined: Wed Mar 12, 2014 8:08 am

Re: Setting Up Mimic Measure

Post by Thomas Geijtenbeek » Sat Jun 01, 2024 8:26 am

In your screenshot the extension is .xlsx instead of .sto

User avatar
Eliezer Gill
Posts: 11
Joined: Fri Sep 29, 2023 10:45 am

Re: Setting Up Mimic Measure

Post by Eliezer Gill » Mon Jun 03, 2024 8:53 am

Thank you, I changed the file from xlsx to sto. However, now I get an error message that says that file has no data.
Attachments
Screenshot 2024-06-03 115304.png
Screenshot 2024-06-03 115304.png (38.18 KiB) Viewed 3502 times

User avatar
Thomas Geijtenbeek
Posts: 439
Joined: Wed Mar 12, 2014 8:08 am

Re: Setting Up Mimic Measure

Post by Thomas Geijtenbeek » Mon Jun 03, 2024 9:06 am

Did you just change the extension from .xlsx to .sto?

User avatar
Eliezer Gill
Posts: 11
Joined: Fri Sep 29, 2023 10:45 am

Re: Setting Up Mimic Measure

Post by Eliezer Gill » Tue Jun 04, 2024 9:12 am

Yes that is what I did. What is the proper way to do it? I apologize if these questions are trivial, I am only a sophomore in college.

User avatar
Thomas Geijtenbeek
Posts: 439
Joined: Wed Mar 12, 2014 8:08 am

Re: Setting Up Mimic Measure

Post by Thomas Geijtenbeek » Tue Jun 04, 2024 1:50 pm

The .sto format is a plain text file format, so you should save it as that, or edit directly it with a text editor. Please check the OpenSim documentation (or Google) for more details on the .sto format.

User avatar
Eliezer Gill
Posts: 11
Joined: Fri Sep 29, 2023 10:45 am

Re: Setting Up Mimic Measure

Post by Eliezer Gill » Thu Jun 06, 2024 8:58 am

Hello again,

I saved the spreadsheet as a .txt and then moved it to my scone file. The simulation gave the same error as before saying it couldn't find the file. I changed the extension to .sto and the simulation found the file but it said that none of the states matched.

Thanks for your help.
Attachments
Screenshot 2024-06-06 115535.png
Screenshot 2024-06-06 115535.png (25.36 KiB) Viewed 3422 times

User avatar
Thomas Geijtenbeek
Posts: 439
Joined: Wed Mar 12, 2014 8:08 am

Re: Setting Up Mimic Measure

Post by Thomas Geijtenbeek » Fri Jun 07, 2024 7:04 am

The states in your model are apparently different than those in the .sto. You can find the state names of your model by running a simulation and checking the names in the Analysis window.

User avatar
Eliezer Gill
Posts: 11
Joined: Fri Sep 29, 2023 10:45 am

Re: Setting Up Mimic Measure

Post by Eliezer Gill » Fri Jun 07, 2024 8:14 am

Thank you for your help. I found that out that I was using osim3 naming conventions but I was in an osim4 model.

POST REPLY