Search found 196 matches

by Nicos Haralabidis
Mon Oct 21, 2024 8:31 pm
Forum: OpenSim
Topic: Hip joint center gait 2392 model
Replies: 2
Views: 360

Re: Hip joint center gait 2392 model

Hello Madeline,

The model documentation can be found here: https://opensimconfluence.atlassian.net ... 354+Models

and the associated publication:
https://ieeexplore.ieee.org/document/102791

Hope that helps!

Nicos
by Nicos Haralabidis
Mon Oct 07, 2024 9:39 am
Forum: OpenSim
Topic: Model question: extended Rajagopal with ligaments
Replies: 2
Views: 415

Re: Model question: extended Rajagopal with ligaments

Hello Christopher, I am not 100% sure there is a model out there that attempts to model each joint with the level of detail you are describing. Researchers typically increase the complexity based on the research question. So if you are interested in the small movements between the patella and the fe...
by Nicos Haralabidis
Mon Sep 30, 2024 11:25 pm
Forum: OpenSim
Topic: Python Script to Transform Point from Rigid Body Frame to Ground Frame
Replies: 4
Views: 541

Re: Python Script to Transform Point from Rigid Body Frame to Ground Frame

Hello Max!

Are the angular coordinates in 'MyMotion.mot' in radians? They are expected to be in radians. Get and print the values of the states after you have set them for a given time point to ensure you have set them accordingly.

Thanks,

Nicos
by Nicos Haralabidis
Wed Sep 25, 2024 12:14 pm
Forum: OpenSim
Topic: Python Script to Transform Point from Rigid Body Frame to Ground Frame
Replies: 4
Views: 541

Re: Python Script to Transform Point from Rigid Body Frame to Ground Frame

Hello Maximillian, Have you tried: findStationLocationInGround https://simtk.org/api_docs/opensim/api_docs/classOpenSim_1_1Frame.html#a84130c33892299d222d753c727289274 You need to first get the frame object for which your point is locally expressed in. That should do the trick. Best wishes, Nicos
by Nicos Haralabidis
Mon Sep 16, 2024 3:26 pm
Forum: OpenSim
Topic: Assistance Required with Integrating Open-Source Datasets in OpenSim
Replies: 5
Views: 517

Re: Assistance Required with Integrating Open-Source Datasets in OpenSim

Hello Elton, Did you take a look at the first link I shared in my previous comment? If you look at the section titled 'Reading C3D files through Matlab' it provides a code snippet for reading a *.c3d file and then converting it to the relevant files for usage with OpenSim (trc and mot). [1] Open-sou...
by Nicos Haralabidis
Wed Sep 11, 2024 9:57 am
Forum: OpenSim
Topic: Assistance Required with Integrating Open-Source Datasets in OpenSim
Replies: 5
Views: 517

Re: Assistance Required with Integrating Open-Source Datasets in OpenSim

Hello Elton, Have you tried using the methods for converting C3D files to *.trc/*.mot files built into OpenSim? https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim/pages/53090837/C3D+.c3d+Files Other available packages to do so can be found here: https://opensimconfluence.atlassian.net/wiki/...
by Nicos Haralabidis
Mon Sep 09, 2024 8:52 am
Forum: OpenSim
Topic: Assistance Required with Integrating Open-Source Datasets in OpenSim
Replies: 5
Views: 517

Re: Assistance Required with Integrating Open-Source Datasets in OpenSim

Hello Elton, Have you tried going through the sections 'preparing your data' [1] and 'scaling' [2] of the user-guide? [1] https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim/pages/53089993/Preparing+Your+Data [2] https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim/pages/53090000/Scal...
by Nicos Haralabidis
Thu Sep 05, 2024 10:00 pm
Forum: OpenSim
Topic: calcAngularMomentum() functionality
Replies: 2
Views: 481

Re: calcAngularMomentum() functionality

Hello Anushka, For each frame of your walking data you need to set each of your model's coordinates positions [1] and speeds [2] using your IK data. As an example: model.getCoordinateSet.get('coordinate_X').setValue(state,position_data(frame_i, coordinate_X_index); model.getCoordinateSet.get('coordi...
by Nicos Haralabidis
Fri Jul 12, 2024 10:55 am
Forum: OpenSim
Topic: Calculate the transformation matrices in a specific pose using MATLAB
Replies: 3
Views: 1659

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

Hey Rodrigo! Hope you are well! After you have set the relevant state information and realized to the necessary stage you can extract the Transform as follows: bodySet = model.getBodySet(); body1 = bodySet.get('your_body'); body1Transform = body1.getTransformInGround(state); if you then want the rot...
by Nicos Haralabidis
Fri Jun 14, 2024 10:28 am
Forum: OpenSim
Topic: Handling Data from 5 Force Plates
Replies: 8
Views: 2816

Re: Handling Data from 5 Force Plates

Hey Ali,

It looks to me as though you haven't updated the number of columns to reflect 5 force plates worth of data... it is currently at nColumns=19... time + 2*9 force plate signals... I think in your case it should be time + 5*9 - so 46.

Hope that helps.

Nicos