Error loading model with contact elements

This project provides a plugin for OpenSim to simultaneously estimate (external) contact forces and (internal) muscle forces in an inverse dynamic manner from a prescribed motion trajectory.
Therefore the plugin implements a custom model component to rep
POST REPLY
User avatar
Melanie Hook
Posts: 9
Joined: Fri Mar 05, 2021 10:02 am

Error loading model with contact elements

Post by Melanie Hook » Fri Jul 22, 2022 9:56 am

Hello,
I am trying to add the ContactPointOnPlane elements to the foot of the gait2392 model but I keep getting this error message when trying to load the model into OpenSim.
image (1).png
image (1).png (37.83 KiB) Viewed 234 times
The only change that I made to the original osim file was to add the code from the example file (see below) to the forces section and change some of the parameters
code.PNG
code.PNG (28.15 KiB) Viewed 234 times

Does anyone know how to fix this problem? It seems like a file version issue or something, not a problem with the contact element itself since the example file works fine. I also attached my edited osim file.


Update: I posted a similar question on the main OpenSim forum and received a reply that explained the problem, but I am not familiar enough with plug-in development to be able to fix it on my own.
forum.PNG
forum.PNG (41.23 KiB) Viewed 228 times
Please let me know if how to resolve this issue!
Thanks,
Melanie Hook
melaniehook@vt.edu
Attachments
subject01_simbody_contact.osim
(646.62 KiB) Downloaded 16 times

POST REPLY