Hello Christian,
Sorry for taking this long to answer. I uploaded a file called LIO.rar to
the file section of the group. It contains the model and should be extracted
within the Arep folder.
Basically, I took the one leg model and simply created drivers for all
articulations. None of the joints are moving, except the
anklePlantarFlexion, which has a driver vel of 0.1 (SimpleEq driver). Then,
I made an AnyForceMomentMeasure within the study, and created an AnyChart
that would simply display the measured force value. I would like to perform
mathematical operations on the data before sending it on the AnyChart, such
as adding two AnyForceMomentMeasure, etc
Unfortunetly, I cannot seem to even have the force measured with
AnyForceMomentMeasure displayed. Although I know that my measure is fine,
since I can display the actual measure from a chart window.
If you have any questions on the model, don’t hesitate to ask,
Thanks!!
Jean-Olivier
From: <mailto:anyscript@yahoogroups.com> anyscript@yahoogroups.com [mailto:
<mailto:anyscript@yahoogroups.com> anyscript@yahoogroups.com] On Behalf Of
AnyBody Support
Sent: November 26, 2006 10:36 PM
To: <mailto:anyscript@yahoogroups.com> anyscript@yahoogroups.com
Subject: [anyscript] Re: Generating new data from the old
Hi Jean-Olivier
It would be good if you could upload the actual model, It seems like
you are trying to measure the moment on the node that the muscle is
attached to, but I can really see it, because I dont know which model
you are using?
Best regards
Christian, AnyBody Support
From: anyscript@yahoogroups.com [mailto:anyscript@yahoogroups.com] On Behalf
Of Jean-Olivier Racine
Sent: 23 novembre 2006 10:55
To: Anyscript Mailing List
Subject: [anyscript] Generating new data from the old
Good morning!
I am trying to do some analysis of the evolution of muscle forces through
time. So, using the leg model (one leg), I try to create a new graph that
would present the total force generated by a muscle group (for example, the
hamstrings). Using an AnyForceMomentMeasure, I extract the force generated
by each muscle. Then, using an AnyChart, I try to plot the combination of
the forces. Unfortunately, I cannot seem to even chart a single muscle. Here
is the code I use as a test, to simple chart the gastrocnemius force as a
function of time:
AnyForceMomentMeasure gastrocnemius = {
// Force
AnyMuscle &gastrocnemius =
…model.oneLegModel.Right.Leg.Mus.Gastrocnemius;
// Reference frame
AnyRefFrame &insPoint =
…model.oneLegModel.Right.Leg.Seg.Foot.GastrocnemiusNode;
}; // gastrocnemius
AnyChart testChart = {
Series = {
AnyChartSerie testSerie = {
Value = “TestValue”;
AnyVec3 force = …gastrocnemius.F;
}; // testSerie
}; // Series
}; // testChart
Note that the following piece of code is within the AnyBodyStudy Study = {}
section. What I get is an empty graph and an all zero array of values (for
study.testChart.testSerie.force). The gastrocnemius.F chart is not empty, so
why is the testSerie.force all zero?
Thanks in advance!
Jean-Olivier
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]