Inverse Kinematics SDK Example

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
rob rein
Posts: 11
Joined: Thu May 29, 2008 6:13 am

Inverse Kinematics SDK Example

Post by rob rein » Tue Apr 26, 2011 12:48 pm

Hi All,

I have a question regarding usage of the OpenSim SDK Inverse Kinematics classes.
I am interested in using the IK engine straight from cpp code. However I can't seem to be able to decipher the interactions between the different IK classes.
I was wondering whether someone maybe has a working example or just an overview how the different classes have to be used.

Any suggestions would be greatly appreciated
Cheers
Rob

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

RE: Inverse Kinematics SDK Example

Post by Ayman Habib » Mon May 02, 2011 10:59 am

Hi Rob,

The next public version of Opensim will have a significantly faster but different implementation of IK that's more amenable to API use. In the mean time you can use an IKTool, instantiate it from a setup file then call run on it. This will shield you from the internals of IKTool that will be changing.
Programmatically you can change the properties of the IKTool object using the methods described in the Doxygen documentation.

Please let me know if you have any questions or need further help with that.

Best regards,
-Ayman


POST REPLY