Failed loading mesh 'file

Upload mocap files and get an optimally scaled OpenSim model and IK back in minutes. Share your data with the community. Browse and download biomechanics data. Hosted by Stanford University.

Available at https://addbiomechanics.org
POST REPLY
User avatar
Pagnon David
Posts: 82
Joined: Mon Jan 06, 2014 3:13 am

Failed loading mesh 'file

Post by Pagnon David » Mon Apr 08, 2024 5:01 am

Dear AddBiomechanics team,

I've got an error message similar to this one. I'm trying to run AddBiomechanics from the attached model. I'm a bit surprised since there is no vtp.ply files referenced in my model. Do you have any idea how to solve this?

Code: Select all

['/app/src/../../engine/src/engine.py', '/tmp/tmpzs_j2hns/', 'Pose2Sim_LSTM', 'https://app.addbiomechanics.org/data/487013cd-2dd5-41ad-9fb3-f90c5ae8acac/Pose2Sim_LSTM/']
Loading folder /tmp/tmpzs_j2hns/
WARNING! Creating a WeldJoint as an intermediate (non-root) joint. This will cause the gradient computations to run with slower algorithms. If you find a way to remove this WeldJoint, things should run faster.
WARNING! We're refusing to set a 0 mass for sacrum, because NimblePhysics does not support 0 masses. Defaulting to 0.0001.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/lumbar5.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/lumbar5.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/lumbar5.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/lumbar5.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/lumbar4.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/lumbar4.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/lumbar4.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/lumbar4.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/lumbar3.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/lumbar3.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/lumbar3.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/lumbar3.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/lumbar2.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/lumbar2.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/lumbar2.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/lumbar2.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/lumbar1.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/lumbar1.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/lumbar1.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/lumbar1.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/cerv1sm.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/cerv1sm.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/cerv1sm.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/cerv1sm.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/cerv2sm.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/cerv2sm.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/cerv2sm.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/cerv2sm.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/cerv3sm.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/cerv3sm.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/cerv3sm.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/cerv3sm.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/cerv4sm.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/cerv4sm.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/cerv4sm.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/cerv4sm.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/cerv5sm.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/cerv5sm.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/cerv5sm.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/cerv5sm.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/cerv6sm.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/cerv6sm.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/cerv6sm.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/cerv6sm.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/cerv7.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/cerv7.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/cerv7.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/cerv7.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/thoracic12_s.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/thoracic12_s.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/thoracic12_s.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/thoracic12_s.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/thoracic11_s.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/thoracic11_s.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/thoracic11_s.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/thoracic11_s.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/thoracic10_s.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/thoracic10_s.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/thoracic10_s.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/thoracic10_s.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/thoracic9_s.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/thoracic9_s.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/thoracic9_s.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/thoracic9_s.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/thoracic8_s.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/thoracic8_s.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/thoracic8_s.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/thoracic8_s.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/thoracic7_s.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/thoracic7_s.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/thoracic7_s.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/thoracic7_s.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/thoracic6_s.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/thoracic6_s.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/thoracic6_s.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/thoracic6_s.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/thoracic5_s.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/thoracic5_s.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/thoracic5_s.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/thoracic5_s.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/thoracic4_s.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/thoracic4_s.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/thoracic4_s.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/thoracic4_s.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/thoracic3_s.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/thoracic3_s.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/thoracic3_s.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/thoracic3_s.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/thoracic2_s.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/thoracic2_s.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/thoracic2_s.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/thoracic2_s.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/thoracic1_s.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/thoracic1_s.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/thoracic1_s.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/thoracic1_s.vtp.ply".'.
[1;33mWarning [LocalResource.cpp:48][0m [LocalResource::constructor] Failed opening file '/tmp/tmpzs_j2hns/Geometry/block.vtp.ply' for reading: No such file or directory
[1;33mWarning [CompositeResourceRetriever.cpp:96][0m [CompositeResourceRetriever::retrieve] All ResourceRetrievers registered for this schema failed to retrieve the URI 'file:///tmp/tmpzs_j2hns/Geometry/block.vtp.ply' (tried 1).
[1;33mWarning [MeshShape.cpp:493][0m [MeshShape::loadMesh] Failed loading mesh 'file:///tmp/tmpzs_j2hns/Geometry/block.vtp.ply' with ASSIMP error 'Unable to open file "file:///tmp/tmpzs_j2hns/Geometry/block.vtp.ply".'.
exit: -11
Subsidiary question: I realize that AddBiomechanics would not work well if there is only one marker per joint. Do you also recommend the number of time frames to be above a certain threshold?
Attachments
Model_Pose2Sim_LSTM.osim
(492.25 KiB) Downloaded 42 times

User avatar
Nicholas Bianco
Posts: 963
Joined: Thu Oct 04, 2012 8:09 pm

Re: Failed loading mesh 'file

Post by Nicholas Bianco » Mon Apr 15, 2024 1:49 pm

Hi David,

Internally, AddBiomechanics requires the PLY format for geometry files. If the missing files are affecting your results (e.g., the incorrect height is being detected), then try converting those files to PLY using an online converter and try again.
Subsidiary question: I realize that AddBiomechanics would not work well if there is only one marker per joint. Do you also recommend the number of time frames to be above a certain threshold?
The number of time frames is less important than the diversity of the motion. The more joint motion in your data, the easier it will be for AddBiomechanics to detect the joint locations and scale the model correctly. Obviously, motion with good diversity is more likely to have more time points, but in general the former is more important.

-Nick

User avatar
Pagnon David
Posts: 82
Joined: Mon Jan 06, 2014 3:13 am

Re: Failed loading mesh 'file

Post by Pagnon David » Wed May 29, 2024 4:12 am

Hi, thank you for your answer and sorry for the long delay.

I understand the point about the diversity of the motion. What error would it give if the motion is not diverse enough or too slow? Would this be something like that?

Code: Select all

TrialPreprocessingError - TrialPreprocessingError: Error encountered when preprocessing the marker and/or ground reaction force data. Please check that your data files do not contain any NaN or other invalid values. It is also recommend to check that certainty quantities have zero or non-zero value when you expect them to be zero or non-zero, respectively. If you have provided both marker and ground reaction force data, please check that the number of frames in each file is the same and that the time stamps are consistent. If you have enabled automatic trial segmentation, try disabling this option and manually trimming the data for each trial. Below is the original error message, which main contain useful information about your issue. If you are unable to resolve the issue, please submit a forum post at https://simtk.org/projects/addbiomechanics or a submit a GitHub Issue at https://github.com/keenon/AddBiomechanics/issues with all error messages included.

Exception caught in lowpass_filter: Digital filter critical frequencies must be 0 < Wn < fs/2 (fs=30.15791060942664 -> fs/2=15.07895530471332)


Also, you said that:
If the missing files are affecting your results (e.g., the incorrect height is being detected), then try converting those files to PLY using an online converter and try again.
But I can only upload the osim file, not the Geometry folder. Am I missing something?
Last edited by Pagnon David on Wed May 29, 2024 5:40 am, edited 1 time in total.

User avatar
Pagnon David
Posts: 82
Joined: Mon Jan 06, 2014 3:13 am

Re: Failed loading mesh 'file

Post by Pagnon David » Wed May 29, 2024 5:40 am

Same error with a very fast and diverse motion (throwing ball feint, side step and sprint). Only 130 frames though.

Is it too short?

I see that the cut-off frequency (lowpass_hz) is defined as 30. Is it impossible to process data that is sampled below 60 Hz? Or am I missing something?
See this issue

User avatar
Nicholas Bianco
Posts: 963
Joined: Thu Oct 04, 2012 8:09 pm

Re: Failed loading mesh 'file

Post by Nicholas Bianco » Wed May 29, 2024 3:45 pm

Hi David,

I'm now realizing that we do not support uploading custom geometry files. The geometry files in your model are not included in the geometry file repository in AddBiomechanics. We need a way to support uploading custom files, filing an issue for that now.

For the filtering issue: I think the problem is that the timestep in your data is too large. Internally, the "fs" parameter is calculated as:

Code: Select all

fs = 1/dt
If the timestep "dt" is too big, then "fs" will be too small for the cutoff frequency.

Nick

User avatar
Pagnon David
Posts: 82
Joined: Mon Jan 06, 2014 3:13 am

Re: Failed loading mesh 'file

Post by Pagnon David » Thu May 30, 2024 12:48 am

Thanks, it makes more sense. I followed the issue you just filed. However, I don't think that missing Geometry files would affect the results, would it?

Concerning that fs error, does it mean that currently, no trials with a frequency under 60 Hz would work? If so, I don't understand how AddBiomechanics from SMPL sequences or from OpenCap have ever worked, since they are most of the time sampled at 30 Hz (and since the lowpass filter parameter has been around since october 10th).

POST REPLY