Search found 399 matches

by Mohammadreza Rezaie
Fri Sep 20, 2024 12:31 am
Forum: OpenSim
Topic: Error when running AnalyzeTool using Python
Replies: 1
Views: 160

Re: Error when running AnalyzeTool using Python

Hi, I just tested your minimum working example in IPython console (py10, osim4.5.1), and it works. Your motion seems to be a static pose, and I think that's why you set the final time to zero as well. The warnings suggest that the motion file doesn't contain all coordinates. Some people have reporte...
by Mohammadreza Rezaie
Wed Sep 11, 2024 11:58 pm
Forum: OpenSim
Topic: static optimization with one force plate
Replies: 2
Views: 207

Re: static optimization with one force plate

Hi, if I understand correctly, you are asking about whether the pipeline is ok when there is only one force plate.
Yes, that's totally fine, and the outputs of ID, SO, and JR of the leg the GRF has been applied to are still valid.
Hope this helps.
by Mohammadreza Rezaie
Wed Sep 11, 2024 11:47 pm
Forum: OpenSim
Topic: Rotating the Model and .mot File for a 90 degrees Rotation
Replies: 1
Views: 151

Re: Rotating the Model and .mot File for a 90 degrees Rotation

Hi, you can rotate/translate the model through pelvis coordinates (some adjustments in range of motion or unclamping the coordinates might be required): https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim/pages/53089256/Coordinate+Controls+and+Poses#CoordinateControlsandPoses-CoordinateContr...
by Mohammadreza Rezaie
Sat Sep 07, 2024 11:25 pm
Forum: OpenSim
Topic: calcAngularMomentum() functionality
Replies: 2
Views: 237

Re: calcAngularMomentum() functionality

Hi, it might be out of the scope of this post; you can also get angular momentum through OutputReporter.
An example in GUI can be found here: https://opensimconfluence.atlassian.net ... Simulation
by Mohammadreza Rezaie
Tue Sep 03, 2024 8:02 am
Forum: OpenSim
Topic: Moment arm calculation of OpenSim
Replies: 4
Views: 324

Re: Moment arm calculation of OpenSim

Thanks a lot for the correction. I wonder why there is no corrigendum for that paper.
by Mohammadreza Rezaie
Tue Sep 03, 2024 5:18 am
Forum: OpenSim
Topic: Moment arm calculation of OpenSim
Replies: 4
Views: 324

Re: Moment arm calculation of OpenSim

Hi, the following paper and the MATLAB example might help: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4404026/ https://github.com/opensim-org/opensim-core/blob/main/Bindings/Java/Matlab/examples/plotMuscleFLCurves.m You can also search for MomentArmSolver and the relevant methods in the source cod...
by Mohammadreza Rezaie
Tue Aug 27, 2024 12:29 am
Forum: OpenSim
Topic: Double Peak GRF's When Using A contact Model
Replies: 1
Views: 254

Re: Double Peak GRF's When Using A contact Model

Hi, you might need to add a MocoContactTrackingGoal to your problem. An example can be found in the example2DWalking.
by Mohammadreza Rezaie
Sat Aug 17, 2024 3:45 am
Forum: OpenSim
Topic: MocoTrack noisy actuators controls
Replies: 4
Views: 510

Re: MocoTrack noisy actuators controls

If you have large residuals in ID, then it is unlikely that you will be able to achieve fully smooth controls by tracking the markers and GRFs tightly. Since you are enforcing the residuals to be small, the dynamic inconsistencies have to be made up somewhere. This is indeed a nice justification. I...
by Mohammadreza Rezaie
Thu Aug 15, 2024 5:09 pm
Forum: OpenSim
Topic: MocoTrack noisy actuators controls
Replies: 4
Views: 510

Re: MocoTrack noisy actuators controls

Hi Nick, thanks a lot for your response. The residual forces/moments in ID are huge (<380N, <50Nm). However, I don't want the simulated joints moments match the ID output. I just want actuators control to be smooth and natural (without spikes) given that the kinematics and GRF look good. I just foun...
by Mohammadreza Rezaie
Tue Aug 13, 2024 8:10 am
Forum: OpenSim
Topic: MocoTrack noisy actuators controls
Replies: 4
Views: 510

MocoTrack noisy actuators controls

Hi, I'm aiming to run a torque-driven marker + contact tracking simulation with weak [1N(m)] residual and strong [200N(m)] reserve actuators. The simulations converged successfully, and the markers and GRF were tracked well with the max abs residual actuation of 0.01 N(m). However, the actuators con...