Search found 7 matches
- Sun Apr 10, 2016 9:11 am
- Forum: OpenSim
- Topic: Matlab crash using API functions
- Replies: 4
- Views: 1174
Re: Matlab crash using API functions
I would also recommend that script, I am using it to prescribe functions and it seems to work.
- Sun Apr 10, 2016 5:21 am
- Forum: OpenSim
- Topic: "Mixed" Dynamics through OpenSim API
- Replies: 3
- Views: 855
Re: "Mixed" Dynamics through OpenSim API
BJ, We are doing similar type things here at OSU. I am not certain this will get you where you need to go, but you can update positions and velocities of a state vector using these calls: osimState.updQ().set(i-1,positions(i)); osimState.updU().set(i-1,velocities(i)); this is after you have realized...
- Fri Oct 30, 2015 8:35 am
- Forum: OpenSim
- Topic: external loads and inverse dynamics in API
- Replies: 2
- Views: 515
Re: external loads and inverse dynamics in API
It also appears that if instead of using ExternalLoads(XMLfile) I manually set up loads using grfR = ExternalForce(), setting properties of the force, then using addForce(grfR), then the ID solver recognizes these forces. This may be a workaround, but I would like to better understand the ExternalLo...
- Fri Oct 30, 2015 8:17 am
- Forum: OpenSim
- Topic: external loads and inverse dynamics in API
- Replies: 2
- Views: 515
external loads and inverse dynamics in API
Hello, I am using the opensim api to run cmc-like forward simulations. As such I am using the InverseDynamicsSolver() call from the opensim api calls through matlab. I also am applying GRF using the ExternalLoads() command. However, the application or not of external loads does not affect the genera...
- Thu Oct 08, 2015 9:59 am
- Forum: OpenSim
- Topic: equlibrate muscles, what does it do?
- Replies: 1
- Views: 467
equlibrate muscles, what does it do?
All, I am a little confused as to what the equilibrate muscles call accomplishes. I am using API calls through matlab, when invoking equilibrate mucles, I vaguely understand that it is setting up some consistency at a specific state for the muscles, but I don't really understand fully. Can someone p...
- Fri Apr 03, 2015 10:00 am
- Forum: OpenSim
- Topic: Matlab crash using API functions
- Replies: 4
- Views: 1174
Matlab crash using API functions
I have a very perplexing problem I am dealing with while trying to run some Matlab Scripts using many of the OpenSim API functions. I am running forward simulations based on the DynamicWalker script using the plant functions. My script has been running fine, but then started crashing matlab after 5-...
- Fri Feb 20, 2015 8:02 am
- Forum: OpenSim
- Topic: Static Optmization Constrain Violation = -1
- Replies: 8
- Views: 881
Re: Static Optmization Constrain Violation = -1
I was wondering if there have been any changes to opensim that may now allow for inputting accelerations into static optimization, or if there is some other workaround for wanting to compute muscle excitations based on desired accelerations.
Joe
Joe