Detailed description |
|
I tried to do the following in python wrapping.
model.addForce(opensim.BushingForce())
This caused an noninformative segfault. The issue was that I did not set the body_1, body_2 properties of the BushingForce. These are optional properties that are not initialized until they're set:
OpenSim_DECLARE_OPTIONAL_PROPERTY(body_1, ...
So that an informative error message can be generated, perhaps these should not be optional properties, and should instead be initialized to "" or something.
|
|