Use the scale tool and inverse kinematics tool in C++ code

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Yueh-Lin Lee
Posts: 8
Joined: Thu Jun 27, 2013 12:09 am

Use the scale tool and inverse kinematics tool in C++ code

Post by Yueh-Lin Lee » Tue Oct 08, 2013 8:04 pm

Hello,

I'm a new OpenSim developer and have finished the tutorial "Performing a Simulation".
Now I understood that we could generate .osim files and .mot files by C++ code.
My question is how to use these tools like "Scaling", "Inverse Kinematics", "Inverse Dynamics", "Residual Reduction Algorithm" in C++ code.
Could I call some libraries to add them in my code?
And using them to generate some output files as what I want.
For example, I want to implement IK in my application. Could I read .osim file and .trc file, combine them with xml file and generate .mot file? Just like the tool we use in OpenSim GUI.
Do you have some examples or tutorials for this? I tried my best to look for that in the document and still didn't find it.

If not, does writing C++ code by OpenSim library only generate .osim files, .mot files, .sto files and add some simple analysis?
Because I still don't know so much about OpenSim C++ library, I want to understand it deeper and more complete.
Would you give me some suggestions about it, or some documents about a roadmap of OpenSim developers?

Thanks a million,
Leo

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: Use the scale tool and inverse kinematics tool in C++ co

Post by jimmy d » Fri Oct 11, 2013 10:07 am

Leo,

You are able to integrate the source code of OpenSIm into your own applications. You will want to go over the developers guide and pages found at the links below;

developers guide
http://simtk-confluence.stanford.edu:80 ... %27s+Guide
developers pages
http://simtk-confluence.stanford.edu:80 ... oper+Pages

Gluck,
-james

POST REPLY