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:
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:
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?
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.
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.