Search found 81 matches

by David John Saxby
Sun Nov 29, 2015 10:53 pm
Forum: OpenSim
Topic: Matlab crash afterI'm using model scaling using API
Replies: 5
Views: 867

Re: Matlab crash afterI'm using model scaling using API

Hi Ayman and Davide,

I am experiencing the same issue where I customize a scale set and add it to the model scaler. The scaler executes but then crashes Matlab.

Did you come to a conclusion about why this happens, or how it can be worked around/avoided?

Best,

David Saxby
by David John Saxby
Mon Oct 19, 2015 10:23 pm
Forum: Batch OpenSim Processing Scripts (BOPS)
Topic: GUI Behavior
Replies: 3
Views: 614

Re: GUI Behavior

Hi All,

I just added this under the gui function handle

clearvars -except varargin;

That clears the previous input.


DJS
by David John Saxby
Mon Oct 19, 2015 9:50 pm
Forum: Batch OpenSim Processing Scripts (BOPS)
Topic: GUI Behavior
Replies: 3
Views: 614

GUI Behavior

Hi Alice, I'm using BOPS with the test data from the release. One thing that I've noticed is when I use the GUI tool the previous settings are retained so if I want to run just ID or MA, the selections structure will still hold my runIK or plotIK entries as =1. Also, if the field is not selected for...
by David John Saxby
Mon Jun 01, 2015 5:49 pm
Forum: OpenSim
Topic: Distance between points across wrapping objects
Replies: 3
Views: 292

Re: Distance between points across wrapping objects

Hi Guys, I just downloaded that new paper Sherm, I wanted to ask is there a way using the OpenSim API or potentially more lower-level in SimBody to specify the directionality of the wrapping of a muscle around a wrap object? I noticed in the Garder and Pandy paper and through experience with the Ope...
by David John Saxby
Sun Apr 05, 2015 8:26 pm
Forum: OpenSim
Topic: reporting Fiber force using Matlab API
Replies: 4
Views: 839

Re: reporting Fiber force using Matlab API

James,

Thanks for this reply. I'm going to update my code with your section and let you know how it goes.

Best,

David
by David John Saxby
Sun Apr 05, 2015 8:24 pm
Forum: OpenSim
Topic: issue with updating Simm Spline at the knee
Replies: 4
Views: 341

Re: issue with updating Simm Spline at the knee

Hey James, Thanks for answering this. At this stage I'm hoping this becomes an interesting solution and not something foolish on my behalf. To verify I ran 3 checks and I'm attaching the data to this thread if you want to take a look. Attached are the model file, mot and PK setup. Checks: 1) Compare...
by David John Saxby
Wed Apr 01, 2015 10:04 pm
Forum: OpenSim
Topic: reporting Fiber force using Matlab API
Replies: 4
Views: 839

Re: reporting Fiber force using Matlab API

Hey Guys, I've experienced the same error as Sina. I am moving a model (2392) through the complex knee flexion/extension range and am interested in the force-length relationship. Code: (model already initialized, moved into x gen coordinate and state updated) muscleOfInterest = Muscle.safeDownCast(m...
by David John Saxby
Wed Apr 01, 2015 8:29 pm
Forum: OpenSim
Topic: issue with updating Simm Spline at the knee
Replies: 4
Views: 341

Re: issue with updating Simm Spline at the knee

Hi James, No the new spline is exactly as the original. This was my first check to see if for some reason the modifications to the joint def were affecting the spline values. Very odd. I solved my issue with the knee mechanism another way but I would definitely like to know why this is happening. Be...
by David John Saxby
Mon Mar 30, 2015 9:21 pm
Forum: OpenSim
Topic: issue with updating Simm Spline at the knee
Replies: 4
Views: 341

issue with updating Simm Spline at the knee

Hi All, I have been playing around with the 2392 model, moving the yamaguchi knee to different locations to test a separate knee mechanism we are using. I have found that if I change the location of the joint medial or lateral I don't have any issues. Pseudo Code: 1) get model 2) instantiate 3) get ...
by David John Saxby
Mon Mar 30, 2015 4:08 pm
Forum: OpenSim
Topic: Edit spatialtransform and CoordinateCouplerConstraint in API
Replies: 2
Views: 330

Re: Edit spatialtransform and CoordinateCouplerConstraint in

Hi Tom,

I'm working on some similar issues using the Matlab to OpenSim tools.

You might check out this page:

https://simtk.org/forums/viewtopic.php? ... orm#p11309


Has some useful tips.

David