Search found 88 matches

by Jacob J. Banks
Wed Apr 20, 2022 12:43 pm
Forum: Spine and rib cage model in OpenSim
Topic: Scaling
Replies: 2
Views: 336

Re: Scaling

https://simtk-confluence.stanford.edu:8443/display/OpenSim/How+to+Use+the+Scale+Tool Fatemeh, I would suggest using the GUI to construct your own setup file. The 'how to' from OpenSim (link above) should give provide enough information for you to scale by height and mass. If you can't figure it out,...
by Jacob J. Banks
Sat Apr 16, 2022 6:47 am
Forum: OpenSim
Topic: Coordinate Speed Calculation & SOpt frame 1 applied speed
Replies: 3
Views: 349

Re: Coordinate Speed Calculation & SOpt frame 1 applied speed

Nicos, Thank you for the prompt and clear reply. I was sort of thinking that may be the case, but for whatever reason I overlooked that portion of the code. I suppose it is spline fit to smooth a bit and more easily take a derivative. Still a bit confusing to have speeds and coordinates you can gene...
by Jacob J. Banks
Fri Apr 15, 2022 1:52 pm
Forum: OpenSim
Topic: Coordinate Speed Calculation & SOpt frame 1 applied speed
Replies: 3
Views: 349

Coordinate Speed Calculation & SOpt frame 1 applied speed

I have 2 semi related questions/I have been struggling with... hopefully 1 post is appropriate. 1) How are the state speeds calculated? Is this just a simple 3pt (central?) method form the coordinates? If so, why can't I match them EXACTLY from the state coordinates? 2) Does the static optimization ...
by Jacob J. Banks
Thu Apr 14, 2022 3:35 pm
Forum: OpenSim
Topic: OpenSim API: problem of muscle force velocity function with Millard muscle type
Replies: 13
Views: 1963

Re: OpenSim API: problem of muscle force velocity function with Millard muscle type

As a quick follow-up to some of my initial concerns (admittedly I didn't start this post, but I did mention them above), I found that one needs to disable (i.e., 'set_ignore_...' to true (1)) the tendon and activation properties for the Millard muscles (see IV part 4): https://simtk-confluence.stanf...
by Jacob J. Banks
Wed Apr 13, 2022 10:58 am
Forum: Spine and rib cage model in OpenSim
Topic: Am I doing my analysis correctly?
Replies: 7
Views: 670

Re: Am I doing my analysis correctly?

Good deal. Glad we figured it out. That would have been a mistake (to increase the shoulder elevation)... I was no doubt just getting over zealous on modifying the actuators. The upper arm(s) reserve actuators don't need changed (or to even be added) because those joints are already controlled by to...
by Jacob J. Banks
Wed Apr 13, 2022 6:39 am
Forum: Spine and rib cage model in OpenSim
Topic: Am I doing my analysis correctly?
Replies: 7
Views: 670

Re: Am I doing my analysis correctly?

Sorry, I did not pick that up the first time. That makes sense. So, I think it goes back to what I mentioned yesterday and the Sternum and r1 DoF. I ran InvDyn on things and you can see (in attached Zip folder) that there are some decent sized asymmetrical moments at those joints. Therefore, I drast...
by Jacob J. Banks
Tue Apr 12, 2022 3:48 pm
Forum: Spine and rib cage model in OpenSim
Topic: Am I doing my analysis correctly?
Replies: 7
Views: 670

Re: Am I doing my analysis correctly?

Just looking at your External file (sorry, I have been away from my desk all day)... and you have non-zero pz values. That is/should be why you have asymmetrical recruitment. pz is medial-lateral. Is this designed, or did you think pz was/is vertical? I didn't run it in InvDyn, but you should. Jake ...
by Jacob J. Banks
Tue Apr 12, 2022 6:01 am
Forum: Spine and rib cage model in OpenSim
Topic: Am I doing my analysis correctly?
Replies: 7
Views: 670

Re: Am I doing my analysis correctly?

I'm guessing your external force is not setup correctly and it is not being administered symmetrically. It's pretty easy to screw up, because as you noted OpenSim does not (for whatever reason) seem to display forces correctly that are in a local coordinate, as it displays them in a GCS (but it does...
by Jacob J. Banks
Thu Apr 07, 2022 1:15 pm
Forum: OpenSim
Topic: OpenSim API: problem of muscle force velocity function with Millard muscle type
Replies: 13
Views: 1963

Re: OpenSim API: problem of muscle force velocity function with Millard muscle type

Similar to Kaci, I can't seem to make sense of/match extracted Millard muscle force parameters using an API. However, I am looking at things a bit differently, as I am writing a custom SOpt API... If one runs the SOpt tool on a trial/frame and then takes the SOpt_force and divides them by the SOpt_a...
by Jacob J. Banks
Wed Mar 23, 2022 6:13 am
Forum: OpenSim
Topic: JointReaction vs InverseDynamics
Replies: 12
Views: 1196

Re: JointReaction vs InverseDynamics

Oh, those are the same (maybe some filtering and/or weird little coordinate differences that don't align)! So it is just a mater of which coordinate system you are using. Are you looking at the child or the parent frame for your JRA? Which ever you are not, should be in the same coordinates as the I...