Page 1 of 1

Custom CoordinateCouplerConstraint

Posted: Sun Feb 18, 2018 12:22 am
by julieiskander
Hello,

I need a constraint that use two independent coordinates. According to the documentation, it is now only restricted to one coordinate.
How can I extend this?
If I wrote a child class that used two coordinates, how can I add it to the opensim GUI so that it is used in all analysis or optimisations?
Is this possible?

Thanks a lot.

Re: Custom CoordinateCouplerConstraint

Posted: Sun Feb 18, 2018 3:37 am
by mitkof6
Hi,

You can create your own plugin following this example:

https://simtk-confluence.stanford.edu/d ... n+Analysis

You can look at how constraints are implemented and adapt an existing code to your needs:

https://github.com/opensim-org/opensim- ... bodyEngine

Best