Search found 88 matches

by Jacob J. Banks
Tue Mar 22, 2022 6:20 am
Forum: OpenSim
Topic: JointReaction vs InverseDynamics
Replies: 12
Views: 1196

Re: JointReaction vs InverseDynamics

Hmmm... That is an interesting point. However, in the graph you showed, it was just ID vs JRA moments, so it was the exact same model, correct? Even so, to maybe test if the 2 approaches are using different coordinate systems, look at the resultant moment from both (i.e., sqrt(Mx^2 + My^2 + Mz^2)? I...
by Jacob J. Banks
Mon Mar 21, 2022 1:43 pm
Forum: OpenSim
Topic: Moment arms for tibia bending moment
Replies: 6
Views: 617

Re: Moment arms for tibia bending moment

This code is very crude and under commented, but should provide you with the general idea of using a Matlab API to get moment arms about a specific joint. Note: I am using IK files for 'states' and just ignoring the velocity state and converting the degrees to radians, and also that instead of looki...
by Jacob J. Banks
Mon Mar 21, 2022 8:32 am
Forum: OpenSim
Topic: JointReaction vs InverseDynamics
Replies: 12
Views: 1196

Re: JointReaction vs InverseDynamics

https://simtk.org/plugins/phpBB/viewtopicPhpbb.php?f=91&t=14336&p=41315&start=0&view= Hmm... unsure what is going on with the mismatch, but the actuator max magnitude similarity is consistent with what the max actually is (see above forum exchange)... a force/moment per unit of activation. So the to...
by Jacob J. Banks
Wed Mar 16, 2022 6:14 am
Forum: OpenSim
Topic: Scaling with Matlab API
Replies: 4
Views: 695

Re: Scaling with Matlab API

In case Carmichael's post didn't completely do the trick/your still having issues, here is a Matlab API we use/wrote to scale things. I think it is fairly self-explanatory. It requires you have a setup file already saved with some of your basic parameters.
Jake Banks
by Jacob J. Banks
Wed Mar 16, 2022 6:08 am
Forum: OpenSim
Topic: JointReaction vs InverseDynamics
Replies: 12
Views: 1196

Re: JointReaction vs InverseDynamics

Interesting that they are a bit off, but not totally surprising. My 1-2 thoughts: - I assume you filtered the kinematics (6Hz) for InvDyn? If not, that would be a big reason. - I think when you run through JRA the kinetics/moments may be getting filtered, either that or the kinematics are getting fi...
by Jacob J. Banks
Tue Mar 15, 2022 3:23 pm
Forum: OpenSim
Topic: JointReaction vs InverseDynamics
Replies: 12
Views: 1196

Re: JointReaction vs InverseDynamics

Sorry for not coming back to this forum (I got your email though!). So, here is what I came up with (attached zip)... the subject_scale_walk_StaticOptimization_force.sto file should have your joint moments, then the _JointReaction_ReactionLoads.sto file should contain your reactive forces and the sa...
by Jacob J. Banks
Wed Mar 09, 2022 2:35 pm
Forum: Spine and rib cage model in OpenSim
Topic: marker set list?
Replies: 9
Views: 809

Re: marker set list?

Getting there! Try locking all the spine and rib joints. That should get rid of the funky stuff (then unlock them after you scale). Otherwise, you also need to make sure your scaling every vertebrae the same way. If your missing arm markers, just scale manually (easiest with a ratio of subj height /...
by Jacob J. Banks
Mon Mar 07, 2022 2:13 pm
Forum: OpenSim
Topic: JointReaction vs InverseDynamics
Replies: 12
Views: 1196

Re: JointReaction vs InverseDynamics

Hmmm.... I've never tried this (because unclear why you would want to do it?), but I can see where it 'should' work. But to be honest, I've actually sort of always wondered what the JRA moments mean if you have Residual Actuators (how they are are not =0). I have tried an equivalent, where I used JR...
by Jacob J. Banks
Mon Mar 07, 2022 7:08 am
Forum: Spine and rib cage model in OpenSim
Topic: marker set list?
Replies: 9
Views: 809

Re: marker set list?

Here is an example of a scaling approach we use. While it won't work for you (unless you have the exact same markerset), it will give some guidance for how to scale things in multiple dimensions. Unfortunately, this is often more art than science. When in doubt, just scale to height or a segment len...
by Jacob J. Banks
Fri Mar 04, 2022 1:29 pm
Forum: Spine and rib cage model in OpenSim
Topic: marker set list?
Replies: 9
Views: 809

Re: marker set list?

Open up the model I sent (in OpenSim). You'll see that 15 of the 17 IVJ are missing. In place there are CCC (Coordinate Coupling Constraints) that couple the other joints to the remaining joints (based on established associations). These are necessary when you have more DoFs than you have markers (w...