Search found 45 matches

by Marc Carmichael
Fri Nov 13, 2015 10:55 pm
Forum: OpenSim
Topic: Want to implement a muscle path approximation plugin
Replies: 1
Views: 205

Want to implement a muscle path approximation plugin

I am looking to implement a plugin that allows the paths of muscles to be approximated, with the hope of speeding up computations. Basically this plugin would provide quick calculation of muscle-tendon lengths and moment arms (e.g. look up tables), and allow existing tools (ID, FD etc) to run withou...
by Marc Carmichael
Mon Oct 05, 2015 4:08 pm
Forum: OpenSim
Topic: Model View Freezes
Replies: 3
Views: 248

Re: Model View Freezes

I have been having the same issue with version 3.3. The model display won't refresh unless I perform some kind of manual input that forces it to refresh (zoom in/out, rotate, etc). Even motions won't animate. I don't have this issue with version 3.2.
by Marc Carmichael
Mon Sep 28, 2015 2:01 am
Forum: OpenSim
Topic: Making a custom Tool plugin
Replies: 1
Views: 203

Re: Making a custom Tool plugin

I actually just got my Tool to compile and it can be loaded from the OpenSim gui (it calls the constructor, then deconstructor, and says was loaded).

Is there a way to call the Tool's run() function from the gui, parsing in the current model file?
by Marc Carmichael
Sun Sep 27, 2015 11:58 pm
Forum: OpenSim
Topic: Making a custom Tool plugin
Replies: 1
Views: 203

Making a custom Tool plugin

Hey all. I am trying to make a custom plugin Tool similar to the scale tool. I have followed the guides on making a custom Analysis plugin, but have struggled to do the same for a custom tool. Firstly, I am trying to create the tool plugin such that it can be run via the GUI. It this possible? Secon...
by Marc Carmichael
Tue Oct 22, 2013 4:39 pm
Forum: OpenSim
Topic: Changes between using 32-bit and 64-bit API?
Replies: 1
Views: 210

Changes between using 32-bit and 64-bit API?

Hi everyone, In the past I have written code utilizing OpenSim 3.0's 32-bit libraries. I now need to combine this code with some other libraries which are 64-bit. I was pleased to see that OpenSim 3.1 is available in both 32 and 64 bit. My questions is, are there any significant changes/limitations ...
by Marc Carmichael
Tue Feb 26, 2013 1:19 am
Forum: OpenSim
Topic: How to set muscle force to calculate moment arms?
Replies: 8
Views: 1714

Re: How to set muscle force to calculate moment arms?

Hi, How do you access the MomentArmSolver? Thanks, Hi Morgan, Here is some sample code that implements the MomentArmSolver. The iGenCoords parameter is a SimTK array of ints containing the indicies of the joints I wish to calculate the moment arms for. It returns a [nMuscles x nJoints] matrix of mo...
by Marc Carmichael
Tue Feb 26, 2013 1:13 am
Forum: OpenSim
Topic: How to set muscle force to calculate moment arms?
Replies: 8
Views: 1714

Re: How to set muscle force to calculate moment arms?

Thanks for all the information. I have used a number of different methods in the past. I have used both the MomentArmSolver as well as the muscle.computeMomentArm() function, and both worked well. However for my application I found that it was quicker for me to implement my own routine which basical...
by Marc Carmichael
Mon Feb 25, 2013 5:45 pm
Forum: OpenSim
Topic: How to set muscle force to calculate moment arms?
Replies: 8
Views: 1714

Re: How to set muscle force to calculate moment arms?

Hi Sherm, Sorry for the late reply. I want to explicitly calculate (as quick as possible) for a given pose a matrix containing the moment arms. I use it in my work to relate upper limb muscle strength to the strength at the hand in different directions. I was using OpenSim's computeMomentArm() funct...
by Marc Carmichael
Mon Feb 18, 2013 10:15 pm
Forum: OpenSim
Topic: How to set muscle force to calculate moment arms?
Replies: 8
Views: 1714

How to set muscle force to calculate moment arms?

Hi all, I am trying to calculate the muscle moment arms using the method described in document "How to compute muscle moment arm using generalized coordinates" http://wiki.simtk.org/opensim/FrontPage?action=AttachFile&do=get&target=HowToComputeMuscleMomentArm.pdf I am using the Generalized force met...
by Marc Carmichael
Tue Aug 02, 2011 7:08 pm
Forum: OpenSim
Topic: Help understanding muscle model
Replies: 0
Views: 263

Help understanding muscle model

<r>Hello,<br/> <br/> I am currently trying to replicate the calculations that OpenSim performs when computing muscle actuator force. My issue is that I keep getting results that differ from OpenSim, particularly at low levels of activation.<br/> <br/> The model uses the Schutte1993Muscle actuator.<b...