edit joint within osim

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Y L
Posts: 3
Joined: Wed Sep 03, 2008 7:58 pm

edit joint within osim

Post by Y L » Tue Feb 08, 2022 5:15 pm

Hi, is there any scripting method that allows me to edit joint's orientation and location information for the parent and child wo creating a new joint? Cant seem to do this within the opensim matlab scripting methods.

I have also tried to do Tim's xml based matlab osim methods but when the editted osim keeps crashing when brought into opensim.

Any advice on either will help greatly. Thanks!

Tags:

User avatar
Carmichael Ong
Posts: 375
Joined: Fri Feb 24, 2012 11:50 am

Re: edit joint within osim

Post by Carmichael Ong » Fri Feb 11, 2022 11:49 am

Please see the doxygen documentation for Joint (note this is for version 3.3): https://simtk.org/api_docs/opensim/api_ ... Joint.html

Methods such as `setLocationInParent()`, `setOrientationInParent()`, and `setLocationInChild()` could be helpful for your case.

POST REPLY