Search found 6 matches

by Jonathan Perdomo
Wed Oct 27, 2021 10:21 am
Forum: OpenSim
Topic: Inverse dynamics tool output precision
Replies: 0
Views: 119

Inverse dynamics tool output precision

Hi everyone, I was wondering if it's possible to change the output precision for the GUI inverse dynamics tool? I set the following parameter in the input XML file but the precision in the output *.STO file values is always equal to 8 (the default): <output_precision> 15 </output_precision> I tried ...
by Jonathan Perdomo
Wed Sep 01, 2021 3:37 pm
Forum: OpenSim
Topic: Changing a force parameter during a simulation
Replies: 2
Views: 276

Re: Changing a force parameter during a simulation

Hi Thomas,

The second solution sounds like it will work great, I will try it. Thank you!

-Jon
by Jonathan Perdomo
Tue Aug 31, 2021 5:18 pm
Forum: OpenSim
Topic: Changing a force parameter during a simulation
Replies: 2
Views: 276

Changing a force parameter during a simulation

Hi everyone, I am looking for a GUI or C++ tool that will enable me to update a force parameter in the middle of a simulation. Specifically, is it possible to run a simulation from 0-1s, then from 1-2s update the rotational stiffness for a Bushing Force object? https://simtk.org/api_docs/opensim/api...
by Jonathan Perdomo
Mon Jun 28, 2021 11:58 am
Forum: OpenSim
Topic: Setting initial joint coordinates and force parameters from an STO file
Replies: 3
Views: 342

Re: Setting initial joint coordinates and force parameters from an STO file

Hi Ayman,

OK thank you for the suggestion. I ended up finding a useful utility, the OpenSim::ForwardTool(), to set the initial state and controller files via the input XML.


Sincerely,

Jonathan
by Jonathan Perdomo
Thu Jun 24, 2021 12:08 pm
Forum: OpenSim
Topic: Setting initial joint coordinates and force parameters from an STO file
Replies: 3
Views: 342

Re: Setting initial joint coordinates and force parameters from an STO file

My current approach is to load the *.STO file as a SimTK::Storage object, and then try to update each of the parameters individually in a for-loop.
by Jonathan Perdomo
Thu Jun 24, 2021 12:02 pm
Forum: OpenSim
Topic: Setting initial joint coordinates and force parameters from an STO file
Replies: 3
Views: 342

Setting initial joint coordinates and force parameters from an STO file

Hi everyone, I was wondering if it is possible to use an *.STO file with initial values at time 0 (for joint coordinates and force parameters) to load and set up the initial state for a model in C++? I want to set the initial state of the model before running a simulation. Sincerely, Jonathan Perdom...