Search found 11 matches
- Sun Feb 18, 2018 12:22 am
- Forum: OpenSim
- Topic: Custom CoordinateCouplerConstraint
- Replies: 1
- Views: 228
Custom CoordinateCouplerConstraint
Hello, I need a constraint that use two independent coordinates. According to the documentation, it is now only restricted to one coordinate. How can I extend this? If I wrote a child class that used two coordinates, how can I add it to the opensim GUI so that it is used in all analysis or optimisat...
- Wed Nov 09, 2016 5:37 pm
- Forum: OpenSim
- Topic: Millard Equilibruim Muscle Model Strain factor
- Replies: 1
- Views: 319
Millard Equilibruim Muscle Model Strain factor
In Millard2012EquilibriumMuscle, the FiberForceLengthCurve uses to strain factors to shape the passive force-length curve According to the documentation https://simtk.org/api_docs/opensim/api_docs/classOpenSim_1_1FiberForceLengthCurve.html#details strain = (l-l0)/l0, where l is the current fiber len...
- Sun Nov 06, 2016 9:24 pm
- Forum: OpenSim
- Topic: Tendon Length is a negative value
- Replies: 6
- Views: 337
Re: Tendon Length is a negative value
Thanks a lot
It worked with the following lines together
It worked with the following lines together
Code: Select all
osimModel.getMultibodySystem().realize(si, Stage::Position);
osimModel.equilibrateMuscles(si);
- Mon Oct 31, 2016 12:11 am
- Forum: OpenSim
- Topic: Tendon Length is a negative value
- Replies: 6
- Views: 337
Re: Tendon Length is a negative value
realizePosition is not accessable from Model class
- Sun Oct 30, 2016 9:39 pm
- Forum: OpenSim
- Topic: Tendon Length is a negative value
- Replies: 6
- Views: 337
Re: Tendon Length is a negative value
rjointCoordinateSet[1].setValue(si, convertDegreesToRadians(-32), true); cout << "Muscle Fiber Length at -32 Abduction" << endl; for (int i = 0; i < 6; i++) { cout << muscles ->getName() << " - "; cout << muscles ->getLength(si) << " - " << muscles ->getFiberLength(si) << " - " << muscles ->getTendo...
- Sat Oct 29, 2016 9:20 pm
- Forum: OpenSim
- Topic: Tendon Length is a negative value
- Replies: 6
- Views: 337
Tendon Length is a negative value
I am using the APIs to create my model and calculate muscle lengths at different positions of the model.
What does it mean when I use getTendonLength and get a -ve value?
How can a tendon be conpressed? What does that mean?
Can someone help me?
What does it mean when I use getTendonLength and get a -ve value?
How can a tendon be conpressed? What does that mean?
Can someone help me?
- Tue Sep 27, 2016 5:25 pm
- Forum: OpenSim
- Topic: CoordinateConstraint
- Replies: 3
- Views: 257
Re: CoordinateConstraint
Thanks a lot for your answer.
I have already created classes to inherit these and tried to change this issue but the problem is beyond that.
Can you point me to the class that sends the coordinate values to the CompoundFunction class???
Thanks again
I have already created classes to inherit these and tried to change this issue but the problem is beyond that.
Can you point me to the class that sends the coordinate values to the CompoundFunction class???
Thanks again
- Tue Sep 27, 2016 1:05 am
- Forum: OpenSim
- Topic: CoordinateConstraint
- Replies: 3
- Views: 257
CoordinateConstraint
I need a coordinate constraint that takes 2 independent coordinates to calculate the dependent coordinate. I created a Function class that inherets OpenSim::Function that takes 2 values and returns the calculated value. But I couldn't create a class that works like the CoordinateCouplerConstraint bu...
- Tue Jun 21, 2016 6:38 pm
- Forum: OpenSim
- Topic: RRA pERR is NAN
- Replies: 1
- Views: 203
RRA pERR is NAN
What is the reason for pErr to be nan??
How can I fix it?
How can I fix it?
- Sun Mar 13, 2016 9:57 pm
- Forum: OpenSim
- Topic: Where can I download .vtp files for the models?
- Replies: 1
- Views: 195
Where can I download .vtp files for the models?
I can't find any Geometry directory in my opensim source code or intalled folder.
From where can I download vtp files or others for the models???
From where can I download vtp files or others for the models???