Ajay and James,
Thanks so much for the responses. I will give this a try and let you know if I encounter any problems.
Best,
Brian
Search found 48 matches
- Fri Oct 11, 2013 2:57 pm
- Forum: OpenSim
- Topic: Obtain CM position and velocity during a simulation
- Replies: 9
- Views: 3760
- Wed Oct 09, 2013 11:43 am
- Forum: OpenSim
- Topic: Obtain CM position and velocity during a simulation
- Replies: 9
- Views: 3760
Obtain CM position and velocity during a simulation
Hi All, Using the Matlab interface to the API, it is possible to obtain the current velocity (or position) of the center of mass of any segment in a model during a simulation using code such as this: massCenter = Vec3(0.0,0.0,0.0); velocity = Vec3(0.0,0.0,0.0); bodySet = osimModel.getBodySet(); body...
- Wed Oct 09, 2013 11:15 am
- Forum: OpenSim
- Topic: Suppress output from Forward Tool?
- Replies: 9
- Views: 4379
Re: Suppress output from Forward Tool?
Hi Alex, Thanks for the suggestion. I wasn't planning on recompiling OpenSim from source, but that would certainly do the trick! In the meantime, I think that I've worked out how to run the forward simulations from within Matlab using a simulation Manager, which achieves the desired result without a...
- Mon Sep 23, 2013 9:45 am
- Forum: OpenSim
- Topic: Suppress output from Forward Tool?
- Replies: 9
- Views: 4379
Re: Suppress output from Forward Tool?
Hi Sherm,
Thanks for the helpful information!
Brian
Thanks for the helpful information!
Brian
- Mon Sep 23, 2013 6:53 am
- Forum: OpenSim
- Topic: Suppress output from Forward Tool?
- Replies: 9
- Views: 4379
Re: Suppress output from Forward Tool?
Hi Sherm, Thanks for the suggestion. I randomly tried a couple of the different Matlab integrators, but I will do a more systematic study of the various integrators, as well as the integrator settings. It looks like with the Manager approach I can indicate which simmath integrator to use. Are one or...
- Sun Sep 22, 2013 6:17 pm
- Forum: OpenSim
- Topic: Suppress output from Forward Tool?
- Replies: 9
- Views: 4379
Re: Suppress output from Forward Tool?
A quick update on my question. I am still not sure about changing the verbosity of the Forward Tool, but based on some further digging, there appear to be at least two other ways to run forward simulations programmatically from within Matlab. I was able to do this for my problem using the native Mat...
- Wed Sep 18, 2013 11:54 am
- Forum: OpenSim
- Topic: Suppress output from Forward Tool?
- Replies: 9
- Views: 4379
Suppress output from Forward Tool?
Hi All, I am working on an optimization study making use of the Matlab interface to the API. When my script loads the model and initializes it, there is some information written to the screen (truncated for brevity): -------------------------------------------------- Loaded model Arm26_Optimize.osim...
- Mon Jun 03, 2013 12:47 pm
- Forum: OpenSim
- Topic: RRA mass recomendation
- Replies: 7
- Views: 1902
Re: RRA mass recomendation
Hi Andy, You should find the recommended mass changes in the Messages window in the GUI (not in the output files). I just ran RRA on a model and this is what was in the Messages window. Hope this helps, Brian ************************************************************ * Summary of Mass Adjustments ...
- Thu May 30, 2013 1:11 pm
- Forum: OpenSim
- Topic: ForwardTool - Specify Controls File
- Replies: 6
- Views: 1583
Re: ForwardTool - Specify Controls File
Hi Ayman,
Thanks again for the response, that makes perfect sense. Hopefully it is not too cumbersome to add a convenience constructor for something that you are trying to move away from anyway. In the meantime, that addition will be helpful.
Cheers,
Brian
Thanks again for the response, that makes perfect sense. Hopefully it is not too cumbersome to add a convenience constructor for something that you are trying to move away from anyway. In the meantime, that addition will be helpful.
Cheers,
Brian
- Thu May 23, 2013 1:39 pm
- Forum: OpenSim
- Topic: Description of the Millard2012AccelerationMuscle
- Replies: 4
- Views: 1590
Re: Description of the Millard2012AccelerationMuscle
Hi Yannik, While I can't help with a detailed description of how the Millard2012Acceleration muscle model works, I am pretty sure that the mass referred to is the muscle mass, not the mass of the segment(s) that the muscle acts upon. I'm sure other people of the forum can confirm whether that is cor...