Search found 25 matches

by Evan Dooley
Wed May 26, 2021 6:05 am
Forum: OpenSim
Topic: Missing sockets when adding PointToPointSpring to ForceSet
Replies: 2
Views: 276

Missing sockets when adding PointToPointSpring to ForceSet

Hello, I am trying to add a PointToPointSpring between the hand and the handle of a device in my model and keep this force active when performing RRA. Currently, I can use Matlab to add the springs to the OSIM model just fine, but I cannot get the sockets to print to the XML file being used to repla...
by Evan Dooley
Tue Mar 30, 2021 6:04 pm
Forum: OpenSim
Topic: Matlab crashes when running RRATool
Replies: 2
Views: 268

Re: Matlab crashes when running RRATool

Thanks so much for the quick response.

Yep! Making a new RRATool object that was initiated with the made set-up file totally worked. Thanks for the tip!

I do also have the full path of the filename in the set-up file. I saw the note about that being a possible issue on github.

Thanks again,
Evan
by Evan Dooley
Tue Mar 30, 2021 1:24 pm
Forum: OpenSim
Topic: Matlab crashes when running RRATool
Replies: 2
Views: 268

Matlab crashes when running RRATool

Hello all, I am trying to script my RRA in Matlab. I have written a script to set up the RRA Tool and I can print that set-up file from Matlab. If I load that RRA set-up file into the RRA Tool in the GUI and press run, OpenSim calculates as expected. However, if I attempt to run the tool in Matlab (...
by Evan Dooley
Mon Mar 22, 2021 10:23 am
Forum: OpenSim
Topic: Include contact forces in Reduced Residual Analysis
Replies: 1
Views: 325

Include contact forces in Reduced Residual Analysis

Hello, I was wondering if it is possible to use a contact model as the external force input used during the reduced residual analysis? Currently, if I run my model, which includes a foot contact model, through RRA attempting to follow results from inverse kinematics and with the vertical pelvis cons...
by Evan Dooley
Mon Feb 22, 2021 9:15 am
Forum: OpenSim
Topic: Running Analyze Tool in Matlab
Replies: 0
Views: 241

Running Analyze Tool in Matlab

Hello, I am working on using the analysis tool (AnalyzeTool) through the Matlab scripting interface to get out the ForceReporter results. When I set up this analysis using Matlab I am using a coordinates file to supply the motion for the analysis and am getting an error that I must supply the states...
by Evan Dooley
Tue Oct 27, 2020 12:46 pm
Forum: OpenSim
Topic: Edit Motion Objects in associated motion data
Replies: 0
Views: 127

Edit Motion Objects in associated motion data

Hello, I am trying to show the forces that are applied during the inverse dynamics simulation I am working on. I have run the simulation and I have IDResults under Motions in the Navigator pane. I can then add the Force MOT file to those results as "associate motion". When I do this no force vectors...
by Evan Dooley
Thu Oct 01, 2020 8:04 am
Forum: OpenSim
Topic: Scale/IK tool failing because of tolerance?
Replies: 1
Views: 258

Scale/IK tool failing because of tolerance?

Hello, I am trying to change the marker set on an existing model because we would like to try a different model on data we have collected previously. When I open the model with the new marker set in the GUI all of the markers are in the correct locations and on the correct segments. I can then scale...
by Evan Dooley
Tue Sep 08, 2020 6:02 am
Forum: OpenSim
Topic: reading a ".mot" file
Replies: 7
Views: 750

Re: reading a ".mot" file

Yep that's the filename, mine just loops a bunch of trials so that's how it formats to read. I think from what you gave yours would be: motAsTable = readtable('subject01_walk1_grf.txt'); outputs = motAsTable.Properties.VariableNames; data = table2array(motAsTable); Yeah, the mot file is just saved a...
by Evan Dooley
Mon Sep 07, 2020 3:59 pm
Forum: OpenSim
Topic: reading a ".mot" file
Replies: 7
Views: 750

Re: reading a ".mot" file

Hey, I was actually working on this today. Here's what I came up with: IKrez_0 = readtable([trialname,'_0_IKrez.txt']); outputs = IKrez_0.Properties.VariableNames; data = table2array(IKrez_0); The input to the readtable is a string of the file name for the inverse kinematics results. I had them prin...
by Evan Dooley
Mon Sep 07, 2020 3:55 pm
Forum: OpenSim
Topic: Unexpected Number of Columns Error Inverse Kinematics
Replies: 5
Views: 356

Re: Unexpected Number of Columns Error Inverse Kinematics

I have attached a shortened version of the TRC that was not working. I opened them in a couple formats and couldn't find any formatting errors. Maybe there's another editor I should open it in? If the Vicon Nexus to TRC pipeline is systematically or randomly putting in spaces instead of tabs though,...