How to write a point constraint

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Connor Stapp
Posts: 18
Joined: Tue Jan 31, 2017 1:44 pm

How to write a point constraint

Post by Connor Stapp » Tue Jun 27, 2017 1:23 pm

Hello,

I've been trying to understand how to write a point constraint in opensim for the model that I'm working on but haven't found any examples of how to write one. Does anyone know of any example code that I could look at as an example?

User avatar
Thomas Uchida
Posts: 1792
Joined: Wed May 16, 2012 11:40 am

Re: How to write a point constraint

Post by Thomas Uchida » Tue Jun 27, 2017 5:57 pm

Does anyone know of any example code that I could look at as an example?
There's an example for PointOnLineConstraint here: https://github.com/opensim-org/opensim- ... e.cpp#L127; the code for other constraint types will be analogous.

POST REPLY