Page 1 of 1

OpenSim 3.3 or OpenSim 4

Posted: Tue Aug 14, 2018 7:50 am
by masterv
Hi OpenSim team,

I was working out a few examples in the "Developer's Guide" to get acquainted using OpenSim APIs. I would like to know if it's better to use OpenSim3.3 documentation or OpenSim4 ?

Initially, I was following OpenSim4 documentation here:https://simtk-confluence.stanford.edu/d ... n+Part+One, but then I realized the documentation is not complete.

Code: Select all

// Get a reference to the model's ground body
OpenSim::Body& ground = osimModel.getGroundBody();
was throwing an error, then I checked with the reference code that was provided with during OpenSim4b installation and it shows:

Code: Select all

// Get a reference to the model's ground frame
Ground& ground = osimModel.updGround();
Is it better if I get started with 3.3 using the documentation here: https://simtk-confluence.stanford.edu:8 ... n+Part+One and then eventually adapt to OpenSim4 APIs? Since I am a noob at "Getting started as a developer", it would be great to hear from you :?

Thanks,
Vishal

Re: OpenSim 3.3 or OpenSim 4

Posted: Sat Aug 18, 2018 6:42 am
by tkuchida
I would like to know if it's better to use OpenSim3.3 documentation or OpenSim4 ?
You should refer to the documentation that corresponds to the version of the software you are using. OpenSim 4.0 and its documentation are in the beta testing phase. OpenSim 4.0 has more capabilities, but some of the documentation must still be updated (as noted in GitHub Issues indicated with the "Documentation" label: https://github.com/opensim-org/opensim- ... umentation).