Search found 81 matches

by David John Saxby
Tue Feb 26, 2013 4:55 pm
Forum: OpenSim
Topic: Scripting in Matlab for Scaling of Model
Replies: 8
Views: 1458

Re: Scripting in Matlab for Scaling of Model

Hi Ayman, Thanks very much for the quick response (I know you get a lot of queries). Can you provide me both instances of the syntax? I will only need to point to the trc file for scaling the bodies (measurements), but I'm interested in learning how to use scripting more generally so I can extend my...
by David John Saxby
Mon Feb 25, 2013 11:27 pm
Forum: OpenSim
Topic: Not Obtaining New Mass Distribution When Scaling
Replies: 5
Views: 596

Re: Not Obtaining New Mass Distribution When Scaling

Hey,

May be a bug. Are you in v3.0 or the beta?
Either way, you can load the Osim model into a Mat structure and edit the inertia manually or through a function. A bit annoying though.

DJS
by David John Saxby
Mon Feb 25, 2013 11:17 pm
Forum: OpenSim
Topic: Scripting in Matlab for Scaling of Model
Replies: 8
Views: 1458

Scripting in Matlab for Scaling of Model

Hello, I'm using v.3.0.1 and attempting to using Scripting + Matlab to run a scaling process within a larger Matlab data processing pipeline. Reason for scripting instead of xml creation/editing: xml parsing in Matlab creates problems in OpenSim. I used the example 'setupAndRunIKBatchExample.m' as a...
by David John Saxby
Mon Oct 29, 2012 10:26 pm
Forum: OpenSim
Topic: Using matlab to read message window results
Replies: 2
Views: 457

Re: Using matlab to read message window results

Hi Maria Isabel Orselli, Thanks for writing me back! It has been while since I was dealing with this issue. We are writing some quality control programs to handle large numbers of trials, and we want to flag errors using the log file. Your suggestion works great. Do you know if there is a way to hav...
by David John Saxby
Sun Oct 28, 2012 9:29 pm
Forum: OpenSim
Topic: ID problems in 3.0
Replies: 10
Views: 2995

Re: ID problems in 3.0

What's the error mate?
by David John Saxby
Mon Apr 30, 2012 11:38 pm
Forum: OpenSim
Topic: anatomical landmarks in .vtp/ SIMM bones
Replies: 0
Views: 187

anatomical landmarks in .vtp/ SIMM bones

Hi All, I have a few questions about the bone files used in OpenSim. 1) Taking Hamner's model as example, are the bone files used in the lower body the same as SIMM bones? I realize they are different file formats, but is the data the same? 2) How are the origin and coordinate system defined in a bo...
by David John Saxby
Thu Feb 23, 2012 9:09 pm
Forum: OpenSim
Topic: Using matlab to read message window results
Replies: 2
Views: 457

Using matlab to read message window results

Hi All, I was wondering if the reporting in the message window during OpenSim tool execution can be accessed by Matlab directly or otherwise? I am particularly interested in the marker error during scaling and IK. Is there any way to get OpenSim to print these to some location or for Matlab to read ...
by David John Saxby
Thu Feb 23, 2012 7:08 pm
Forum: OpenSim
Topic: sample code for printing to Messages screen
Replies: 3
Views: 543

Re: sample code for printing to Messages screen

Hi Guys, This may be slightly different, but we are planning to batch process a bunch of trials and wanted to use the residuals from the IK process as a metric, i.e total error or marker specific errors above some threshold gets flagged. Is it possible to access the message window results from vario...
by David John Saxby
Mon Nov 21, 2011 8:13 pm
Forum: OpenSim
Topic: Multiple Joints between two bodies
Replies: 1
Views: 233

Re: Multiple Joints between two bodies

Hi All,

I believe the Analyze --> Joint Reaction tool will permit this analysis? Can we also output moment arms relative to these points?

David
by David John Saxby
Sun Nov 20, 2011 10:54 pm
Forum: OpenSim
Topic: Multiple Joints between two bodies
Replies: 1
Views: 233

Multiple Joints between two bodies

Hi All, I want to sum the moments about the medial and lateral condyles of the tibia during various gait tasks. Is there an established OpenSim way to do this? (in fact I also need to output the muscle moment arms with respect to these points as well). Our current OpenSim model has a 3 dof knee with...