Point constraint on curved surface?

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Marc Carmichael
Posts: 45
Joined: Thu Jul 16, 2009 2:50 am

Point constraint on curved surface?

Post by Marc Carmichael » Fri May 20, 2011 9:12 am

Hi. I am hoping to create a constraint that constrains the point of one body to a curved surface defined in another body. The surface is an ellipsoid.

I have been reading the documentation but I get the feeling that this will not be easy to implement in OpenSim. Would it be possible to implement such a constraint via the model's XML description?

If not, then can it be done via the API?

If it can be done by the API ... how? :) I have been looking at the OpenSim::UnilateralConstraint class but I have no idea how to implement it.

Thanks in advance

Marc

User avatar
Ayman Habib
Posts: 2238
Joined: Fri Apr 01, 2005 12:24 pm

RE: Point constraint on curved surface?

Post by Ayman Habib » Fri May 20, 2011 11:59 am

Hi Marc,

Can you provide some context as to what you're trying to implement? There're many solutions including defining a Coupler Constraint or a Custom Joint.

Please let us know so that we can help you further, or point you in the right direction.

Good luck,
-Ayman


POST REPLY