View Single Post
  #8  
Old 04-17-2018, 11:27 AM
toerholm's Avatar
toerholm toerholm is offline
AnyBody Support
 
Join Date: Feb 2009
Posts: 907
Default

Hi

We think we have found the issue.

Please make this change in the forceplateautodection.any file

Code:
[ligne 33] AnyMessagePlateTypeCheck={
[ligne 34] AnyInttest=max(neqfun(.ForcePlateType,FORCEPLATE_TYPE));
[ligne 35] TriggerPreProcess=test;
[ligne 36] Type=MSG_ErrorFatal;
[ligne 37] Message=strformat("AnyMOCAP:Wrongforceplatetype:\n "+
[ligne 38] "C3Dfilereportsforceplateasbeeingtype"+
[ligne 39] strval(C3D_OBJECT.Groups.FORCE_PLATFORM.TYPE.Data[PLATE_NO-1])+[ligne 40] "nottype:"+strval(FORCEPLATE_TYPE));
[ligne 41] };

note that there is a "max" around the type check in line 34.

The explanation:

In your data the forceplate type says "{{2}}" usually in all other files we have seen it says e.g. "{2}" or {3,3,3}" so it means that for some reason your data has an additional set of brackets, which causes the type check to fail, but by using the max around it removes the bracket and it should work.

Please let us know if it solves the problem

Best regards
Søren
__________________
TIP: How to save and load results.
http://wiki.anyscript.org/index.php/All_about_AnyBody_Modeling_System#Save_Load_and_Re play_Results

Subscribe to the forums, click the 'Forum Tools' link above the list of threads then select 'Subscribe to Forum'. You will then have the option to choose the subscription mode for this forum and get an email automatically.
Reply With Quote