CreateEMGEnvolope error

Hello,

I’m using AnyBody 7.1 and AMMR 2.1 to simulate the plug-in-gait model by comparing the muscle activity and sEMG.

I tried to use the CreateEMGEnvolope ClassTemplates to create the EMG envelope.

#include “…/libdef.any”

Main = {
CreateEmgEnvelope Semimembranosus (
BandPassLowFreq = 30,
BandPassHighFreq = 200,
LowPassFreq = 6,
NormFactor = 1,
C3DFolder = Main.ModelSetup.C3DFileData,
Label = semimem,
t = …t )
= { AnyVar cActivity = .LegMusRef.Semimembranosus*.Activity; };
};
// Enter and edit Trial Specific Data in this file:
#path MOCAP_TRIAL_SPECIFIC_DATA “Setup/TrialSpecificData_LowerExtremity.any”

// Enter and edit Subject-Spcific Data in this file:
#path MOCAP_SUBJECT_SPECIFIC_DATA “Setup/SubjectSpecificData.any”

// Enter and edit Lab-Specific Data in this file:
#path MOCAP_LAB_SPECIFIC_DATA “Setup/LabSpecificData.any”

// Include the AnyMoCap Framwork
#include “<ANYMOCAP_MODEL>”

It showed the error like this:
ERROR(SCR.PRS11) : F:/DM/A…n/M…s/P…e/LowerExtremity.main.any(5) : ‘(’ unexpected
Model loading skipped

Any help would be appreciated!

Best Regards,
Lee

Hi Lee,

Try inserting the class somewhere other than the LowerExtremity.main.any file, perhaps instead within the SubjectSpecificData.any file include the chunk of code:

Best Regards,
Christine

This topic was automatically closed 125 days after the last reply. New replies are no longer allowed.