Description
Dear developers,
It is not really an issue, but some suggestions regarding the API and the documentation. The OpenSim framework is really a great tool, with a lot of potential. I am using the tools that you developed quite a lot time, and have come a long way in understanding a lot of things about how to build new features and to set up simulations. Unfortunately, most of the time I spend in developing is to find a way to bypass something or to do something that is supposed to be an easy task. For example, how to set the input of the muscle excitations between the iterations of the integration. The first thing that I do is to check the API, and to find an interface function, but at the end, I have to look into the source code, or at GitHub for test code so I can understand how to use them. Clearly, the documentation is poor and there are functions that I can’t understand how to use. For example the setControls of Model class, so I was forced to develop a custom controller, knowing that there must be a way to set the muscle excitations (by the way also checked the setExcitation function of Muscle class). My suggestion is that the end user of the API must see only the interface and not to look into the source code and to be able to understand how to use it by reading the documentation. Many of the functions have pre-requirements (e.g. the topology must be realized) and if the user is not well familiar with the internal process will have run-time or compile errors.
I am willing to help in documenting and revising the source code, so please let me know how I can assist you.
Regards,
Stanev