Running Forward Dynamics in a C++ environment

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Ryan Frost
Posts: 3
Joined: Wed Nov 06, 2013 1:11 pm

Running Forward Dynamics in a C++ environment

Post by Ryan Frost » Tue Mar 04, 2014 9:49 pm

Is there an example somewhere of this being done? I've been reading through the documentation and it's clear that running Forward Dynamics in a C++ environment is possible, but I'm having trouble formulating the approach. Any and all help is appreciated.

User avatar
Dimitar Stanev
Posts: 1096
Joined: Fri Jan 31, 2014 5:14 am

Re: Running Forward Dynamics in a C++ environment

Post by Dimitar Stanev » Wed Mar 05, 2014 4:42 am

You should check in the API for classes that contain the keyword "Tool". For example if you haved used the GUI there are options Inverse Kinematics, Inverse Dynamics etc (InverseDynamicsTool). All these functionalities are implemented in the classes *Tool.

Also check the GUI examples in OpenSim\Model to understand how to formulate the Forward dynamics. I think there is a pdf tutorial in OpenSim\doc.

https://simtk.org/api_docs/opensim/api_ ... dTool.html

User avatar
Brian Umberger
Posts: 48
Joined: Tue Aug 28, 2007 2:03 pm

Re: Running Forward Dynamics in a C++ environment

Post by Brian Umberger » Thu Mar 06, 2014 7:32 am

Hi Ryan,

I think this example from the documentation may be helpful:

http://simtk-confluence.stanford.edu:80 ... Simulation

Cheers,
Brian

POST REPLY