Problem with markers using Vicon files in "pendulum" program

Hi everyone,

I'm working on the sample program "pendulum" to learn how to drive segment movement based on the motion of markers imported from a C3D file. I encountered an issue when switching between data sources:

  • Using the sample file "pendulum.c3d":
    The .points.markers folder opens normally, and all markers are visible:

obraz

  • Using Vicon files:
    When I simply change the input file name to a Vicon file (without modifying any other code), the .points.markers folder doesn't open, and I can't select any markers:

obraz

Does anyone know what might be causing this discrepancy? Are there any additional settings or differences in the structure of Vicon C3D files that could lead to the markers not being recognized?

Thanks in advance for your help!

Best regards,

Hi Szymon,

Welcome to the AnyScript Forum!

It looks like there is nothing in the folder called Markers when you load in the Vicon file. This can explain, why you get an error, possibly unresolved object.

Can you open the c3d file in another program to confirm there is some data in the Markers folder in your file?

Also, if this is a file from a real trial with a subject, then I would recommend you to start from one of the mocap models from the AMMR and read about the AnyMoCap documentation.

Best regards,
Dave

Hi Dave,

Thank you for your quick response.

Yes, I made sure that there is a marker in the file with data about its movement:


I also uploaded several other files with different numbers of markers, from different studies.

Please help, I will try to work with other AMMR files at the same time.

Best regards,
Szymon

Hi Szymon,

Sorry, I didn't investigate this thoroughly the last time.

So, your data is normally stored in the folder ProcessedData. And there is a setting, MarkerUseAllPointsOnOff, that you must set to On in the model. This will instruct AnyBody to use all the point data as MarkerData and then you can find the markers in the Markers folder.

Best regards,
Dave