Search found 12 matches

by Michael Samaan
Fri Mar 06, 2020 5:07 am
Forum: RRA Optimization MATLAB GUI
Topic: RRA operating
Replies: 1
Views: 428

Re: RRA operating

Hi Hwang,
I utilize Matlab and the xml toolbox (attached with this RRA optimization GUI) to batch process all of my opensim based xml and osim files. I try to minimize the optimal force for the actuators as much as possible in order to reduce the residuals that are utilized in the simulation.
by Michael Samaan
Thu Mar 05, 2020 6:54 am
Forum: RRA Optimization MATLAB GUI
Topic: Problem opning .xml files
Replies: 6
Views: 1835

Re: Problem opning .xml files

Hi Corey,
It could potentially be that the Matlab GUI is unable to find the specific files that you list in your RRA setup xml file. I would list the entire file directory for the various inputs within the RRA setup file and see if that helps.
by Michael Samaan
Thu Jul 26, 2018 7:12 pm
Forum: RRA Optimization MATLAB GUI
Topic: Problem opning .xml files
Replies: 6
Views: 1835

Re: Problem opning .xml files

Hi Poramet, Sorry for the late reply. Usually when I receive that error, I go back to running RRA through the OpenSim GUI so that I can visually see where the potential error might be. For me, the error that I usually encounter when I see the NaN values for the optimizer is that the model is usually...
by Michael Samaan
Sat Jul 29, 2017 9:24 pm
Forum: RRA Optimization MATLAB GUI
Topic: Problem opning .xml files
Replies: 6
Views: 1835

Re: Problem opning .xml files

Hi Abdeali,
It looks like the error that you are receiving is due to the fact that Matlab is unable to find the xml_read function. Make sure that the entire set of xml functions provided with the GUI are added to your current path and try to run the GUI again.

Mike
by Michael Samaan
Wed Oct 29, 2014 11:24 am
Forum: OpenSim
Topic: Lower Extremity Model (2 legs no torso)
Replies: 1
Views: 299

Lower Extremity Model (2 legs no torso)

Hi, I am working with some previously collected gait data in which there is no motion capture data for the trunk. I am trying to use the default bothlegs model provided with OpenSim 3.1. The model runs through the scaling tool successfully but I am unable to run the model through RRA or Static Optim...
by Michael Samaan
Sun Jan 19, 2014 8:41 pm
Forum: OpenSim
Topic: Plot excitation constraints in Matlab
Replies: 1
Views: 719

Re: Plot excitation constraints in Matlab

Nathan, You can use the xml io tools found on the Mathworks file exchange (link below) to help you plot the excitation constraints in Matlab. The xml_read command will read an XML file into Matlab and convert it into a structure, which can be easily manipulated via Matlab commands. The xml_write fun...
by Michael Samaan
Thu Sep 15, 2011 6:12 am
Forum: OpenSim
Topic: RRA in opensim version 2.2.1
Replies: 2
Views: 612

Re: RRA in opensim version 2.2.1

I am having a similar problem as well. When I run RRA on my model in v2.2.1, my residual forces peak and RRA crashes for this particular model at the same time point each time I run RRA. I had downloaded the latest beta version of Opensim just to try it out and have been able to successfully run the...
by Michael Samaan
Thu Mar 25, 2010 12:51 pm
Forum: OpenSim
Topic: API Developer's Guide
Replies: 8
Views: 1040

RE: API Developer's Guide

<t>Ayman,<br/> I have installed Visual Studio 2008 and CMake 2.8<br/> The files were compiled successfully in CMake but now I am getting errors in Visual Studio when I try to build the solution. The error I receive is pasted below.<br/> <br/> Thanks<br/> <br/> 1>------ Build started: Project: Librar...
by Michael Samaan
Tue Mar 23, 2010 8:00 am
Forum: OpenSim
Topic: API Developer's Guide
Replies: 8
Views: 1040

RE: API Developer's Guide

Ayman,
I am using Visual Basic 2008 express edition and CMake 2.8.
by Michael Samaan
Mon Mar 22, 2010 2:58 pm
Forum: OpenSim
Topic: API Developer's Guide
Replies: 8
Views: 1040

RE: API Developer's Guide

<t>Ayman, <br/> I have uninstalled and reinstalled CMake. I have added a path for both the CMAKE_C_COMPILER and the CMAKE_CXX_COMPILER entries. When I press configure, CMake goes onto process something yet does not produce or show any types of results or errors. Is it possible that I may have added ...