Search found 55 matches

by Aaron Godfrey
Tue Nov 28, 2017 5:59 am
Forum: OpenSim
Topic: Inverse Kinematics Error Calculations
Replies: 1
Views: 562

Inverse Kinematics Error Calculations

I am running a lot of inverse kinematics, and would like to keep track of the error. I've seen in other threads that you can output the marker file locations when running IK (and have successfully done so in the past), but this time I have a few problems with it. First, it doesn't let you change the...
by Aaron Godfrey
Wed Nov 15, 2017 10:16 am
Forum: OpenSim
Topic: Adding New Markers to a .trc
Replies: 6
Views: 1281

Re: Adding New Markers to a .trc

That did it. Thanks again!
by Aaron Godfrey
Wed Nov 15, 2017 5:33 am
Forum: OpenSim
Topic: Adding New Markers to a .trc
Replies: 6
Views: 1281

Re: Adding New Markers to a .trc

Having looked into this a little more, it isn't the solution I was looking for. While it does put out an STO of marker locations, it does not put out the location of the virtual markers (i.e., markers that I add to the model prior to running IK, that are tied to various bodies - for example, I'm add...
by Aaron Godfrey
Wed Nov 15, 2017 4:41 am
Forum: OpenSim
Topic: Adding New Markers to a .trc
Replies: 6
Views: 1281

Re: Adding New Markers to a .trc

I was referring to a .trc file, which is what I use to run IK.

The tool option you pointed out might work, though. Thanks!
by Aaron Godfrey
Tue Nov 14, 2017 12:44 pm
Forum: OpenSim
Topic: Adding New Markers to a .trc
Replies: 6
Views: 1281

Adding New Markers to a .trc

I have a program I'm using to compare marker position over time, but I need to add some virtual markers to it to complete my analysis. This might be a dumb question, but is there anyway to re-calculate the trace with virtual markers and export those results? There's plenty of options for saving .mot...
by Aaron Godfrey
Thu Sep 28, 2017 5:13 am
Forum: OpenSim
Topic: Using the BodyKinematics Tool in Python
Replies: 2
Views: 1057

Re: Using the BodyKinematics Tool in Python

Thanks, Tom. That's how I started, but osim.BodyKinematics seemed like it was more built for the process, and wouldn't require a template XML to set the method. I switched methods and now it seems to work (though having to load my IK file through osim.Storage(filename) tripped me up for a second). T...
by Aaron Godfrey
Wed Sep 27, 2017 7:38 am
Forum: OpenSim
Topic: Using the BodyKinematics Tool in Python
Replies: 2
Views: 1057

Using the BodyKinematics Tool in Python

I'm trying to run a BodyKinematics analysis of an IK (.mot) file so that I can quickly obtain center of mass information for the duration of the motion, but I'm having a problem. Namely, it seems as though there is no method to actually run the tool. Now, there *is* a tool.begin() method. But that o...
by Aaron Godfrey
Fri Sep 01, 2017 3:38 am
Forum: OpenSim
Topic: Inverse Dynamics Does not Output Results
Replies: 3
Views: 603

Re: Inverse Dynamics Does not Output Results

It seems to be working now. It looks like the problem might have been using a full path name is <results_directory>. Once I changed that to just 'ID\' it seems to be working. So, if anyone else has this problem, there you go.
by Aaron Godfrey
Thu Aug 31, 2017 8:54 am
Forum: OpenSim
Topic: Inverse Dynamics Does not Output Results
Replies: 3
Views: 603

Re: Inverse Dynamics Does not Output Results

Nah, that's not it. It's a full directory listing, I just replaced the path with '\dataset\' for the sake of brevity.
by Aaron Godfrey
Thu Aug 31, 2017 7:14 am
Forum: OpenSim
Topic: Inverse Dynamics Does not Output Results
Replies: 3
Views: 603

Inverse Dynamics Does not Output Results

Whenever I use the inverse dynamics tool - either from Matlab or OpenSim - I never have any results saved to the output directory. Everything in the IDSetup file and the tool seems correct, so I'm not sure what is going on. The Folder structure of the data is \dataset\ -- where the osim & setup file...