Inverse dynamics not writing output file

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Aaron Henry
Posts: 32
Joined: Tue Dec 03, 2019 8:47 am

Inverse dynamics not writing output file

Post by Aaron Henry » Wed Jul 21, 2021 7:18 am

Hello,
I am attempting to setup the inverse dynamics tool via python to run ID on multiple models and trials. I have gotten the inverse dynamics tool to run as I receive a 'True' when using the run() method. However, I am not seeing any .sto file being created despite having the results directory and output_gen_force_file directory set. I have also checked my out.log file and no errors appear to show up. I am attaching my ID and external loads xml files for reference.

Additionally, the Kernel crashes every other time I run the inverse dynamics tool. I am not sure why it runs successfully (albeit without creating a results file) and then crashes when I run it a second time.

Any advice is welcome!
Attachments
BMEL-19-07-001-19-07-15-Trial01_ID_Settings.xml
(2.13 KiB) Downloaded 14 times
BMEL-19-07-001-19-07-15-Trial01_ID_EL_Settings.xml
(3.16 KiB) Downloaded 14 times

Tags:

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

Re: Inverse dynamics not writing output file

Post by Ayman Habib » Wed Jul 21, 2021 1:31 pm

Hello,

output_gen_force_file is just a file name and shouldn't include full path specification. There's a separate "results_directory" property for this specific purpose. We should give better diagnostics if that's the issue but please let us know if that takes care of it.

Best regards,
-Ayman

User avatar
Aaron Henry
Posts: 32
Joined: Tue Dec 03, 2019 8:47 am

Re: Inverse dynamics not writing output file

Post by Aaron Henry » Wed Jul 21, 2021 2:24 pm

Hi Ayman,
Yes, removing the specific file path on the output_gen_force_file did the trick.
Thanks

POST REPLY