Page 1 of 1

CMC failure, a cry for help.

Posted: Mon Jan 01, 2024 5:41 am
by sietse
It sounds a bit dramatic, but I really am stuck with my CMC project.
I created a few opensim-issues (see issue #3522) and asked on this forum,
but the problem still is not solved.
I created a model and trajectory as simple as possible that fails.
This is both on Windows and Linux.
The model consist of not much more than a Pinjoint and one Balljoint:
Test4.zip
(10.47 KiB) Downloaded 35 times
The trajectory is keeping the model mostly still, but after a few seconds it will start to behave very strange.
Test4.png
Test4.png (194.66 KiB) Viewed 18712 times
Run_away.png
Run_away.png (44.85 KiB) Viewed 18712 times
Shouldn't we be able to explain why such a model is failing?
I think it is interesting to understand why CMC fails with such simple models.
Is it CMC or is it me. Why doesn't the PD-control part kick in?
Can somebody please confirm that this model behaves as mentioned here?
Please help, Sietse

Re: CMC failure, a cry for help.

Posted: Thu Jan 11, 2024 2:30 pm
by kernalnet
Hi, you may want to try replacing the BallJoint with CustomJoint.
https://github.com/opensim-org/opensim- ... 1879337616

Re: CMC failure, a cry for help.

Posted: Fri Jan 12, 2024 4:01 am
by sietse
Yes, thanks alot for that!
(sorry for the late response)