opensim-core icon indicating copy to clipboard operation
opensim-core copied to clipboard

Moco: convenience function to add initial/final state boundary conditions based on a states file

Open carmichaelong opened this issue 2 years ago • 1 comments

Currently, setStateInfo() is used to set boundary conditions for states. This can be cumbersome in cases where, for example, you want to set the initial state based on some data. This could perhaps be done by a new function 1) that can take a states file as an argument, and then use the first row of the data, or 2) in some cases use a file already passed in (e.g., use the first row of the file passed in through setStatesReference()).

carmichaelong avatar Jul 14 '22 17:07 carmichaelong

Suggested by @psbiomech.

nickbianco avatar Jul 19 '22 18:07 nickbianco