Open nickbianco opened 1 month ago
Simbody has methods for calculating the angular momentum of an individual body (e.g., MobilizedBody::calcBodyMomentumAboutBodyOriginInGround()). PhysicalFrame provides accessors to the underlying MobilizedBody, but the momentum methods are not wrapped by SWIG and therefore accessible via scripting in Matlab or Python (reported by Hannah Heigold).
MobilizedBody::calcBodyMomentumAboutBodyOriginInGround()
An easy solution would be to wrap the Simbody-level methods in PhysicalFrame, which would then make them available via SWIG.
Sure, would it make sense to utilize these as outputs?
No reason not to add Outputs for these as well!
Output
Simbody has methods for calculating the angular momentum of an individual body (e.g.,
MobilizedBody::calcBodyMomentumAboutBodyOriginInGround()
). PhysicalFrame provides accessors to the underlying MobilizedBody, but the momentum methods are not wrapped by SWIG and therefore accessible via scripting in Matlab or Python (reported by Hannah Heigold).An easy solution would be to wrap the Simbody-level methods in PhysicalFrame, which would then make them available via SWIG.