Search found 9 matches

by Sven Paldauf
Wed Jul 10, 2019 4:59 am
Forum: OpenSim
Topic: Scripting - Inconsistent muscle and ACL length compared to GUI
Replies: 5
Views: 667

Re: Scripting - Inconsistent muscle and ACL length compared to GUI

Hey Thomas,

much better now, computation time significantly decreased!

That is what I was looking for.

Great how you guys manage to reply in only a few hours!

Thanks!
by Sven Paldauf
Tue Jul 09, 2019 2:08 am
Forum: OpenSim
Topic: Scripting - Inconsistent muscle and ACL length compared to GUI
Replies: 5
Views: 667

Re: Scripting - Inconsistent muscle and ACL length compared to GUI

One more question, sorry:) After I implemented the lines from James,the code works. Unfortunately, I observed that computation time is more than 2x higher now. Since number of frames is around 3000, it takes quite a long time. I assume that the conversion for each 'q' from deg to rad increases compu...
by Sven Paldauf
Tue Jul 09, 2019 1:04 am
Forum: OpenSim
Topic: Scripting - Inconsistent muscle and ACL length compared to GUI
Replies: 5
Views: 667

Re: Scripting - Inconsistent muscle and ACL length compared to GUI

Exactly what I was looking for.
This also solved the assembly problem.

James, you're the best!

Thank you very much,

Sven
by Sven Paldauf
Mon Jul 08, 2019 2:27 am
Forum: OpenSim
Topic: Scripting - Inconsistent muscle and ACL length compared to GUI
Replies: 5
Views: 667

Scripting - Inconsistent muscle and ACL length compared to GUI

Hi all, I am currently trying to compute the ACL strain of the right knee ('Knee model with ligaments') via Matlab. The procedure is to update the coordinates from a .mot file computed by the IK Tool and further to calculate the ACL length for each frame. Since the GUI does not provide a function to...
by Sven Paldauf
Sat Apr 13, 2019 9:20 am
Forum: OpenSim
Topic: Analyze Tool Set Force Files
Replies: 6
Views: 568

Re: Analyze Tool Set Force Files

Thank you Dimitar, that was exactly what I was looking for
by Sven Paldauf
Mon Apr 08, 2019 10:45 am
Forum: OpenSim
Topic: Analyze Tool Set Force Files
Replies: 6
Views: 568

Re: Analyze Tool Set Force Files

Hi Community, I am trying to enter the <AnalysisSet> <objects> class with MatLab scripting, in particular the StaticOptimization to change <start_time> and <end_time> (see line 35 and 37 in the attached file). % here is a snippet of how far I got: analysis = AnalyzeTool('myAnalyzeToolGenericSetup') ...
by Sven Paldauf
Sun Oct 07, 2018 5:49 am
Forum: OpenSim
Topic: ScaleTool API does not assign correct model file path
Replies: 4
Views: 336

Re: ScaleTool API does not assign correct model file path

In my actual code, the three dots in the path do not exist(it was only for simplification purposes to shorten the path, sorry for that). And also the extra quotation mark between "ScaleSetup" and "\svegor" was only a mistake here since I use another variable name instead of '\svegor_Setup_Scale.xml'...
by Sven Paldauf
Fri Oct 05, 2018 8:49 am
Forum: OpenSim
Topic: ScaleTool API does not assign correct model file path
Replies: 4
Views: 336

Re: ScaleTool API does not assign correct model file path

Hey Thomas, thanks for your fast and sorry for my delayed reply. I tried to do what you recommended, but there is still no difference to recognize. I still get the same error message because both paths are merged. Can't explain to myself why such an issue occurs because I do the same with the IKTool...
by Sven Paldauf
Sun Sep 30, 2018 10:54 am
Forum: OpenSim
Topic: ScaleTool API does not assign correct model file path
Replies: 4
Views: 336

ScaleTool API does not assign correct model file path

Hi Guys, I could not find a solution in the forum, so I would be happy if someone can held me: I am trying to specify the path of the model I want to use for the ScaleTool via MATLAB. scaleTool = ScaleTool('C:\...\OSMATLAB_Batch_Walk\Subject01\ScaleSetup'\svegor_Setup_Scale.xml'); scaleTool.getGener...