Search found 5 matches
- Wed Feb 01, 2017 8:08 am
- Forum: OpenSim
- Topic: Matlab moment arm error
- Replies: 3
- Views: 516
Re: Matlab moment arm error
I am assessing it over a range of joint angles, for example one joint from -35° to 70°, and finding the moment arm at each joint angle, example code below. import org.opensim.modeling.* model=Model('mattest_opt.osim'); state=model.initSystem(); pip2c=model.updCoordinateSet.get('CMC1_flex'); edc=mode...
- Tue Jan 31, 2017 8:24 am
- Forum: OpenSim
- Topic: Matlab moment arm error
- Replies: 3
- Views: 516
Matlab moment arm error
I am writing a script to iterate muscle path point locations and wrapping surface parameters in matlab. The purpose being to attempt to match the model moment arms to experimental data. The script works well some of the time, reaching my 50,000 iteration limit, but there are other times when the con...
- Mon Feb 16, 2015 10:20 am
- Forum: OpenSim
- Topic: Bad Allocation error
- Replies: 2
- Views: 705
Re: Bad Allocation error
Also I have tried running it through the Command Prompt but have produced identical results.
- Mon Feb 16, 2015 10:19 am
- Forum: OpenSim
- Topic: Bad Allocation error
- Replies: 2
- Views: 705
Bad Allocation error
Hello, I am trying to run a Forward Dynamics simulation on a model but it continues to fail due to a bad allocation error. ForwardTool::run() caught exception bad allocation Printing results of investigation FULLHAND to../../OpenSim Exception in forward: bad allocation I assumed this error was happe...
- Wed Jan 21, 2015 1:59 pm
- Forum: OpenSim
- Topic: Error while hiding/showing wrapping surfaces
- Replies: 10
- Views: 4032
Re: Error while hiding/showing wrapping surfaces
I am encountering the same issue on my Windows 8.1 Computer, however I may have discovered a way to fix the issue, at least it worked for me. In the code for your model under <Body> <WrapObjectSet> <objects> <WrapCylinder> I added a display preference of "0" or hidden, and that hid the wrapping surf...