I am trying to batch analyze data using scale, IK, and ID. I am working in python to do this.
To test things out, I am trying to save interim results and open them in the GUI. However, I am unable to open the .osim files that were saved from the gui. I get the error:
Code: Select all
Failed to connect Socket 'child_frame' of type PhysicalFrame (details:
Model'LaiArnold2017_refined'::findComponent() cannot find a nameless subcomponent.).
In Object 'ground_pelvis' of type CustomJoint.
Thrown at Component.cpp:287 in finalizeConnections().
For example, if I export a .osim file from the GUI and we look at the pelvis definition, I get:
Code: Select all
<JointSet>
<objects>
<CustomJoint name="ground_pelvis">
<!--Path to a Component that satisfies the Socket 'parent_frame' of type PhysicalFrame (description: The parent frame for the joint.).-->
<socket_parent_frame_connectee_name>../ground</socket_parent_frame_connectee_name>
<!--Path to a Component that satisfies the Socket 'child_frame' of type PhysicalFrame (description: The child frame for the joint.).-->
<socket_child_frame_connectee_name>../pelvis</socket_child_frame_connectee_name>
<!--List containing the generalized coordinates (q's) that parameterize this joint.-->
Code: Select all
<JointSet name="jointset">
<objects>
<CustomJoint name="ground_pelvis">
<!--Path to a Component that satisfies the Socket 'parent_frame' of type PhysicalFrame (description: The parent frame for the joint.).-->
<socket_parent_frame>../../ground</socket_parent_frame>
<!--Path to a Component that satisfies the Socket 'child_frame' of type PhysicalFrame (description: The child frame for the joint.).-->
<socket_child_frame>../../bodyset/pelvis</socket_child_frame>
<!--List containing the generalized coordinates (q's) that parameterize this joint.-->
Is this a known issue? Is there something I might be doing wrong?
Thanks,
Anthony.