Search found 410 matches

by Mohammadreza Rezaie
Thu Dec 05, 2024 10:41 am
Forum: OpenSim
Topic: Inverse Dynamics with and without COP
Replies: 2
Views: 140

Re: Inverse Dynamics with and without COP

Hi Nicos, please find the attached files:
Trial1_FPOrigin.zip
(448.77 KiB) Downloaded 1 time
Trial1_COP.zip
(538.73 KiB) Downloaded 1 time
Thanks
by Mohammadreza Rezaie
Wed Dec 04, 2024 4:32 am
Forum: OpenSim
Topic: Inverse Dynamics with and without COP
Replies: 2
Views: 140

Inverse Dynamics with and without COP

Hi, this might be a stupid question. I created the GRF file with ForceLocation set to zero (forceplate origin) and one (COP). This is the output which makes sense: COP.png Then I executed Inverse Dynamics for each file. My question is why the outputs are exactly identical? Moment.png It seems that t...
by Mohammadreza Rezaie
Sun Dec 01, 2024 4:35 am
Forum: OpenSim
Topic: Issues related to IAA
Replies: 6
Views: 695

Re: Issues related to IAA

Hi, this is a bug, I posted it on the GitHub page for the record: https://github.com/opensim-org/opensim-gui/issues/1529 Must wait until the developers fix it. In the meantime, there is a workaround for this bug: After creating the XML analyze tool through API, a simple code can be used to replace t...
by Mohammadreza Rezaie
Wed Oct 23, 2024 9:06 am
Forum: OpenSim
Topic: Adding via points programmatically to path spring
Replies: 2
Views: 353

Re: Adding via points programmatically to path spring

Hi, once you created your via point through ConditionalPathPoint object, you can add it to the PathSpring as follows:

Code: Select all

via = ConditionalPathPoint()
via.setName('via')
...
syringeActuator.getGeometryPath().getPathPointSet().cloneAndAppend(via)
Hope this helps.
by Mohammadreza Rezaie
Wed Oct 23, 2024 8:25 am
Forum: OpenSim
Topic: Checking Reserve Actuator Activity
Replies: 1
Views: 344

Re: Checking Reserve Actuator Activity

Hi, the names of the reserve actuators are specified in your actuator file, or in your model's forceset. Here is an example of an actuators file in Rajagopal2016 model: https://github.com/opensim-org/opensim-models/blob/c62c24b0da1f89178335cf10f646a39c90d15580/Pipelines/Rajagopal/CMC/walk/cmc_actuat...
by Mohammadreza Rezaie
Wed Oct 23, 2024 7:49 am
Forum: OpenSim
Topic: Ho to process the data faster by iktool
Replies: 2
Views: 326

Re: Ho to process the data faster by iktool

Hi, depending on your problem, OpenSim finds the best optimizer. Please see: https://simtk.org/plugins/phpBB/viewtopicPhpbb.php?f=91&t=3854&p=0&start=0&view=&sid=77b9299bc1a4dc42ad43083b9c27d6be In my experience, if you omit the constraints from your model, the problem will be solved much faster. Th...
by Mohammadreza Rezaie
Tue Oct 15, 2024 10:09 pm
Forum: OpenSim
Topic: Property 'GeometryPath' not present in Object glmed1_r
Replies: 1
Views: 269

Re: Property 'GeometryPath' not present in Object glmed1_r

Hi, this issue has been fixed in the dev version: https://github.com/opensim-org/opensim-gui/issues/1494

You can either wait for the next official release, or try the most recent artifact via: https://github.com/opensim-org/opensim- ... ldartifact

Hope this helps.
by Mohammadreza Rezaie
Tue Oct 15, 2024 10:02 pm
Forum: OpenSim
Topic: Residual Reduction Algorithm, Tracking Tasks
Replies: 4
Views: 585

Re: Residual Reduction Algorithm, Tracking Tasks

Hi, sorry for brevity. Free coordinates are independent without any constraint, so the optimizer can change their values. The Coordinate::isConstrained method could help you find them; for example in Python: import opensim as osim model = osim.Model('Rajagopal2016.osim') state = model.initSystem() f...
by Mohammadreza Rezaie
Tue Oct 15, 2024 12:01 am
Forum: OpenSim
Topic: Residual Reduction Algorithm, Tracking Tasks
Replies: 4
Views: 585

Re: Residual Reduction Algorithm, Tracking Tasks

Hi, you need a tracking task for every free coordinate. The issue might also be your actuator file. Similarly, in RRA you need a strong coordinate actuator for every free coordinate, but weak residual actuator for pelvis coordinates.
(weld and locked coordinates must be excluded)

Hope this helps.
by Mohammadreza Rezaie
Thu Oct 03, 2024 1:02 am
Forum: OpenSim
Topic: Hip joint center calculation in gait2392, where is the default hip joint center located?
Replies: 2
Views: 383

Re: Hip joint center calculation in gait2392, where is the default hip joint center located?

Hi, the hip joint center is located in the center of the femoral head. This is also the origin of the femur geometry. So, just create a new marker, change the frame to femur_r and set the location to zero:
HJC.png
HJC.png (4.44 KiB) Viewed 332 times
Hope this helps.