Search found 5 matches

by Junnan Li
Wed Jun 19, 2024 3:42 am
Forum: OpenSim
Topic: Export osim model to urdf or other models
Replies: 0
Views: 162

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: 567

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: 617

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: 617

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: 343

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...