Hi, Sylvain,
Thanks for your help, and it works out now. But another problem came out after that:
I watched John’s Webcast “Use motion capture data”. According to the method of attaching the three markers to the pendulum, I created 9 green markers as AnyRefNode in the separate segments of my body model: 3 markers on the SkullSeg (Fronthead, left and right head markers), 1 marker (C7) on the ThoraxSeg, 3 markers on the SegmentsCercicalSpine (leftneck, right neck, and C5 markers), and 2 markers on the ShoulderArm’s Scapula segment (left and right shoulders).
And I showed the c3d marker data as red.
When I run the analysis, only the red markers (c3d) can move, while the 9 green markers on the body model didn’t move accordingly. As you see from my attached files, I did use the AnyKinDriverMarker to connect the created markers (AnyRefNode) with the c3d marker points.
Will you please check the attached zip file and tell me how to figure this problem out: How I can make the neck move according to the c3d data file?
Your help is very valuable for us! Thank you!
Cathy
===============The below is the 9 markers that I created in the different segments of the body model:
9 markers created in the different segments of the body model: I chose TRUNK_NECK = = 1,
(1) 3 markers (FHD, LHEAD, RHEAD of c3d file) in “SegmentsThoraxWithoutNeck.any”>>“SkullSeg”:
//midpoint between eyes
AnyRefNode SinusMarker={
sRel=.Scale({0.12,0.04,0.0});
AnyDrawNodes DrwNode = {
ScaleXYZ = {0.01,0.01,0.01};
RGB = {0, 1, 0};
};
};
AnyRefNode LeftHeadMarker={
sRel=.Scale({0.056,-0.0058,-0.08});
AnyDrawNodes DrwNode = {
ScaleXYZ = {0.01,0.01,0.01};
RGB = {0, 1, 0};
};
};
//Right head marker
AnyRefNode RightHeadMarker={
sRel=.Scale({0.056,-0.0058,0.08});
AnyDrawNodes DrwNode = {
ScaleXYZ = {0.01,0.01,0.01};
RGB = {0, 1, 0};
};
};
(2) 1 marker (C7 marker) in the “SegmentsThoraxWithoutNeck.any”>>>>“ThoraxSeg”:
AnyRefNode C7Marker = {
sRel = .Scale({-0.04,0.485,0.0});
AnyDrawNodes DrwNode = {
ScaleXYZ = {0.01,0.01,0.01};
RGB = {0, 1, 0};
};
};
(3) 3 markers (c3d: LNECK, RNECK, C5) in the “SegmentsCervical Spine” >>> “C1 Seg”:
I know these markers should be put in different segments; But, to make it simpler, I just put them in the C1Seg:
AnyRefNode C5Marker = {
sRel = .Scale({-0.04,0.516,0.0});
AnyDrawNodes DrwNode = {
ScaleXYZ = {0.01,0.01,0.01};
RGB = {0, 1, 0};
};
};
AnyRefNode LeftNeckMarker = {
sRel = .Scale({0.01,0.525,-0.06});
AnyDrawNodes DrwNode = {
ScaleXYZ = {0.01,0.01,0.01};
RGB = {0, 1, 0};
};
};
AnyRefNode RightNeckMarker = {
sRel = .Scale({0.01,0.525,0.06});
AnyDrawNodes DrwNode = {
ScaleXYZ = {0.01,0.01,0.01};
RGB = {0, 1, 0};
};
};
(4) 2 markers (LSHO, RSHO of c3d points) in the “ShoulderArm” >>>>> “Seg.any” >> “Scapula”:
AnyRefNode SHO_Marker = {
sRel=.Scale({0.028,-0.0048,-0.046})*.Mirror;
AnyDrawNodes DrwNode = {
ScaleXYZ = {0.01,0.01,0.01};
RGB = {0, 1, 0};
};
};