Search found 5 matches

by Ke Song
Wed Sep 25, 2019 8:56 am
Forum: OpenSim
Topic: Easy way to create Task.xml and Actuators.xml for a model
Replies: 11
Views: 1434

Re: Easy way to create Task.xml and Actuators.xml for a model

Thank you for explaining this and the suggested workaround, very appreciated! - Ke
by Ke Song
Tue Sep 24, 2019 3:14 pm
Forum: OpenSim
Topic: Easy way to create Task.xml and Actuators.xml for a model
Replies: 11
Views: 1434

Re: Easy way to create Task.xml and Actuators.xml for a model

Perhaps the constructor changed and takes different augments. It looks like you are trying to pass a Model object and a file path, in 4.0 the ForceSet takes just a file path to a ForceSet file and it seems to work fine. import org.opensim.modeling.* % Generaate ForceSet file (.xml) createActuatorsF...
by Ke Song
Tue Sep 24, 2019 7:45 am
Forum: OpenSim
Topic: Easy way to create Task.xml and Actuators.xml for a model
Replies: 11
Views: 1434

Re: Easy way to create Task.xml and Actuators.xml for a model

Future releases will include a matlab script for creating an actuators file. For now, you can find it here This is helpful for me too and thanks for sharing this code. I have a simple question: after creating this actuator ForceSet and saving it to an XML file '..._actuator.xml', how do I load it b...
by Ke Song
Wed Sep 04, 2019 7:47 am
Forum: OpenSim
Topic: gaslat & gasmed unexpected wrapping behavior and moment arms in OpenSim 4.0
Replies: 3
Views: 580

Re: gaslat & gasmed unexpected wrapping behavior and moment arms in OpenSim 4.0

Hi Ayman, Thanks for explaining the wrapping display issue; good to know it will not affect the results. As a follow-up, how about the 2nd issue I described in my original post, that gaslat and gasmed have small but non-zero moment arm lengths about hip and pelvis rotational coordinates, when plotte...
by Ke Song
Tue Sep 03, 2019 11:05 am
Forum: OpenSim
Topic: gaslat & gasmed unexpected wrapping behavior and moment arms in OpenSim 4.0
Replies: 3
Views: 580

gaslat & gasmed unexpected wrapping behavior and moment arms in OpenSim 4.0

Hi Community, I have 2 questions on gastrocnemius muscle-tendon units in the OpenSim models as they are loaded in GUI v4.0. I am using the model shared by Lai et al. (https://simtk.org/projects/model-high-flex), which have similar muscle path definitions as earlier models by E. Arnold et al. 2010 an...