Inverse Dynamics Resampling Data to Under 500 Seconds in OpenSim 3.3

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Xiaolin Dai
Posts: 2
Joined: Tue Nov 14, 2023 5:34 am

Inverse Dynamics Resampling Data to Under 500 Seconds in OpenSim 3.3

Post by Xiaolin Dai » Mon Oct 14, 2024 6:57 am

Hi everyone,

I am using OpenSim 3.3 to process motion data, and I have an issue when running inverse dynamics on datasets longer than 500 seconds. The inverse kinematics tool runs fine, but when I run inverse dynamics, the data gets resampled or compressed to fit within a 500-second window.

I also receive the following warning message:

Storage.resample: WARNING: resampling at time step 0.01266 (but minimum time step is 0.01)

It seems like OpenSim is automatically adjusting the time step, causing the data to be resampled. Is there a way to stop this behavior so that inverse dynamics can process the full dataset without any resampling?

Any advice would be greatly appreciated. Thank you!

Tags:

User avatar
Lucas Gaudio
Posts: 1
Joined: Mon Feb 01, 2021 2:02 am

Re: Inverse Dynamics Resampling Data to Under 500 Seconds in OpenSim 3.3

Post by Lucas Gaudio » Wed Nov 13, 2024 12:43 pm

Hello,

I`m facing the same issue with opensim-cmd shipped with versions 4.4 and 4.5.
The InverseDynamicsTool XML does not seem to have any inputs enabling/disabling resampling. The GUI version also does not seem to allow enabling/disabling the resampling either.
Inverse kinematics and ground reaction force data files have exactly the same time vectors (number of samples and values).
Are there any known reasons and fixes for this?

POST REPLY