Search found 5 matches

by Mark Price
Tue Mar 31, 2020 12:02 pm
Forum: SCONE
Topic: Using .sto file to prescribe controls
Replies: 3
Views: 626

Re: Using .sto file to prescribe controls

Yes, that's more or less correct. The only difference is that I'm not intending for the muscle controls to be used as optimization parameters. I was hoping to load a series of excitations that play out the same way every time, based on some EMG data we've previously collected. The only optimization ...
by Mark Price
Fri Mar 27, 2020 3:27 pm
Forum: SCONE
Topic: Using .sto file to prescribe controls
Replies: 3
Views: 626

Using .sto file to prescribe controls

Hi Thomas, I was wondering if there is a simple way to import all of the model controls from a .sto file in a ScriptController. I'm interested in optimizing muscle parameters with a given set of controls to track a motion. I imagine this would work similarly to how the model states are imported with...
by Mark Price
Wed Oct 16, 2019 10:02 am
Forum: OpenSim
Topic: IK marker error measures - weighted or not?
Replies: 1
Views: 219

IK marker error measures - weighted or not?

For the marker error measures provided in the log messages box when performing IK, do these values include the marker weights provided in the IK setup? I assume that the max marker error is not scaled by a weighting factor, but what about the total squared error and the RMS error? I'm using 3.3. Tha...
by Mark Price
Tue Jul 11, 2017 2:56 pm
Forum: OpenSim
Topic: Printing IK setup file through Matlab doesn't populate model file field in resulting .xml
Replies: 4
Views: 415

Re: Printing IK setup file through Matlab doesn't populate model file field in resulting .xml

Interesting, thanks a lot for the replies. I was mostly trying to do this to edit the property without necessarily running the IK tool itself, just exporting a setup file for later use - automatically assigning different models to different IK tasks based on a couple variables. I think it should be ...
by Mark Price
Tue Jul 11, 2017 9:54 am
Forum: OpenSim
Topic: Printing IK setup file through Matlab doesn't populate model file field in resulting .xml
Replies: 4
Views: 415

Printing IK setup file through Matlab doesn't populate model file field in resulting .xml

When using the IK tool through the Matlab API, I noticed that if I use setModel and then print to an .xml, the "model file" field in the .xml remains unchanged. Setting other parameters then printing does update those fields in the .xml. Is this a bug or am I doing something wrong?