ForcePlate import error

Hi,gait.zip (459.3 KB)

I'm using AMS7.3, AMMR2.2.1 for mocap modeling.

The forceplate of the C3D file cannot be recognized for this error:

ERROR(SCR.PRS9) : ForcePlates.any(16) : Defined at : ForcePlateAutoDetection.any(102) : 'ZERO' : Unresolved object

Any help would be appreciated!

Best wishes!
Lee

Hi Lee,

It looks like the C3D file is missing information, which is supposed to always be in the file.

In the forceplate file line 102 there is this line

  #var AnyInt ZERO = reshape(C3D_OBJECT.Groups.FORCE_PLATFORM.ZERO.Data, {2});

Which means that the script will look for the variable "C3D_OBJECT.Groups.FORCE_PLATFORM.ZERO.Data" which does not exist in your file.

I have search the file and i actually do not see "ZERO" being used for anything, so i think you can simply out comment this one line, and it would load.

Best regards
Søren

Hi, Søren

Problem solved! Appreciated your help!

Best regards,
Lee

Hi Lee,

Sounds good we have made this change in the AMMR now.

Best regards
Søren

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