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
Search found 132 matches
- Fri Jun 08, 2018 11:46 am
- Forum: OpenSim
- Topic: get_isDisabled() in OpenSim 4.0
- Replies: 2
- Views: 246
- 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.
- 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
I solved problem by using "getDiscreteVariable(state, DiscreteVariableIndex(0)).getTypeName()".
best regards,
Jiang
- 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...
- 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
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
- 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
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
- 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...
- 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
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
- 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...
- 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...