Hi,
I want to add some contact forces to my model through OpenSim API in Matlab.
However, it seems that some child classes of Force (e.g. BushingForce, ElasticFoundationForce, HuntCrossleyForce) are not imported with the modeling module (import org.opensim.modeling.*).
Any idea about how to add this kind of forces through Matlab?
Thank you,
Romain
Force subclasses not available through Matlab API
- Romain LEBERRE
- Posts: 12
- Joined: Fri Feb 24, 2012 11:47 am
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Force subclasses not available through Matlab API
Hi Romain,
It is true that version 3.0 didn't have all modeling components exposed to the Matlab interface. We fixed that in release 3.0.1 which will be available in beta version very shortly, please sign up for the beta testing mailing list and you'll be informed when the beta release is posted, so stay tuned.
Best regards,
-Ayman
It is true that version 3.0 didn't have all modeling components exposed to the Matlab interface. We fixed that in release 3.0.1 which will be available in beta version very shortly, please sign up for the beta testing mailing list and you'll be informed when the beta release is posted, so stay tuned.
Best regards,
-Ayman
- Romain LEBERRE
- Posts: 12
- Joined: Fri Feb 24, 2012 11:47 am
Re: Force subclasses not available through Matlab API
Hi Ayman,
Indeed, in the release 3.0.1, contact force classes such as ElasticFoundationForce and HuntCrossleyForce are exposed to the Matlab interface. However, ContactParameters objects are defined in SWIG type so i cannot manage to tune these properties from Matlab. Do you know how could I figure out this issue?
Thanks,
Romain
Indeed, in the release 3.0.1, contact force classes such as ElasticFoundationForce and HuntCrossleyForce are exposed to the Matlab interface. However, ContactParameters objects are defined in SWIG type so i cannot manage to tune these properties from Matlab. Do you know how could I figure out this issue?
Thanks,
Romain