Search found 55 matches

by Rodrigo Mateus
Fri Jul 12, 2024 4:55 pm
Forum: OpenSim
Topic: Calculate the transformation matrices in a specific pose using MATLAB
Replies: 3
Views: 233

Re: Calculate the transformation matrices in a specific pose using MATLAB

Unfortunately, the marker positions are not being retrieved correctly, although I do not understand why... Here it is the code to retrieve the marker positions at the new state: % Import OpenSim libraries import org.opensim.modeling.* % Load an OpenSim model model = Model('output_scaled_model_file.o...
by Rodrigo Mateus
Fri Jul 12, 2024 12:07 pm
Forum: OpenSim
Topic: Calculate the transformation matrices in a specific pose using MATLAB
Replies: 3
Views: 233

Re: Calculate the transformation matrices in a specific pose using MATLAB

Hey Nicos!

Everything going well thanks!! Hope you are well too!

Thank you for the help. apparently I needed to calculate the transforms before printing the model, so it's all working out well now, thank you!
by Rodrigo Mateus
Fri Jul 12, 2024 10:34 am
Forum: OpenSim
Topic: Calculate the transformation matrices in a specific pose using MATLAB
Replies: 3
Views: 233

Calculate the transformation matrices in a specific pose using MATLAB

Hi there! I am trying to calculate the transformation matrices in a specific pose given by a .mot file. However, I am having some difficulty in placing the musculoskeletal model in the specific pose. Here it is the code I am implementing: % Import OpenSim libraries import org.opensim.modeling.* % Lo...
by Rodrigo Mateus
Wed Dec 13, 2023 4:17 am
Forum: OpenSim
Topic: Error converting between TimeSeriesTables and Matlab structs
Replies: 1
Views: 209

Error converting between TimeSeriesTables and Matlab structs

Hi, I am trying to filter .mot files from C3D file, and also trying to create a new TRC file with virtual markers. I import it using the Matlab API and try to filter the "forceStruct" in Matlab. Concerning the virtual markers, I add them to a Matlab struct and create a new TimeSeriesTableVec3 with o...
by Rodrigo Mateus
Mon Jan 23, 2023 10:37 am
Forum: OpenSim
Topic: Scaling Tool error - No model specified
Replies: 1
Views: 270

Scaling Tool error - No model specified

Hi there, I am trying to run a Scaling Tool to scale the Lenhart Model, however I am always getting the same message: Java exception occurred: java.lang.RuntimeException: ScaleTool: No model specified. at org.opensim.modeling.opensimActuatorsAnalysesToolsJNI.ScaleTool_run(Native Method) at org.opens...
by Rodrigo Mateus
Fri Sep 30, 2022 9:41 am
Forum: OpenSim
Topic: Induced Accelerations Analysis issues
Replies: 0
Views: 152

Induced Accelerations Analysis issues

Hi there, I am a PhD student at the University of Lisbon, and I am currently trying to calculate the individual muscle contribution to ground reaction forces in a side step cutting task. Unfortunately, I am having some issues regarding the results. The first image relates to the experimental ground ...
by Rodrigo Mateus
Thu Feb 10, 2022 7:17 am
Forum: OpenSim
Topic: Opening Arnold 2010 model in newer versions of OpenSim
Replies: 6
Views: 466

Re: Opening Arnold 2010 model in newer versions of OpenSim

Thank you so much! However, when I run it, this message appears: updateKinematicsStorageForUpdatedModel(): motion 'Visual3d_SIMM_input.mot' does not contain inconsistent coordinate 'knee_angle_r_beta'. updateKinematicsStorageForUpdatedModel(): motion 'Visual3d_SIMM_input.mot' does not contain incons...
by Rodrigo Mateus
Mon Feb 07, 2022 11:01 am
Forum: OpenSim
Topic: Opening Arnold 2010 model in newer versions of OpenSim
Replies: 6
Views: 466

Re: Opening Arnold 2010 model in newer versions of OpenSim

Is there a version of these examples in Matlab?

Thank you in advance!

Rodrigo
by Rodrigo Mateus
Tue Dec 21, 2021 4:23 pm
Forum: OpenSim
Topic: Opening Arnold 2010 model in newer versions of OpenSim
Replies: 6
Views: 466

Re: Opening Arnold 2010 model in newer versions of OpenSim

Hi Ayman,

Thank you so much, it was very helpful and insightful!

Is there an example of a script where updatePre40KinematicsFilesFor40MotionType() is used? Because I have not been able to run this function during my last tries.

Rodrigo
by Rodrigo Mateus
Thu Nov 25, 2021 2:57 am
Forum: OpenSim
Topic: Opening Arnold 2010 model in newer versions of OpenSim
Replies: 6
Views: 466

Opening Arnold 2010 model in newer versions of OpenSim

Hi there, My name is Rodrigo and I have been trying to start working with the Arnold model due to its knee model with patella. However, whenever I try to open it in OpenSim 4.2, this window appears. 1.png Is this troublesome? On the other hand, I have been using the gait2392 model for my simulations...