opensim-org / opensim-core

SimTK OpenSim C++ libraries and command-line applications, and Java/Python wrapping.
https://opensim.stanford.edu
Apache License 2.0
783 stars 316 forks source link

Undo binding of model getCoordinatesInMultibodyTreeOrder and introduc… #3656

Closed aymanhab closed 9 months ago

aymanhab commented 9 months ago

…e getCoordinateNamesInMultibodyTreeOrder for scripting users

Fixes issue #0

Brief summary of changes

Using SimTK::ReferencePtr across binding was problematic due to methods optimized out. Adding a method to return names of coordinates instead to sidestep the memory management issue across the binding interface.

Testing I've completed

Looking for feedback on...

CHANGELOG.md (choose one)


This change is Reviewable

aymanhab commented 9 months ago

Thanks @nickbianco