Search found 10 matches

by Chonghui Zhang
Tue Dec 13, 2022 11:13 pm
Forum: OpenSim Moco
Topic: About property value optimization
Replies: 3
Views: 446

Re: About property value optimization

Hi Nick,

Thanks for your reply. But I'm not sure how to conduct a two-level optimization. Could you please give me some tips?

Thanks,
Chonghui
by Chonghui Zhang
Fri Dec 09, 2022 5:49 am
Forum: OpenSim Moco
Topic: About property value optimization
Replies: 3
Views: 446

About property value optimization

Hi all, I would like to ask two questions about body mass optimization in Moco. 1. I wish to get the maximum weight of a barbell that a human model can lift. Is the following code correct? param = MocoParameter('barbell_mass', '/bodyset/barbell', 'mass', MocoBounds(1,500)); problem.addParameter(para...
by Chonghui Zhang
Sun Apr 10, 2022 6:07 pm
Forum: OpenSim Moco
Topic: Sudden postural change happened while tuning objective function weighting
Replies: 7
Views: 1894

Re: Sudden postural change happened while tuning objective function weighting

Hi Simon,

Thanks! I have done it.

Wish your question would be answered soon.

Changhui
by Chonghui Zhang
Sat Apr 09, 2022 7:37 am
Forum: OpenSim Moco
Topic: What is the difference between path constraints and kinematic constraints?
Replies: 3
Views: 512

Re: What is the difference between path constraints and kinematic constraints?

Hi Pasha, Thanks for your detailed reply. Your examples make me better understand the difference. OpenSim::Constraint will add a constraint force, so it may affect the dynamics of the multibody system? If so, I think that we should choose OpenSim::Constraint or OpenSim::MocoPathConstraint carefully ...
by Chonghui Zhang
Fri Apr 08, 2022 2:29 am
Forum: OpenSim Moco
Topic: What is the difference between path constraints and kinematic constraints?
Replies: 3
Views: 512

What is the difference between path constraints and kinematic constraints?

Hi everyone, I am a newcomer to the optimal control theory and the amazing tool of OpenSim Moco. I find there are two class of OpenSim::MocoPathConstraint and OpenSim::Constraint which can add constraints to a problem. The difference between them confuse me. There is a constraint named WeldConstrain...
by Chonghui Zhang
Fri Apr 08, 2022 2:08 am
Forum: OpenSim Moco
Topic: Sudden postural change happened while tuning objective function weighting
Replies: 7
Views: 1894

Re: Sudden postural change happened while tuning objective function weighting

Hi Simon,

An interesting research! I want to ask a question that how did you get the cost function value when its weighting was zero? When I use Moco, the output cost function value is zero when its weighting is zero.

Chonghui
by Chonghui Zhang
Sat Mar 19, 2022 7:57 am
Forum: OpenSim
Topic: What is the advantage of OpenSim
Replies: 1
Views: 356

What is the advantage of OpenSim

Hi everyone, I an new to OpenSim and I know that OpenSim is a software to analyze musculoskeletal dynamics, such as joint torques, joint reactions. There are another way to do the similar thing (e.g. finite element method). So, what is the advantage of OpenSim? How can OpenSim be applied to the indu...
by Chonghui Zhang
Thu Sep 02, 2021 2:58 am
Forum: OpenSim Moco
Topic: Dynamic Joint Strength
Replies: 5
Views: 820

Re: Dynamic Joint Strength

Hi Nick,

Could you tell me how to use this kind of customized actuator in Moco? It is not in the main library and the GUI could not recognize it.

Thanks,
San
by Chonghui Zhang
Wed Jun 09, 2021 1:56 am
Forum: OpenSim Moco
Topic: Squad2Stand GRF
Replies: 3
Views: 536

Re: Squad2Stand GRF

Hi Nick,

I found the results from joint reaction force calculation were not the same as that from contact forces calculation. You said the former is a rough approximation of the latter. I wonder the reason why they are different.

Thanks :D ,
San
by Chonghui Zhang
Tue Jun 08, 2021 9:25 pm
Forum: OpenSim Moco
Topic: How to constrain the position of a hand during predicting?
Replies: 13
Views: 2083

Re: How to constrain the position of a hand during predicting?

Hi Simon and Aaron, The resulting values(wJ= weight value * the true obj. value) are truncated and rounded to only 6 decimal, which you can see from the solution file. If you only use MocoMarkerFinalGoal with a small weight, the truncation and round error would be significant. When you calculate J t...