opensim-org / opensim-core

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

Fix java binding of ExternalForce to account for ForceProducer #3914

Closed aymanhab closed 2 months ago

aymanhab commented 2 months ago

Fixes issue #0

Brief summary of changes

While the java bindings compiled successfully, the ExternalForce class had the wrong inheritance since the corresponding header was wrapped before ForceProducer.h This PR fixes this problem so that ExternalForce can be treated as Force in gui code

Testing I've completed

Looking for feedback on...

CHANGELOG.md (choose one)


This change is Reviewable

aymanhab commented 2 months ago

Thanks @nickbianco Will merge because the windows failure is unrelated.