Search found 29 matches

by Josh Baxter
Thu Apr 12, 2018 3:58 pm
Forum: OpenSim
Topic: Bone geometry- What is scaled?
Replies: 1
Views: 242

Re: Bone geometry- What is scaled?

Scaling only adjusts the bony geometries along their primary axes (X,Y,Z). The long axis of the femur passes from the mid-condyle point to the center of the femoral head. Assigning the appropriate scaling factors is very challenging and can be a bit easier if you go through a functional joint center...
by Josh Baxter
Sat Apr 07, 2018 1:09 pm
Forum: OpenSim
Topic: Joint Reaction Analysis with CMC
Replies: 2
Views: 341

Re: Joint Reaction Analysis with CMC

you'll need to manually edit a setup xml to include it. you can do this by using the analysis tool gui and saving the xml - then copying and pasting the 'analysisset' portion into the cmc setup xml.
by Josh Baxter
Thu Apr 05, 2018 11:36 am
Forum: OpenSim
Topic: CMC troubles with MoBL_ARMS model
Replies: 5
Views: 750

Re: CMC troubles with MoBL_ARMS model

Ross makes a really good point that I think gets over looked a lot. Simulations are super sensitive to MTU length - especially tendon slack length. Rajagopal+ 2016 describes how the opensim MTUs are tuned. This is also sensitive to the joint position when tendon slack length is adjusted. One way to ...
by Josh Baxter
Thu Apr 05, 2018 5:39 am
Forum: OpenSim
Topic: RRA mass recomendation
Replies: 7
Views: 1081

Re: RRA mass recomendation

I just put this matlab call together. it seems to do the trick... it uses model and other files from the gait10dof folder

*edit* i'm having trouble uploading attachements. PM if you'd like these matlab scripts.
by Josh Baxter
Wed Apr 04, 2018 1:19 pm
Forum: OpenSim
Topic: RRA mass recomendation
Replies: 7
Views: 1081

Re: RRA mass recomendation

I don't think this feature has been added - at least it doesn't show up in the API docs and a recent post suggests this feature isn't available... https://simtk.org/plugins/phpBB/viewtopicPhpbb.php?f=91&t=7430&p=19634&start=0&view=&sid=7f3b3c52d1b8ca7a53cbf303593dc4a0 i'd recommend running the RRA t...
by Josh Baxter
Wed Apr 04, 2018 4:28 am
Forum: OpenSim
Topic: import .sto file in matlab
Replies: 3
Views: 342

Re: import .sto file in matlab

.mot and .sto files are pretty similar (with some small differences in the header info - the first 5 rows are the same and it ends with 'endheader' before the variable names and data). attached is a matlab function that reads both file formats and builds a structure. *edit* i'm not able to attach th...
by Josh Baxter
Tue Mar 06, 2018 7:24 am
Forum: OpenSim
Topic: creating a trc file
Replies: 2
Views: 184

Re: creating a trc file

TRCs are just text files containing some header info and marker trajectories.

I believe there are some MATLAB functions written by members of the opensim community posted somewhere on simTK. I've attached a function I wrote and use to generate scaling TRC files.
by Josh Baxter
Tue Feb 27, 2018 6:01 am
Forum: OpenSim
Topic: IK joint angles unrealistic with correct model markers
Replies: 3
Views: 313

Re: IK joint angles unrealistic with correct model markers

It looks like the Rajagopal model limits the rotation range of the pelvis to 90 degrees in all directions. If your subject was standing in a direction outside of this range (with respect to your lab coordinate system) then this could also cause the problem... you can go into the osim file and change...
by Josh Baxter
Mon Feb 26, 2018 5:40 am
Forum: OpenSim
Topic: IK joint angles unrealistic with correct model markers
Replies: 3
Views: 313

Re: IK joint angles unrealistic with correct model markers

Consider including the joint postures of the joints you know the angles to during the static trial. Including the sagittal joint angles for the hip, knee, and ankle should help improve the offsets of the gencoords during IK. This is all assuming that body scaling was pretty good.
by Josh Baxter
Fri Feb 02, 2018 11:49 am
Forum: OpenSim
Topic: knee coordinates in generic model
Replies: 4
Views: 386

Re: knee coordinates in generic model

Are you interested in putting a joint in between the hip and knee joint? If this effectively turns the femur into proximal and distal segments, then you'd need to (1) reformulate the knee translation function or (2) just model the knee joint as a pin-joint. After first read of your post, I would be ...