Search found 16 matches

by Ruth Meißner
Mon Jul 13, 2020 1:09 am
Forum: OpenSim
Topic: Matlab API compatible with Windows 10?
Replies: 12
Views: 1365

Re: Matlab API compatible with Windows 10?

Hi, I know that this thread is very old, I just encountered it. But this seems very familiar to me and maybe I may be able to help somebody else who is looking for exactly the same issue in the future. I had a lot of issues when Matlab crashed various times always at different parts of my code unexp...
by Ruth Meißner
Fri Jun 26, 2020 3:35 am
Forum: OpenSim
Topic: model.assemble() with multiple coordinate weights
Replies: 1
Views: 417

Re: model.assemble() with multiple coordinate weights

Hi everybody, since I found a solution to my question, I want to share it here in the case somebody else needs it in the future. The AssemblySolver Class can be used with different weights, I just defined the CoordinateReferencesArray in a wrong way. That's how it is done correctly with Matlab %% CA...
by Ruth Meißner
Fri Jun 05, 2020 11:57 am
Forum: OpenSim
Topic: model.assemble() with multiple coordinate weights
Replies: 1
Views: 417

model.assemble() with multiple coordinate weights

Hi everybody, I am creating a model of a person pedaling with the arms (like handbiking) (Matlab scripting, OpenSim 4.1) To create the movement during pedaling, I created the pedals as a body welded to ground and constrainted both hands to each pedal via two PointConstraints per hand to avoid any cl...
by Ruth Meißner
Mon May 18, 2020 2:11 pm
Forum: OpenSim
Topic: STOFileAdapter.read() not available
Replies: 2
Views: 333

Re: STOFileAdapter.read() not available

Hi Ayman,

thanks for this advice, it worked :)
by Ruth Meißner
Mon May 18, 2020 12:09 pm
Forum: OpenSim
Topic: STOFileAdapter.read() not available
Replies: 2
Views: 333

STOFileAdapter.read() not available

Hi everybody, my university updated the student computers which means that I need to switch from OpenSim 4.0 to 4.1. I developed over the last month my own motion capture analysis in OpenSim using the coding possibilities in Matlab. Prior to the conversion, my code ran without any problems in OpenSi...
by Ruth Meißner
Tue Jan 07, 2020 7:42 am
Forum: OpenSim
Topic: Matlab Crashes on initSystem() / Frame not connected error && motion can't be displayed
Replies: 7
Views: 1964

Re: Matlab Crashes on initSystem() / Frame not connected error && motion can't be displayed

Hi, thanks! I work on a university computer which I'd expect to have enough capacity. However, I finally found all the issues and I am not running into the matlab crashes anymore: 1) USE cloneAndAppend and not adoptAndAppend for Markers etc. 2) When you want to use the matlab visualizer, the code ne...
by Ruth Meißner
Tue Dec 17, 2019 12:52 pm
Forum: OpenSim
Topic: Index Out Of Bounds when motion load into GUI
Replies: 3
Views: 332

Re: Index Out Of Bounds when motion load into GUI

Hi Ayman, Sure I can attach model and mot-file. I'd be very happy if you can help me out. Would you provide me some additional information of file-bugging in the GUI? I didn't know yet that this is possible. Regarding the max number of characters: So if we find another issue causing that exception, ...
by Ruth Meißner
Tue Dec 17, 2019 12:28 pm
Forum: OpenSim
Topic: Index Out Of Bounds when motion load into GUI
Replies: 3
Views: 332

Re: Index Out Of Bounds when motion load into GUI

Hi,

I realised that when I let my code run without having made any changes, the corrupted mot-file changes.
I have those 6 mot-files (out of 3 models with 2 movements each) and everytime another mot-file throws the index-out-of-bounds-error.

Maybe this helps?
by Ruth Meißner
Tue Dec 17, 2019 10:20 am
Forum: OpenSim
Topic: Matlab Crashes on initSystem() / Frame not connected error && motion can't be displayed
Replies: 7
Views: 1964

Re: Matlab Crashes on initSystem() / Frame not connected error && motion can't be displayed

Just as follow up, so that maybe someone else might be helped: The issue of matlab crashes was caused by one final marker.adoptAndAppend(). Once I changed it to marker.cloneAndAppend() the issue was gone. This post helped me: https://simtk.org/plugins/phpBB/viewtopicPhpbb.php?f=91&t=9403&p=25821&sta...
by Ruth Meißner
Tue Dec 17, 2019 10:02 am
Forum: OpenSim
Topic: Index Out Of Bounds when motion load into GUI
Replies: 3
Views: 332

Index Out Of Bounds when motion load into GUI

Hi, I use Matlab to create a motion with the IK tool. The input TRC-file is written in matlab, too (no motion capturing). I could successfully implement the IK tool in matlab, it runs trough without throwing any error. I do this for 6 different combinations ( 3 differently scaled models with 2 movem...