Search found 50 matches
- Tue Sep 26, 2023 1:15 am
- Forum: OpenSim
- Topic: GRF not being applied correctly to Inverse Dynamics in Python
- Replies: 6
- Views: 577
GRF not being applied correctly to Inverse Dynamics in Python
Hello OpenSim Community, I am trying to implement inverse dynamics in Python. I am using the full body model developed by Rajagopal and their dataset from which I am taking the kinematics and the GRF. So below is the code I use to run ID import opensim as osim mydata = pd.read_excel("ik_output_walk....
- Tue Jul 11, 2023 2:57 am
- Forum: OpenSim
- Topic: Calculate ID moments for a constrained system
- Replies: 0
- Views: 124
Calculate ID moments for a constrained system
Hello, I am working on the full body model developed by Rajagopal et al. I have locked all DoFs except the elbow and shoulder DoFs. However when I calculate the moments using the ID solver in my python code, I do not get elbow and shoulder moments large enough to follow the desired kinematics. Kindl...
- Mon May 01, 2023 2:03 am
- Forum: OpenSim
- Topic: Manual Implementation of Force velocity multiplier
- Replies: 0
- Views: 135
Manual Implementation of Force velocity multiplier
Hello, I have implemented force velocity multiplier of Thelen muscle model referring to both Complete description by Chand John and the updated code Thelen2003Muscle.cpp: https://github.com/opensim-org/opensim-core/blob/2fc6dc1d23734f3b5f8d58c3b3833871e756c675/OpenSim/Actuators/Thelen2003Muscle.cpp ...
- Wed Apr 05, 2023 6:22 am
- Forum: OpenSim
- Topic: Difference between Inverse Dynamics torque and forward dynamics torque
- Replies: 0
- Views: 142
Difference between Inverse Dynamics torque and forward dynamics torque
Hi, I am calculating Inverse Dynamics torque at the elbow using the Opensim ID solver and then using this torque to calculate the muscle activations in arm26 model using a python script. I then calculate the FD torque (summing up both active and passive muscles torque), however the torques from ID a...
- Fri Jan 13, 2023 4:25 am
- Forum: OpenSim
- Topic: Speeding up the FD calculations
- Replies: 3
- Views: 495
Re: Speeding up the FD calculations
Thank you, Samuele and Ayman for your replies. Much appreciate your help.
Regards,
Shivangi
Regards,
Shivangi
- Fri Jan 06, 2023 4:05 am
- Forum: OpenSim
- Topic: MATLAB OpenSim indexing
- Replies: 2
- Views: 291
Re: MATLAB OpenSim indexing
Thank you, Ayman for your reply.
Regards,
Shivangi
Regards,
Shivangi
- Mon Jan 02, 2023 1:17 am
- Forum: OpenSim
- Topic: MATLAB OpenSim indexing
- Replies: 2
- Views: 291
MATLAB OpenSim indexing
Hello, OpenSim indexes start from 0 whereas MATLAB's start from 1, however in the examples provided with OpenSim package (like createActuatorsFile.m), the index starts from 0. Kindly let me know how to achieve this. Because whenever I start indexing with 0 in my MATLAB code usign OpenSim libraries I...
- Mon Dec 26, 2022 4:35 am
- Forum: OpenSim
- Topic: MATLAB crash when computing forward dynamics
- Replies: 10
- Views: 1394
Re: MATLAB crash when computing forward dynamics
Hello Elena,
were you able to solve your issue?
Regards,
Shivangi
were you able to solve your issue?
Regards,
Shivangi
- Sun Dec 25, 2022 6:06 am
- Forum: OpenSim
- Topic: MATLAB crashes when integration using manager done in a child function and not in the main body
- Replies: 0
- Views: 85
MATLAB crashes when integration using manager done in a child function and not in the main body
Hello, I am passing the current state of the model into a function to get updated after integration using the Manager. However when I get the updated state being called in the consecutive part of the main code, MATLAB crashes. Should I create a handle to the state before passing it into a child func...
- Mon Dec 19, 2022 1:39 am
- Forum: OpenSim
- Topic: Speeding up the FD calculations
- Replies: 3
- Views: 495
Speeding up the FD calculations
Hello, I have a MATLAB code that takes 12 mins to execute. I have to reduce it to less than a minute. However, I am not sure which parallel computing technique is compatible with OpenSim. Since the integration in the manager takes 80% of the execution time, I was thinking if I can pass this part of ...