Search found 204 matches
- Thu Jan 16, 2025 10:56 pm
- Forum: OpenSim
- Topic: Obtaining body rotation matrices in a loop
- Replies: 3
- Views: 1148
Re: Obtaining body rotation matrices in a loop
Hey Mohsen, Before realizing to the position stage you need to set the states (coordinates in this case) for each time frame, currently you are only extracting them from your *.mot file. Take a look at the following methods: https://simtk.org/api_docs/opensim/api_docs/classOpenSim_1_1Component.html#...
- Wed Jan 15, 2025 4:26 pm
- Forum: OpenSim
- Topic: Linear Movement of a Ball
- Replies: 4
- Views: 183
Re: Linear Movement of a Ball
Hello Kardelen, To set the state variables for a coordinate you would do something as follows (roughly): model = Model(); state = model.initSystem(); X = [1 0]; % getting the 0th coordinate in the model, setting its value and speed model.getCoordinateSet.get(0).setValue(state,X(1)); model.getCoordin...
- Tue Jan 14, 2025 10:52 pm
- Forum: OpenSim
- Topic: system accelerations vector:
- Replies: 2
- Views: 164
Re: system accelerations vector:
Hey Musa,
I think before:
you need to include:
Hopefully that works!
Nicos
I think before:
Code: Select all
act->setOverrideActuation(state, -jTorques[i]);
Code: Select all
act->overrideActuation(state,1);
Nicos
- Tue Jan 14, 2025 12:18 pm
- Forum: OpenSim
- Topic: Inverse Dynamics top-down approach
- Replies: 2
- Views: 230
Re: Inverse Dynamics top-down approach
Hello Alexander, Here are a couple of articles that fairly recently touched upon the points you raised in your post (hopefully they help!): [1] https://link.springer.com/article/10.1007/s11044-021-09808-7 [2] https://www.sciencedirect.com/science/article/abs/pii/S0021929024003087 [3] https://link.sp...
- Tue Jan 14, 2025 12:07 pm
- Forum: OpenSim
- Topic: Linear Movement of a Ball
- Replies: 4
- Views: 183
Re: Linear Movement of a Ball
Hello Kardelen, What are you exactly trying to do? You want to apply a force with a controller to a rigid body and move it along a particular coordinate? Have you tried looking at the C++ examples for optimizing the controls of the arm_26.osim model? You could potentially also take some inspiration ...
- Thu Dec 26, 2024 8:20 pm
- Forum: OpenSim
- Topic: Discrepancy Between Calculated Muscle Forces and Static Optimization Results
- Replies: 4
- Views: 506
Re: Discrepancy Between Calculated Muscle Forces and Static Optimization Results
Hello Huhu, How are you calculating the coordinate speeds when you manually try to calculate muscle forces? Perhaps differences between your coordinate speeds and those calculated by the static optimization tool differ (impacting the force-velocity multiplier) which may explain the differences you o...
- Thu Dec 26, 2024 8:10 pm
- Forum: OpenSim
- Topic: subject orientation
- Replies: 2
- Views: 310
Re: subject orientation
Hello Mahshida,
Have you tried previewing your experimental marker data to see if it is as you expect?
Thanks,
Nicos
Have you tried previewing your experimental marker data to see if it is as you expect?
Thanks,
Nicos
- Thu Dec 05, 2024 10:22 am
- Forum: OpenSim
- Topic: Inverse Dynamics with and without COP
- Replies: 2
- Views: 595
Re: Inverse Dynamics with and without COP
Hello Mohammadreza,
Would you mind sharing the files you used to generate these results?
Thanks,
Nicos
Would you mind sharing the files you used to generate these results?
Thanks,
Nicos
- Mon Oct 21, 2024 8:31 pm
- Forum: OpenSim
- Topic: Hip joint center gait 2392 model
- Replies: 2
- Views: 536
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
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
- Mon Oct 07, 2024 9:39 am
- Forum: OpenSim
- Topic: Model question: extended Rajagopal with ligaments
- Replies: 2
- Views: 570
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...