Hi Ingrid and Yann-Erick
So if i understand your model correctly you have two arms connected to a
segment using two spherical joints and this segment should be driven by
marker data. I am in doubt if you also have markers for the arms, I the
following I will assume that this is not the case.
Each arm in the Body Models has the following dof
3 rotations in SC
3 rotations in GH
1 rotation in elbow
1 rotation in forearm
2 rotations in the wrist
So each arm has in total 10 dof that needs to be driven.
You are adding one segment and in this way adding six rigid body dof but the
two spherical joints each takes away three dof.
So the dof count looks like this
2*10 free rotations in both arms
6 dof from the new segment
-2*3 from the two spherical joints.
This means you will need to in total to drive 20 dof on the arms and the new
segment.
Here is a suggestion for these drivers you will need for your model:
2*3 for the SC joints
2*1 rotation in forearm (pronation/supination)
2*2 rotations in the wrist (flexion/extenstion abduction/adduction)
2*1 rotation of GH (abduction)
6 dof on the new segment so that it will be entirely driven by markers.
The summation gives 20 as it should.
A good place to “harvest” many of these drivers are in the Freeposture
model, please look at the JointAndDriver.any file.
I assume that you have at least three markers on the paddle otherwise it
will not be possible to drive it. To drive the paddle you will need to drive
it using all three coordinates from one of the markers and two from another
and one from the last one. These measures should be setup using the local
coordinate system if the paddle.
It may look something like this
AnyKinEqSimpleDriver Marker1={
AnykinLinear lin ={
Ref=0; //use the local coordinate system of the paddle
AnySeg &ref1=…reference to the paddle
AnySeg &ref2=…reference to marker one
};
DriverPos={0,0,0};
DriverVel={0,0,0};
Reaction.Type={Off,off,Off}
};
AnyKinEqSimpleDriver Marker2={
AnykinLinear lin ={
Ref=0; //use the local coordinate system of the paddle
AnySeg &ref1=…reference to the paddle
AnySeg &ref2=…reference to marker two
};
DriverPos={0,0};
DriverVel={0,0};
Reaction.Type={Off,Off}
MeasureOrganizer={1,2};
};
AnyKinEqSimpleDriver Marker3={
AnykinLinear lin ={
Ref=0; //use the local coordinate system of the paddle
AnySeg &ref1=…reference to the paddle
AnySeg &ref2=…reference to marker three
};
DriverPos={0};
DriverVel={0};
Reaction.Type={Off}
MeasureOrganizer={2};
};
This is of course just one option, there are several others, when selecting
between the individual dof it is important not trying to attempt driving the
length of the segment.
I would recommend to look at the JointAndDriver.any files of the GaitVaughan
and the WheelChairRancho models they are both using same concept of driving
selected dof from the markers, in order to avoid creating an over determined
system
It is a good idea always to keep a running model, here is a suggestion for a
procedure
1 so start by adding all the drivers from the free posture model
2 add the paddle and drive it using the markers, create a good guess
on the initial position and orientaion
3 Manipulate the mannequin file so that the hands end up close to
the paddle so that the constraints in the spherical joints are almost
fulfilled.
4 Create the spherical joints.
5 Remove the drivers for the elbow flexion, gh external rotation, gh
flexion.
6 Then hopefully the model will run kinematically
I hope this helps you move
Best regards
Søren, AnyBody Support
From: anyscript@yahoogroups.com [mailto:anyscript@yahoogroups.com] On Behalf
Of ydelval
Sent: 28 October 2008 14:21
To: anyscript@yahoogroups.com
Subject: [AnyScript] Following Vicon data
Hej!
We need help with following data measured by a Vicon system. The
markers were attached on a paddle and we want to drive our model with
this measured motion. We have managed to define the points on the
paddle but how do we get the points to follow the data?
Should we just choose three points to follow in order to not get an
overdetermined problem?
We saw some example on your homepage but the you just drive a joint
(like the elbow) with measured data. How do we do with a paddle which
is free to move in space?
We have put a spherical joint between each hand and the paddle.
Hälsningar
Ingrid and Yann-Erick
[Non-text portions of this message have been removed]