Search found 7 matches

by Junnan Li
Thu Sep 05, 2024 1:37 am
Forum: OpenSim
Topic: Moment arm calculation of OpenSim
Replies: 4
Views: 630

Re: Moment arm calculation of OpenSim

Hi Mohammadreza, Thanks for the recommendation of the paper. I have also checked the paper, and I agree with Ton van den Bogert's point that according to the virtual work principle, equation 3 should be correct. I also notice that they have mentioned the analytical expression of the dl/dq is hard to...
by Junnan Li
Sun Sep 01, 2024 8:17 am
Forum: OpenSim
Topic: Moment arm calculation of OpenSim
Replies: 4
Views: 630

Moment arm calculation of OpenSim

Hi community, I am curious about how the OpenSim calculates the moment arm of muscles with wrapping surfaces. I somehow can not find the code or specific paper that mentioned a bit more details. Could someone guide me to the code or paper that may help me find it out? Thanks Best regard, Junnan Li
by Junnan Li
Wed Jun 19, 2024 3:42 am
Forum: OpenSim
Topic: Export osim model to urdf or other models
Replies: 0
Views: 420

Export osim model to urdf or other models

Hi all,

I am wondering if there is a tool/function that can convert an osim model to a urdf model? maybe only the kinematic and inertia properties excluding the muscles and constraints.

Best,
Junnan
by Junnan Li
Thu May 30, 2024 11:58 am
Forum: OpenSim
Topic: forward kinematics (jacobian) calculation and muscle jacobian (muscle moment arm) calculation
Replies: 1
Views: 835

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

Hi, as I understand, you are able to extract the Jacobian from Simbody. To truncate the full Jacibian matrix, you only need to know the column indexes of the coordinates that you are forcing. Check out the function Model.getCoordinateNamesInMultibodyTreeOrder to get the correct order of coordinates ...
by Junnan Li
Wed May 29, 2024 2:48 am
Forum: OpenSim
Topic: Jacobian matrix derived from SimbodyMatterSubsystem
Replies: 2
Views: 1097

Re: Jacobian matrix derived from SimbodyMatterSubsystem

Great! this is exactly the function that i am looking for. I have another problem regarding the coordinate setting. As I understand, once I create a joint to connect two adjacent bodies, I can define (or not define) the associated coordinates of that joint. The defined coordinates and their velocity...
by Junnan Li
Tue May 28, 2024 7:17 am
Forum: OpenSim
Topic: Jacobian matrix derived from SimbodyMatterSubsystem
Replies: 2
Views: 1097

Jacobian matrix derived from SimbodyMatterSubsystem

Hi everyone, I have a problem when I use 'calcFrameJacobian()' to calculate the Jacobian matrix in MATLAB API. It seems that the coordinate indexes from the CoordinateSet are different from those of the SimbodyMatterSubsystem. For example, I import a hand model with all fingers and calculate the Jac...
by Junnan Li
Mon May 31, 2021 8:34 am
Forum: OpenSim
Topic: Matlab crashes when run a script with ConditionalPathPoint()
Replies: 1
Views: 474

Matlab crashes when run a script with ConditionalPathPoint()

I write a script to build a hand model using the Conditional Path Point (ConditionalPathPoint()). It runs ok at the first time but crashes without any reports when it runs again. I presume it is caused by the JAVA memory limit or something. Is it possible to build conditional path point without usin...