Search found 50 matches

by Shivangi Giri
Thu Apr 25, 2024 5:07 am
Forum: OpenSim
Topic: Difference between Input and output controls file in Forward Dynamics (FD) Tool
Replies: 0
Views: 221

Difference between Input and output controls file in Forward Dynamics (FD) Tool

Hi, In order to run FD we provide CMC muscle controls and states. However can anyone please explain to me what does the output controls file exactly give after FD. I expected both input and output controls to be the same, but that is not the case. There is a drastic change between the two. Also is t...
by Shivangi Giri
Sat Nov 18, 2023 4:15 pm
Forum: OpenSim
Topic: Question regarding coordinates used to calculate walking ID torques
Replies: 0
Views: 132

Question regarding coordinates used to calculate walking ID torques

Hi, I am simulating walking on a gait model using opensim-python api. Now I calculate instantaneous torques depending on pose at that time and then using those torques to get muscle activations to drive the model to next pose after integration. My question is whether instantaneous torque be calculat...
by Shivangi Giri
Fri Nov 17, 2023 3:09 pm
Forum: OpenSim
Topic: Static Optimization using ID torques
Replies: 2
Views: 394

Re: Static Optimization using ID torques

Thank you again for your help Mohammadreza. So why is my foot sinking in the ground during forward dynamics? I have torque calculated at every instant from the ID solver which is then used to calculate muscle activations to drive the model to a new pose. But the model gets distorted. Will I have to ...
by Shivangi Giri
Fri Nov 17, 2023 12:45 pm
Forum: OpenSim
Topic: Static Optimization using ID torques
Replies: 2
Views: 394

Static Optimization using ID torques

Hi All, I am implementing static optimization to calculate muscle activations using ID torques during normal walking. I just wanted to clear one thing. The ID torques are calculated included the external loads (GRF). So when I calculate muscle activations do I need to implement the external loads ag...
by Shivangi Giri
Thu Nov 02, 2023 12:50 am
Forum: OpenSim
Topic: Coordinate Actuator Controls
Replies: 0
Views: 201

Coordinate Actuator Controls

Hi, I am using the Rajagopal model in a Python script and want to simulate walking. I have static optimization modelled for the muscles, however for pelvis and lumbar coordinates I need to have reserve actuators. So I have included coordinate actuators. Now I do not know what controls to provide to ...
by Shivangi Giri
Fri Oct 13, 2023 6:10 pm
Forum: OpenSim
Topic: GRF in FD model
Replies: 2
Views: 358

Re: GRF in FD model

Thank you for replying Mohammadreza. Yes I too was thinking on the same lines. However, I am trying to find a way to append reserve actuators in python api. I am not using the opensim toolboxes directly therefore I am not sure how I can pass reserves actuators and get my code to fetch the amount of ...
by Shivangi Giri
Thu Oct 12, 2023 4:21 am
Forum: OpenSim
Topic: GRF in FD model
Replies: 2
Views: 358

GRF in FD model

Hi, The pipeline I am following is that I calculate ID torque for each coordinate in the Rajagopal full body model and use the torques to calculate muscle excitations. For this I have two models. One (ID model) that has no muscles and is only use to calculate the ID torques. I have been able to succ...
by Shivangi Giri
Sun Oct 01, 2023 4:19 am
Forum: OpenSim
Topic: GRF not being applied correctly to Inverse Dynamics in Python
Replies: 6
Views: 575

Re: GRF not being applied correctly to Inverse Dynamics in Python

Ok got it. Thank you again, Mohammadreza.

Regards,
Shivangi
by Shivangi Giri
Sun Oct 01, 2023 1:43 am
Forum: OpenSim
Topic: GRF not being applied correctly to Inverse Dynamics in Python
Replies: 6
Views: 575

Re: GRF not being applied correctly to Inverse Dynamics in Python

Thank you very much Mohammadreza for your detailed answer. I was able to calculate the ID torques using the order you listed :D . Just one question, is it mandatory to set the time explicitly to model.setTime(time ) to make ID pull GRF at the required instances or does the ID solver take care of it ...
by Shivangi Giri
Fri Sep 29, 2023 1:44 pm
Forum: OpenSim
Topic: GRF not being applied correctly to Inverse Dynamics in Python
Replies: 6
Views: 575

Re: GRF not being applied correctly to Inverse Dynamics in Python

Thank you Mohammadreza, for your reply and suggestions. I have a question regarding your second point. Is multibody tree order different than coordinate set order? If yes, can you point me to a documentation link or example which can help me look up the multibody tree order. So far I have tried assi...