Search found 3 matches

by Hongyuan Chen
Thu Jun 27, 2024 7:25 pm
Forum: OpenSim
Topic: Cannot lock the joint using Python API with Opensim 4.5
Replies: 2
Views: 159

Re: Cannot lock the joint using Python API with Opensim 4.5

Thank you very much for your response. As a first-time user of the OpenSim API, I'm not yet clear on all the differences. I tried what you suggested, and it turns out that setValue only changes the current state, having no effect in the InverseKinematicsTool(). However, using set_default_value() and...
by Hongyuan Chen
Thu Jun 27, 2024 6:58 am
Forum: OpenSim
Topic: Cannot lock the joint using Python API with Opensim 4.5
Replies: 2
Views: 159

Cannot lock the joint using Python API with Opensim 4.5

I attempted to use the Python API to achieve the functionality of locking certain values in the Coordinates section within OpenSim. The overall code is shown below. In Python, I first perform IK on the first 50 data points to obtain the mean values, then I lock the trunk coordinates (such as 'r_x', ...
by Hongyuan Chen
Mon May 27, 2024 10:55 pm
Forum: OpenSim
Topic: forward kinematics (jacobian) calculation and muscle jacobian (muscle moment arm) calculation
Replies: 1
Views: 521

forward kinematics (jacobian) calculation and muscle jacobian (muscle moment arm) calculation

Hello, I am new to OpenSim and SimTK and I am trying to use upper extremity dynamic model to simulate human movements and get two matrixes ( Jacobian J and muscle Jacobian Jm). The Jacobian is a matrix of partial derivates that relates small end-effector (hand) velocity V with small joint angle chan...