Hi,
I'm trying to get the knee joint location relative to femur in Matlab. In OpenSim 3.3 I could use code "getLocationInParent" in the Joint Class to get that relative location, but I couldn't find this code in OpenSim 4.1. Where can I find that location?
Best regards
Get Joint Location in Matlab
- Jiajie Qiu
- Posts: 1
- Joined: Tue Sep 22, 2020 12:18 am
- Anne Koelewijn
- Posts: 14
- Joined: Tue Aug 26, 2014 6:42 am
Re: Get Joint Location in Matlab
Hi,
I actually have the same question, though related to the function "setLocationInParent". Previously I could use this function to change the location of a joint, but now I get an error, and also using the MATLAB option methodsview(), I cannot find it.
Kind regards,
Anne
I actually have the same question, though related to the function "setLocationInParent". Previously I could use this function to change the location of a joint, but now I get an error, and also using the MATLAB option methodsview(), I cannot find it.
Kind regards,
Anne
- Anne Koelewijn
- Posts: 14
- Joined: Tue Aug 26, 2014 6:42 am
Re: Get Joint Location in Matlab
Hi,
I think your problem might be solved with line 63-66 here:
https://github.com/dasproject/DAS3/blob ... readosim.m
Kind regards,
Anne
I think your problem might be solved with line 63-66 here:
https://github.com/dasproject/DAS3/blob ... readosim.m
Kind regards,
Anne