Search found 132 matches

by Jiang Ping
Fri Jun 08, 2018 11:46 am
Forum: OpenSim
Topic: get_isDisabled() in OpenSim 4.0
Replies: 2
Views: 246

get_isDisabled() in OpenSim 4.0

hi all,

get_isDisabled() function doesn't work in OpenSim4.0. It worked well in OpenSim3.3.
I get the error message:
error: const class OpenSim::Muscle has no member named get_isDisabled
What's the change of it in 4.0?

Thanks in advance
Jiang
by Jiang Ping
Mon Sep 12, 2016 8:03 am
Forum: OpenSim
Topic: Very high reaction forces
Replies: 2
Views: 230

Re: Very high reaction forces

I cant totally understand your question. If the implementation of constraint were correct, the high reaction force (constraint force) resulted from the high force needed to satisfy the constraint. I think the problem is not the joint implementation but the actuators which produced unrealistic forces.
by Jiang Ping
Sun Sep 04, 2016 12:04 am
Forum: Simbody: SimTK multibody dynamics API
Topic: How to get the variable names in a sub system?
Replies: 1
Views: 155

Re: How to get the variable names in a sub system?

UPdate

I solved problem by using "getDiscreteVariable(state, DiscreteVariableIndex(0)).getTypeName()".

best regards,
Jiang
by Jiang Ping
Sat Sep 03, 2016 11:32 pm
Forum: Simbody: SimTK multibody dynamics API
Topic: How to get the variable names in a sub system?
Replies: 1
Views: 155

How to get the variable names in a sub system?

hi, I found the size of vector z in GeneralForceSubsystem was 3. I want to know what are the three elements in the z vector. Is there any method to get the variable names in vector z? </Subsystem> <Subsystem index=3 name=GeneralForceSubsystem version=0.0.1> <DISCRETE VARS TODO> <Vector name=q size=0...
by Jiang Ping
Sat Sep 03, 2016 10:06 pm
Forum: OpenSim
Topic: How to get the names of vector z?
Replies: 0
Views: 88

How to get the names of vector z?

hi,

I want to know the names of variables in the vector z (state.getZ()).
Is there any methods to access the names?

thanks in advance,
Jiang
by Jiang Ping
Sun Jun 12, 2016 12:34 am
Forum: Simbody: SimTK multibody dynamics API
Topic: Implement a smith predictor in simbody
Replies: 8
Views: 1060

Re: Implement a smith predictor in simbody

Hi Sherman,

Thank you very much for your rapid reply.
I would like to confirm whether or not my understanding is correct.

If my controller generate forces based on the feedback information of contact forces (measurement), then I should update stage to "Dynamics" ?

Thanks again,
Jiang
by Jiang Ping
Sat Jun 11, 2016 8:53 am
Forum: Simbody: SimTK multibody dynamics API
Topic: Implement a smith predictor in simbody
Replies: 8
Views: 1060

Re: Implement a smith predictor in simbody

Hi Sherman, Thank you very much for your document. It advanced my understandings on the code. I have a question about the function "getDependsOnStageVirtual(int order) const" in the measurement implementation. Stage getDependsOnStageVirtual(int order) const { return Stage::Velocity;//? } How shall I...
by Jiang Ping
Tue Jun 07, 2016 6:35 am
Forum: Simbody: SimTK multibody dynamics API
Topic: Implement a smith predictor in simbody
Replies: 8
Views: 1060

Re: Implement a smith predictor in simbody

Hi Sherman,

Thank you for your reply. I think I haven't totally understood the task space control program.
Is there any document which can help me to understand the code?

Thanks a lot,
Jiang
by Jiang Ping
Sat Jun 04, 2016 4:42 am
Forum: Simbody: SimTK multibody dynamics API
Topic: Implement a smith predictor in simbody
Replies: 8
Views: 1060

Implement a smith predictor in simbody

hi all, I want to create a smith predictor to compensate the delay. I need to construct two multi dynamics system for two models (plant and internal model). I found some examples for model-based control like Taskspace-U10, but it cant be applied in my research because the output to the actuators bas...
by Jiang Ping
Sat Apr 23, 2016 12:06 pm
Forum: Simbody: SimTK multibody dynamics API
Topic: what's the meaning of stage version
Replies: 4
Views: 211

Re: what's the meaning of stage version

hi sherm, Thanks for your reply. Actually, I was creating two OpenSim analyzers, one of which measures the velocity and acceleration; and the other one measures contact force. The error disappeared if I combined them to one analyzer. I don't know the reason why this happens. Anyhow, I solved problem...