Hi All,
I am trying to run the forward dynamics simulation with attached model and controls. The simulation runs smoothly for about 0.6 sec after which it stopped working. I inspected the resulting states file and found nan values in the last two rows where last second row has all joint velocities as "-nan(ind)" and last row has all joint angles as "nan" and all joint velocities and fiber lengths as "-nan(ind)".
Any idea why this is the case? Any solution to this problem?
Thanks,
Saurabh
Problem in forward dynamics
- Saurabh Kothari
- Posts: 12
- Joined: Fri Aug 19, 2016 10:23 am
Problem in forward dynamics
- Attachments
-
- controls.xml
- (310.52 KiB) Downloaded 5 times
-
- test.osim
- (366.04 KiB) Downloaded 6 times
Tags:
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Problem in forward dynamics
Hello,
The model has some bodies with very small masses, if the forces being applied are large (due to bad initialization of muscles for example) then accelerations will be huge and forward simulation will stop or be extremely slow. Did you modify muscle properties or the muscle model? If not then you should contact the model authors to see what functionality is supported by this model.
Best regards,
-Ayman
The model has some bodies with very small masses, if the forces being applied are large (due to bad initialization of muscles for example) then accelerations will be huge and forward simulation will stop or be extremely slow. Did you modify muscle properties or the muscle model? If not then you should contact the model authors to see what functionality is supported by this model.
Best regards,
-Ayman