Search found 2 matches

by Kun Chu
Mon Aug 19, 2024 2:05 am
Forum: OpenSim
Topic: Default activation error in DeGrooteFregly2016Muscle
Replies: 3
Views: 485

Re: Default activation error in DeGrooteFregly2016Muscle

Hi Nick, Many thanks for your reply! :> When I try to update the default activation of DELT1 muscle, which is the 0th muscle in Muscle set, I use the code below. initialState = model.initSystem(); model.getMuscles().get(0).setActivation(initialState, 0.3); I am not sure if setActivation() is the cor...
by Kun Chu
Fri Aug 16, 2024 12:10 am
Forum: OpenSim
Topic: Default activation error in DeGrooteFregly2016Muscle
Replies: 3
Views: 485

Default activation error in DeGrooteFregly2016Muscle

Hi there, I am trying to use MocoInverse in C++ to analyze muscle activation in a upper limb model. When I replaced the muscle in the model by DeGrooteFregly2016Muscle and run inverse.initialize(), I got an error shows that the DELT1 muscle's default activation must be greater than 0, and the curren...