Parallel chain linking for
Posted: Wed Jun 09, 2021 9:22 am
Hi All,
I am building on the 2D MOCO example to test a model I would like to run. Building on the 2D_gait.osim model I have added a single DOF exoskeleton shell on either side matching the joints of the skeleton model using pin joints. The hip section attaches at the pelvis with a weld joint, the system then move down to the feet where there is a weld joint between the footplate and the calcaneus of each side.
This has been assembled fine using the Matlab API. However, when I plug this into the example2DWalking.m file with all the same inputs as the example I get the following error:
Error using example2DWalking (line 92)
Java exception occurred:
java.lang.RuntimeException: Component 'LeftFootExo_slave_0_weld' of type WeldConstraint has no owner and is not the root.
Verify that finalizeFromProperties() has been invoked on the root Component or that this Component is not a clone, which has not been added to another Component.
Thrown at Component.cpp:1681 in initComponentTreeTraversal().
at org.opensim.modeling.opensimMocoJNI.MocoTrack_initialize(Native Method)
at org.opensim.modeling.MocoTrack.initialize(MocoTrack.java:549)
I tried changes the weld joint between the foot and plat to a slider joint, in an attempt to alleviate any over constraining that might have occurred but it didn't help. Have any of you come across something similar or have any suggestions on how I can move past this?
Any help is appreciated as I am a little stumped at the moment.
Best wishes,
Rory Turnbull
I am building on the 2D MOCO example to test a model I would like to run. Building on the 2D_gait.osim model I have added a single DOF exoskeleton shell on either side matching the joints of the skeleton model using pin joints. The hip section attaches at the pelvis with a weld joint, the system then move down to the feet where there is a weld joint between the footplate and the calcaneus of each side.
This has been assembled fine using the Matlab API. However, when I plug this into the example2DWalking.m file with all the same inputs as the example I get the following error:
Error using example2DWalking (line 92)
Java exception occurred:
java.lang.RuntimeException: Component 'LeftFootExo_slave_0_weld' of type WeldConstraint has no owner and is not the root.
Verify that finalizeFromProperties() has been invoked on the root Component or that this Component is not a clone, which has not been added to another Component.
Thrown at Component.cpp:1681 in initComponentTreeTraversal().
at org.opensim.modeling.opensimMocoJNI.MocoTrack_initialize(Native Method)
at org.opensim.modeling.MocoTrack.initialize(MocoTrack.java:549)
I tried changes the weld joint between the foot and plat to a slider joint, in an attempt to alleviate any over constraining that might have occurred but it didn't help. Have any of you come across something similar or have any suggestions on how I can move past this?
Any help is appreciated as I am a little stumped at the moment.
Best wishes,
Rory Turnbull