Search found 37 matches

by Hossein Mokhtarzadeh
Tue Apr 12, 2022 7:23 pm
Forum: OpenColab
Topic: OpenColab OpenSim-Models
Replies: 3
Views: 1088

Re: OpenColab OpenSim-Models

Hello, well I cannot tell from the links you sent but if you upload the .osim files properly, you should be able to double click on it on Colab and see the details properly on the right hand side. If this is not the case, you have not uploaded it properly. Another suggestion is that you download you...
by Hossein Mokhtarzadeh
Tue Mar 22, 2022 11:48 pm
Forum: OpenColab
Topic: OpenColab OpenSim-Models
Replies: 3
Views: 1088

Re: OpenColab OpenSim-Models

Hi Fernando,

Thanks for your question. Could you share your piece of script that you try to load the model? In general the process should be quite similar to what we have shown in tutorials.
Hossein
by Hossein Mokhtarzadeh
Thu May 28, 2020 7:07 am
Forum: OpenSim
Topic: Torsional knee spring using gait2392 or gait2354
Replies: 1
Views: 817

Re: Torsional knee spring using gait2392 or gait2354

I think I got why there was no differences. I used the same stiffness and inputs from the example on ankle for the knee spring. I am just wondering now if RRA and ID can calculate (or consider) other actuators e.g. added torsional knee spring. I could not verify this yet. Finally, after I perform CM...
by Hossein Mokhtarzadeh
Tue May 26, 2020 5:27 pm
Forum: OpenSim
Topic: Torsional knee spring using gait2392 or gait2354
Replies: 1
Views: 817

Torsional knee spring using gait2392 or gait2354

Hi all, I am using this example below to perform a muscle-driven simulation with a torsional knee spring using gait2392 or gait2354 core models: "Simulation-Based Design to Reduce Metabolic Cost" page ( https://simtk-confluence.stanford.edu:8443/display/OpenSim/Simulation-Based+Design+to+Reduce+Meta...
by Hossein Mokhtarzadeh
Thu Aug 22, 2019 7:49 pm
Forum: OpenSim
Topic: Evaluate Knee Brace
Replies: 0
Views: 455

Evaluate Knee Brace

Dear all, I wonder if you could direct me to a procedure or a framework to evaluate e.g. a knee brace effect on joint biomechanics vs. no brace option in OpenSim. Let's imagine we aim to develop a knee brace but we would like to simulate it properly in advance. I see it this way: 1. A new design in ...
by Hossein Mokhtarzadeh
Wed Jun 19, 2019 9:11 pm
Forum: OpenSim
Topic: Obtain CM position and velocity during a simulation
Replies: 9
Views: 3010

Re: Obtain CM position and velocity during a simulation

Hi all, I am sorry this may be long. I am not sure where I am making the mistake in getting whole body CoM position during a simulation (by loading Inverse Kinematics results). I am trying two methods. My problem is that I cannot get the same results as I do with BodyKinematics analyses. 1. Using "S...
by Hossein Mokhtarzadeh
Sun Jun 16, 2019 11:45 pm
Forum: OpenSim
Topic: Reading states in Python
Replies: 7
Views: 1435

Re: Reading states in Python

Hi all, I get the same error in Matlab when I use "states = StatesTrajectory.createFromStatesStorage(model, sto)" model = Model(fullfile(model_folder, 'subject01_simbody.osim')); cd('.\IKResults'); model.initSystem() sto = Storage("W1+R+ACC_ik.mot"); sto.setInDegrees(0) states = StatesTrajectory.cre...
by Hossein Mokhtarzadeh
Sun Jun 16, 2019 5:36 pm
Forum: OpenSim
Topic: Extracting the angular velocity
Replies: 8
Views: 2006

Re: Extracting the angular velocity

Thanks Dimitar! I think I am using the same method you kindly shared. My problem were the following: 1. Why the results are different between this script (that I shared before here) and BodyKinematics analysis in OpenSim GUI? 2. Also, scripting takes a few second to calculate CoM while BodyKinematic...
by Hossein Mokhtarzadeh
Fri Jun 14, 2019 10:13 pm
Forum: OpenSim
Topic: Extracting the angular velocity
Replies: 8
Views: 2006

Re: Extracting the angular velocity

Hello, Thanks for this post. I am trying to get whole body CoM (center of mass) during a dynamic motion using Maltab Scripts. I have done the following in Matlab and then I did Body Kinematics Analysis to get CoM position. However, the outcomes for CoM are different and Maltab Script takes a long ti...
by Hossein Mokhtarzadeh
Thu Jun 06, 2019 7:35 pm
Forum: OpenSim
Topic: C3D Export Force Plates next to each other
Replies: 8
Views: 2243

Re: C3D Export Force Plates next to each other

Hi James, I hope this finds you well. I have noticed that your osimC3D code only gets "markers, and forces". I think in the following line of your code below, we only get markers and forces not all other channels from C3D. tables = C3DFileAdapter().read(path2c3d, ForceLocation) Is there a way we can...